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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi links connected to a single link

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i need to make it so my web page says cick "here" and the word here is linked to 2 or more pages, each which will opeon its own window.
what would the scripting be for that?
 
I'm not sure if this discussion board strips out HTML or not, so I'll post this twice. Whichever one looks like actual HTML is correct. Of course, if you want to conform to XHTML, you'll need to lowercase-ize all of the tags and attributes.

=========
<A HREF=&quot;javascript:void(null);&quot; onclick=&quot;win1=window.open(' 'win1'); win2=window.open(' 'win2');&quot;>here</A>
=========

If the above code fragment doesn't display, look below.

========
<A HREF=&quot;javascript:void(null);&quot; onclick=&quot;win1=window.open(' 'win1'); win2=window.open(' 'win2');&quot;>here</A>
========

If you have the Javascript reference, you can look up the ways to use the window.open() function to change the attributes of the window, such has hiding the navigation bar, or setting the size to a specific value.

Please let me know if this doesn't work for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top