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

Pop-up windows and bookmark 1

Status
Not open for further replies.

dominicgingras

Technical User
Jul 15, 2002
53
CA
How would somebody make a pop-up windows that open with a hyperlink and then go to a specific place in that new pop-up page.
 

try using the anchor tag...#

then when you call the page for that new window, just add the #taghere to it and the window will open the document to wherever the anchor 'taghere' is located.

hope it helps...

- spewn
 
Thank a lot!
Could you help me with the sintax of that anchor tag.
 
Use this in the pop-up script:
window.open('somepage.html#one', ...)

and in somepage.html you should have a such link:
<a name=&quot;one&quot;></a>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top