frontpage question
#1
Scooby Regular
Thread Starter
Join Date: Aug 1999
Location: Stockport to Devon
Posts: 432
Likes: 0
Received 0 Likes
on
0 Posts
Is it possible to hyperlink to a pop up box in frontpage? The box needs to be about 350x350 pixels to show an enlargement of a small photo.
I need this box to pop up over the top of the open page, ie. not start a new page in the browser.
Deano
I need this box to pop up over the top of the open page, ie. not start a new page in the browser.
Deano
#2
put this in between your <head> tags:
<script>
function popup(url, width, height)
{
window.open(url,'popup','scrollbars=no,resizable=n o,width='+width+',height='+height);
}
</script>
and put this as your link:
<a href="javascript:;" onclick="popup('myimage.jpg', 350, 350); return false;">click here</a>
<script>
function popup(url, width, height)
{
window.open(url,'popup','scrollbars=no,resizable=n o,width='+width+',height='+height);
}
</script>
and put this as your link:
<a href="javascript:;" onclick="popup('myimage.jpg', 350, 350); return false;">click here</a>
Thread
Thread Starter
Forum
Replies
Last Post
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM