Log In · Register

 
 
Closed TopicStart new topic
Javascript Pop Up Image
YourSuperior
post Dec 31 2005, 10:58 PM
Post #1


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



What's the javascript code for an image to pop up in a new window like on this site, the image under pic of the month for january:

http://www.fake-reality.net/seniorforever/
 
talcumpowder
post Dec 31 2005, 11:04 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



CODE
<a href="#" onClick="window.open('something.gif','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=no, resizable=0, copyhistory=0, menuBar=0, width=500, height=400');return(false)">Click me.</a>
Her's is slightly different, but that will get you the same effect so it doesn't really matter. wink.gif At least it did when I tried it.
 
YourSuperior
post Dec 31 2005, 11:09 PM
Post #3


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



QUOTE(fishcake-y @ Dec 31 2005, 11:04 PM)
CODE
<a href="#" onClick="window.open('something.gif','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=no, resizable=0, copyhistory=0, menuBar=0, width=500, height=400');return(false)">Click me.</a>
Her's is slightly different, but that will get you the same effect so it doesn't really matter. wink.gif At least it did when I tried it.

*

Thanks Reili.
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: