View Full Version : iframe and anchor link problem

08-21-2005, 12:27 AM
Ive got a named anchor ( <a name="hello"> ) in one of the pages (dates.html) in a site, which loads up inside an iframe (<iframe src="dates.htm" name="cat" id="cat" marginwidth="0" width="630" height="440" marginheight="0" SCROLLing="yes" frameborder="0" border="0">) on other page (bye.html).

What do I do to create a direct link from my index.htm, that loads up the page containing the anchor in the iframe?

What's the html/javascript code to do it?

I've tried in my index.html

<a href="dates.htm#hello" target="cat"> but it doesn't work.

I hope that's clear enough to understand.

Thanks in advance.