Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to create a pop up window to another site

Status
Not open for further replies.

eddiesshorts

Technical User
Apr 9, 2001
25
US
I'm using dreamweaver and I need to create a pop up window to a site for work. Not sure how to do this?? Any one out there that can help me with the code for the dreaded pop up window with a link??
Thanks a MILLION!!!!
 
You'll need Javascript, but be aware that Popup Blockers may indeed block it depending on the settings.


Code:
<a href="#" Onclick="window.open('[URL unfurl="true"]http://www.otherlocation.com',[/URL] 'name_of_window');">Click here to open a new window</a>

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
To force a document to open in a new window <HTML>

<a href="url" target="window">content</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top