Alexander Foken: anker links und frames

Beitrag lesen

Moin Moin !

<a href="test.html" target="main" onMouseover="top.info2.document.anchors[1]">TEST</a><br>

Tja, das geht wohl so nicht: Das anchor-Objekt hat laut SelfHTML keinerlei Methoden, so wie das onMouseOver da steht, ist es nur ein Objekt.

Wahrscheinlich mußt Du anchors[1].y (und evtl. auch .x) benutzen, um mit top.info2.scrollTo() dorthin scrollen.

Probier mal sowas wie top.info2.scrollTo(top.info2.document.anchors[1].x,top.info2.document.anchors[1].y) als onMouseover-Handler.

Alexander

--
Nein, ich beantworte keine Fragen per eMail. Dafür ist das Forum da.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so!"
Mein "Lieblings-Forums-Bug": http://cforum.teamone.de/phpbt/bug.php?op=show&bugid=103&pos=2