|
I was wondering if anybody know how to make a graphic link from one frame
control the scroll of a page on another frame? I used to know how to do it, but I forgot.
Here's a javascript:
<script language="JavaScript"><!--
if (document.layers || document.all) {
document.write('<form>');
document.write('<input type="button" value="Up" onClick="parent.frame2.scrollBy(0,-100)">');
document.write('<input type="button" value="Down" onClick="parent.frame2.scrollBy(0,100)">');
document.write('<\/form>');
}
//--></script>
But instead of those buttons, I want it to be graphic... I'm pretty desperate... Can anyone help me?
|