TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Pop up windows that close on clicks

Page: 1 Reply
Mar 20th 2002#36685 Report
Member since: Dec 4th 2001
Posts: 171
I was wondering how I would I can make pop up windows that close when you click on them like http://www.minitruckinweb.com/archives/features/0502_feature02.shtml

cause I have a bunch of show pics,so also keep in mind I have like 12 pics per page alot,and will need to do it to all the pics.
Reply with Quote Reply
Mar 20th 2002#36687 Report
Member since: Mar 18th 2001
Posts: 1452
Just make the image a link, and use a javascript event:

<a href="#" onclick="javascript:window.close()"><img src="yourimage.jpg" border="0"></a>

That's all they're doing.
Reply with Quote Reply
Mar 20th 2002#36689 Report
Member since: Dec 4th 2001
Posts: 171
Still doesnt work for me. It keeps on saying do you want to close the window and the thumbnail wont work. Do I need to add something in the header or something?
Reply with Quote Reply
Mar 20th 2002#36690 Report
Member since: Mar 20th 2001
Posts: 3367
if the window is opened by a javascript pop up, then that message will not appear. It will only appear if its a main window with all the Menus and all..
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum