This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2005 > How do I Create a Link to Close a Window





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do I Create a Link to Close a Window
Genners

2005-03-10, 6:35 pm

Never done this before - I'm sure it's something simple - can anyone help? Thanks!
dan mode

2005-03-10, 6:35 pm

<table>

<a href="java script:window.close();">Close This Window</a>


</table>
:)

--

Dan
blah blah lengthy signatures rule
*BLOG* my blog http://www.smithfamilynewsletter.org/blog/newsMain.html
(yes, that is flash folks)
Alt+F+X
__
"Genners" <webforumsuser@macromedia.com> wrote in message
news:d0qeo1$7b0$1@forums.macromedia.com...
> Never done this before - I'm sure it's something simple - can anyone help?

Thanks!


Michael Fesser

2005-03-10, 11:18 pm

.oO(dan mode)

>or in a form
>
><form>
><input type=button value="Close Window"
>onClick="java script:window.close();">
></form>


.... which is invalid code and kind of abuse of the form element ...

Micha
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews