Jump to content

Marquee Help


php?

Recommended Posts

Alrighty,

 

So obviously this is a marquee and when you scroll over it, it stops. When you scroll up on it, it fast forward... my problem is... How can i make it so that when you scroll down it goes in reverse?

 

<marquee height="350" width="600" onmouseover="this.stop()" onmouseout="this.start()" direction="up" 

scrollamount="2"><font size="2"><strong>

 

Look at mine: http://blitz.atwebpages.com/

Link to comment
https://forums.phpfreaks.com/topic/83023-marquee-help/
Share on other sites

like this?

 

<script language="javascript">
function MarDown()
{
document.getElementById('scroller').direction='down';
}
function MarUp()
{
document.getElementById('scroller').direction='up';
}
</script>

<marquee id="scroller" height="350" width="600" onmouseover="MarDown()" onmouseout="MarUp()" direction="up" scrollamount="2"><font size="2"><strong><hr><hr><hr><center>Welcome to Clan Blitz (CB)<img src="images/spacer2.bmp"><br> Clan Blitz website is in beta testing<br>Thank you for visiting.<hr><hr><hr></center></marquee>

Link to comment
https://forums.phpfreaks.com/topic/83023-marquee-help/#findComment-425697
Share on other sites

Well, all that does is make it scroll down when you hover over the marquee and then up when you stop. If you take a look at my old one you can see that you can move the mouse up, it sort of drags the marquee faster... what i want to add to that is if you move the mouse down it drags the marquee backwards and stops if you hover over the text. This would make it easier to read through everything.

Link to comment
https://forums.phpfreaks.com/topic/83023-marquee-help/#findComment-425754
Share on other sites

If you take a look at my old one you can see that you can move the mouse up, it sort of drags the marquee faster...

 

no it doesn't - it just looks like that because of the start() and stop() global functions interaction with the marquee.

 

what i want to add to that is if you move the mouse down

 

move the mouse down what? if your using stop() onmouseover; then the marquee will do just that; it will stop - it will not stop and move in a specific direction at the same time.

Link to comment
https://forums.phpfreaks.com/topic/83023-marquee-help/#findComment-425767
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.