scrolling frames
- Started
- Last post
- 5 Responses
- stewart
i need to scroll 2 horizontal frames with just one scrollbar.
can someone explain how to do this?
i've seen it before, something with a piece of javascript?
- blaw0
this for the same thing, but horizontal. in this case, the following code appears in the right frame, and scrolls the left with it. (hope the code pastes):
var theTop;
function ScrollMaster() {
if (document.documentElement && document.documentElement.scrollT... {
theTop = document.documentElement.scrollT...
} else {
theTop = document.body.scrollTop;
}
parent.frames["left"].scrollTo(0...
}
window.onscroll=function(){Scrol...
- blaw0
Check your mail.
- stewart0
hey! thanks. i'll give it a try today.
- stewart0
okay, this is the testresult:
http://www.kulsdom.com/newstoday…
it doesn't work on mac with IE5. only Netscape 7.
so, it doesn't seem to be cross-browser...
anyone with an alternative script?
- stewart0
*