"Jon Paris" <Jon.Paris=ROCRnNCNm7iItuTB8Jqodg@public.gmane.org> wrote in
message PJEBKKDJCLHGMJDACPMPEEKMCPAA.Jon.Paris@Partner400.com">news:PJEBKKDJCLHGMJDACPMPEEKMCPAA.Jon.Paris@Partner400.com...
> When someone clicks on a link I want to spawn a separate page and position
> to an embedded anchor within that page.  That bit I think I can do.
> However, if they refocus on the original page and click on a different
link,
> I want to position to the appropriate link in _the_same_ spawned page -
not
> create yet another one.  If I can do it without JavaScript that would be
> preferable but if not ....

You want to use a named target for your link ... the HTML would be something
like this:

<p><a href="page_2.htm#bm1" target="page2">link 1</a></p>
<p><a href="page_2.htm#bm2" target="page2">link 2</a></p>

When you click on link 1, it will launch a new browser and go to the
appropriate bookmark.

When you click on link 2, if the original browser is open it will use that
one, if it isn't it will open a new browser, then go to the specified
bookmark.

david






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.