Hellihello
<frameset rows="50%,50%">
<frame name="topFrame" src="top.html">
<frame name="bottom" src="bottom.html">
</frameset>
top.html:
<a name="top">
<p>topcontent</p>
... ganz viel inhalt
<p>content</p>
... ganz viel inhalt
<p>bottomcontent</p>
<a name="bottom">
bottom.html:
<script type="text/javascript">
//<![CDATA[
function changeURL(newHref) {
parent.topFrame.location.href=newHref;
}
function goAnchor(anchorName) {
parent.topFrame.location.href="top.html#" + anchorName;
alert(parent.topFrame.location.href);
}
//]]>
</script>
<button onclick="changeURL('http://de.selfhtml.org')">changeURL('http://de.selfhtml.org')</button>
<button onclick="goAnchor('top')">goAnchor('top')</button>
<button onclick="goAnchor('bottom')">goAnchor('bottom')</button>
funzt.
Dank und Gruß,
frankx