bacterozoid
12-01-2002, 12:13 AM
Alright, using JavaScript, I know how to target a link to another frame.
onClick="parent.framename.location='wherever.htm'"
Simple, but instead of telling it to load a document into the frame, I want it to load a page anchor. For one page, I would use this:
onClick="parent.framename.location='wherever.htm#top'"
Well, okie dokie, easy. The catch is that I want it to be a 'universal' link. Basically that whatever page is loaded into the frame, the link will add #top to the end of the URL, sending it to the specified anchor on that page. How do I go about doing this?
Thanks
onClick="parent.framename.location='wherever.htm'"
Simple, but instead of telling it to load a document into the frame, I want it to load a page anchor. For one page, I would use this:
onClick="parent.framename.location='wherever.htm#top'"
Well, okie dokie, easy. The catch is that I want it to be a 'universal' link. Basically that whatever page is loaded into the frame, the link will add #top to the end of the URL, sending it to the specified anchor on that page. How do I go about doing this?
Thanks