Web Design Forums
User Name :
Password :
Home
Register
FAQ
Members List
Search
Today's Posts
Mark Forums Read
DesignersTalk
>
Design Forums
>
Web Design
> creating a link to close window
LinkBack
Thread Tools
Search this Thread
01-06-2008, 04:51
#
1
(
permalink
)
cgst81
Registered User
Join Date: Jun 2008
Posts: 1
creating a link to close window
How do I create a link to close an HTML window?
Thank
cgst81
View Public Profile
Send a private message to cgst81
Send email to cgst81
Find More Posts by cgst81
01-06-2008, 05:41
#
2
(
permalink
)
artsyguy
Web Designer
Join Date: May 2008
Location: Vancouver, BC
Posts: 17
<a href="javascript
:window.close();">Close</a>
artsyguy
View Public Profile
Send a private message to artsyguy
Send email to artsyguy
Visit artsyguy's homepage!
Find More Posts by artsyguy
01-06-2008, 12:32
#
3
(
permalink
)
pgo
Senior Member
Join Date: Jan 2005
Posts: 12,340
That's the easy way, yes, but it'd be better to separate your markup and behavior. Even going so far as to add the "close" link via the DOM instead of hard-coding it into your HTML.
pgo
View Public Profile
Find More Posts by pgo
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Contact Us
-
Web Design Forums
-
Archive
-
Top
Search Engine Optimization by
vBSEO
3.0.0 RC8
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Furl this Thread!