|
Jon Paris wrote:
Can anyone give me a hint as to how to do this. 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 ....
No need to use JavaScript: Just use the "target" attribute in the anchor tag. Two anchors with the same target name (other than one of the predefined target names) will open the link in the same new window. Here's a web page describing this in more detail: <http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html> Cheers! Hans
As an Amazon Associate we earn from qualifying purchases.
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.