Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

72 users online



frame scrolling

frame scrolling

Currently viewing this thread: 1 (0 members and 1 guests)


Ir_M

Ir_M

Status: Offline!

frame scrolling

how do i make it so they put there mouse over an image and it scrolls down the frame Smile window up or down :")_

___________________

http://aaotracker.4players.de/trackersig.php?userid=102887

AljapaCo

AljapaCo

online since 96
Status: Offline!
Quote:

Originally posted by Irøñ Mäñ?
how do i make it so they put there mouse over an image and it scrolls down the frame Smile 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 Smile

___________________

...a post by Tobias from http://www.alingsasju-jutsu.se/aljapaco.png

Ir_M

Ir_M

Status: Offline!

i duno Undecided gime the actual code Smile pwease

___________________

http://aaotracker.4players.de/trackersig.php?userid=102887

AljapaCo

AljapaCo

online since 96
Status: Offline!
Quote:

Originally posted by Irøñ Mäñ?
i duno Undecided gime the actual code Smile pwease


Roll Eyes suuure, why not!? "View source" can be a pain some times :confused:

This goes in the main window:

Code:


<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!!

Code:


<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 Tongue

___________________

...a post by Tobias from http://www.alingsasju-jutsu.se/aljapaco.png

Ir_M

Ir_M

Status: Offline!

THANKS HOMIE Smile i tried view source but i was like AHHHHHHHHHHHHHHHHHH *grabs asperine* :mad: !!!!! so thanks man Smile

___________________

http://aaotracker.4players.de/trackersig.php?userid=102887

freak

freak

Neverside Newbie
Status: Offline!

ypSimpleScroll is all you'll ever need.

// freak

___________________

Tables for layout is an abuse. -- Internet Explorer is unsafe.

Ir_M

Ir_M

Status: Offline!

:@

___________________

http://aaotracker.4players.de/trackersig.php?userid=102887

AljapaCo

AljapaCo

online since 96
Status: Offline!
Quote:

Originally posted by Irøñ Mäñ?
THANKS HOMIE Smile i tried view source but i was like AHHHHHHHHHHHHHHHHHH *grabs asperine* :mad: !!!!! so thanks man Smile

Great that it worked for ya man Wink

___________________

...a post by Tobias from http://www.alingsasju-jutsu.se/aljapaco.png

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0082 seconds.