
October 20th, 2003
04:37 AM
frame scrolling
how do i make it so they put there mouse over an image and it scrolls down the frame
window up or down :")_
___________________


October 20th, 2003
02:19 PM
online since 96
Status: Offline!
Originally posted by Irøñ Mäñ?
how do i make it so they put there mouse over an image and it scrolls down the frame
window up or down :")_
Hmm, do you mean like this: http://www.aljapaco.com/art/blue_face.html ????
1. A javascript that control the "arrows" on the outside page.
2. A script that controls the scrolling on the i-frame page...
Check the source, really quite simple 
___________________
...a post by Tobias from 

October 21st, 2003
03:05 AM
i duno
gime the actual code
pwease
___________________


October 21st, 2003
09:34 AM
online since 96
Status: Offline!
Originally posted by Irøñ Mäñ?
i duno
gime the actual code
pwease
suuure, why not!? "View source" can be a pain some times :confused:
This goes in the main window:
<a href="#" onMouseOver=scrollspeed=-3 onMouseOut=scrollspeed=0 title="Scroll up">Scroll Up"</a>
<a href="#" onMouseOver=scrollspeed=3 onMouseOut=scrollspeed=0 title="Scroll down">Scroll Down</a>
<iframe id="datatop" src="inner.html" width="375" height="121" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="auto">
Your browser is too old to support I-frames. change to a newer version of Netscape, Explorer, Mozilla, Opera eller Crazy Browser</iframe>
This goes at the bottom of the i-frame!!
<script type="text/javascript"><!--
var speed, currentpos=curpos1=0,alt=1,curpos2=-1
function initialize(){
if (window.parent.scrollspeed!=0){
speed=window.parent.scrollspeed
scrollwindow()
}
}
function scrollwindow(){
temp=(document.all)? document.body.scrollTop : window.pageYOffset
alt=(alt==0)? 1 : 0
if (alt==0)
curpos1=temp
else
curpos2=temp
window.scrollBy(0,speed)
}
setInterval("initialize()",10)
--></script>
Best of luck oh rusty one 
___________________
...a post by Tobias from 

October 25th, 2003
12:56 AM
THANKS HOMIE
i tried view source but i was like AHHHHHHHHHHHHHHHHHH *grabs asperine* :mad: !!!!! so thanks man 
___________________


October 25th, 2003
01:50 AM
Neverside Newbie
Status: Offline!

October 26th, 2003
03:45 PM
online since 96
Status: Offline!
Originally posted by Irøñ Mäñ?
THANKS HOMIE
i tried view source but i was like AHHHHHHHHHHHHHHHHHH *grabs asperine* :mad: !!!!! so thanks man
Great that it worked for ya man 
___________________
...a post by Tobias from 