PDA

View Full Version : Close window??



pucca
October 19th, 2004, 06:02 AM
Hi!

I've created a button in Dreamweaver and added a behavior to it. "Open Browser Window".... With no extra attributes... Can you create a button in that new window to close only that window? :h:

Pls help me!!!

eron19
October 19th, 2004, 06:16 AM
<.input type=button value="Close Window"
onClick="javascript:window.close();">



dont forget to remove the dot :rabbit:

[m]
October 19th, 2004, 11:55 AM
<nput type=button value="Close Window"
onClick="javascript:window.close();">



dont forget to remove the dot :rabbit:


Use [html] tags next time. :)