Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

frontpage question

Thread Tools
 
Search this Thread
 
Old 25 August 2003, 10:30 PM
  #1  
deano
Scooby Regular
Thread Starter
 
deano's Avatar
 
Join Date: Aug 1999
Location: Stockport to Devon
Posts: 432
Likes: 0
Received 0 Likes on 0 Posts
Post

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
Old 26 August 2003, 08:40 AM
  #2  
SJ_Skyline
Scooby Senior
 
SJ_Skyline's Avatar
 
Join Date: Apr 2002
Location: Limbo
Posts: 21,922
Likes: 0
Received 1 Like on 1 Post
Smile

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>

Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
slimwiltaz
General Technical
20
09 October 2015 07:40 PM
IanG1983
Wheels, Tyres & Brakes
2
06 October 2015 03:08 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
the shreksta
Other Marques
26
01 October 2015 02:30 PM



Quick Reply: frontpage question



All times are GMT +1. The time now is 02:58 AM.