I have what seems to be a strange situation. I have a page that uses an <iframe> to display the contents of a table in another page. The table is indexed using anchor tags. What happens is that when the parent page loads, every thing is fine (that is, the page loads properly and the frame shows the first entries in the table). The frame is located about 2/3 from the top of the monitor screen.
However, when I click on any of the anchors, the frame loads with the proper table entries, but the parent page jumps so that the iframe is at the top of the monitor screen. It only happens with IE and Safari. Firefox, Chrome and Opera work fine.
The parent page looks like this:
The page being loaded into the iframe looks like this:HTML Code:: html code : <a href="BookList.html#A" target="BookList">A</a> | <a href="BookList.html#B" target="BookList">B</a> | <a href="BookList.html#C" target="BookList">C</a> | : : <br> <table width="96%" border=0> <tr> <th width="31%"><b><font size=4>Title</font></b></th><th width="5%"><b><font size=4>Date</font></b></th><th width="22%"><b><font size=4>Author</font></b></th> </tr> </table> <iframe name="BookList" src="BookList.html" style="background: #FFFFFF;" width="98%" height="300"></iframe> : : more html code :
I've tried several of the suggested fixes, but none seem to work. Any suggestions would be appreciated.HTML Code:<body> <font face="Verdana"> <table width=100% border="0"> <tr><td colspan=3><a name="A"> </a></td></tr> <tr><td width="55%">1977 Handbook - American Political Items Collectors</td><td width="10%">1977</td><td>Crummet, Olson, Nichols, Albert</td></tr> <tr><td>A Button Collector's Second Journal 1ST ED SIGNED</td><td>1941</td><td>Lillian Smith Albert</td></tr> <tr><td>A Classification of Clear and Colored Glass Buttons</td><td>1969</td><td>Jane Ford Adams</td></tr> <tr><td>A Classification of Pearl and Shell Buttons</td><td>1971</td><td>Margaret F. Kelso</td></tr> <tr><td colspan="3"><a name="B"> </a></td></tr> <tr><td>Baubles, Buttons and Beads The Heritage of Bohemia</td><td>1993</td><td>Sibylle Jargstorf</td></tr> <tr><td>Beads & Buttons Number 5</td><td>1994</td><td></td></tr> <tr><td>Brass Roots</td><td>1952</td><td>Scovill Company</td></tr> : : </table> </body> </html>
Thanks.



Reply With Quote



Bookmarks