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

make image close a window

Page: 1 Reply
Mar 23rd 2003#96646 Report
Member since: Oct 10th 2002
Posts: 218
How do i make an image close a window. (website) I dunno if thats clear but. I mean like on a website i am making i want to be able to have a image that says "close" and when they click it it will close the window. how do i do that?

thanks in advanced
sold
Reply with Quote Reply
Mar 23rd 2003#96649 Report
Member since: Apr 20th 2002
Posts: 3000
I believe you add onClick="close.window()" in the <img> tag.
Reply with Quote Reply
Mar 24th 2003#96695 Report
Member since: Nov 26th 2001
Posts: 2586
window.close()
Reply with Quote Reply
Mar 24th 2003#96724 Report
Member since: Oct 10th 2002
Posts: 218
coo thanks
Reply with Quote Reply
Mar 24th 2003#96727 Report
Member since: Nov 26th 2001
Posts: 2586
< a href="javascript:window.close()" >< img src="......
Reply with Quote Reply
Mar 24th 2003#96733 Report
Member since: Oct 10th 2002
Posts: 218
OH thats how u do it. I jus thad it like this < a href="/" onClick="window.close()" >
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum