OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

quick way to add javascript "close window"?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> quick way to add javascript "close window"?
Page: [1]
 
 
yankeeblues

 

Posts: 24
Joined: 12/30/2001
From:
Status: offline

 
quick way to add javascript "close window"? - 3/11/2002 21:37:04   
Hi all. I am looking for a simple way to make an imagemap with a javascript "close" command for a popup box graphic. Thanks for your suggestions. I am having trouble adapting a close button or hyperlink script to the imagemap. Thanks.



Brad

 

Posts: 70
From: Ogden, UT, USA
Status: offline

 
RE: quick way to add javascript "close window"? - 3/12/2002 13:54:38   
You mean like this?

<form>
<input type="button" value="Close Window" onClick="window.close()">
</form>


 

(in reply to yankeeblues)
yankeeblues

 

Posts: 24
Joined: 12/30/2001
From:
Status: offline

 
RE: quick way to add javascript "close window"? - 3/12/2002 15:54:35   
well, sort of. But I wanted to tie the command to an imagemap (not button value which shows a button). What I finally figured out was simply to paste this tiny script into the "make hyperlink url" command prompt: javascript:window.close()

I was too lazy to code the imagemap by hand and find using the FP link prompt box faster anyway. So I made the imagemap with frontpage and when the link command appears, typed in the above.

Edited by - yankeeblues on 03/12/2002 15:56:47

(in reply to yankeeblues)
Page:   [1]

All Forums >> Web Development >> General Web Development >> quick way to add javascript "close window"?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts