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
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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.