467,188 Members | 1,409 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,188 developers. It's quick & easy.

Marquee and jScript

Hi,

Can i dynamically change the direction (through javaScript) of a marquee ???

E.g.:
===
<marquee id = 'newsScroll' name = 'newsScroll' direction = 'down'
scrollamount = '1' scrolldelay = '1' onmouseover='this.stop()'
onmouseout='this.start()'>
some texts here...
some texts here...
some texts here...
</marquee>

<br><br><br>

<a href="javascript: scrollUp();"><img src="scroll-up.gif"></a><br>
<a href="javascript: scrollStop();"><"><img src="scroll-stop.gif"></a><br>
<a href="javascript: scrollDown();"><"><img src="scroll-down.gif"></a>

<script language="JavaScript" type="text/JavaScript">
function scrollUp()
{
document.getElementById(newsScroll).direction = 'up';
}

function scrollStop()
{
document.getElementById(newsScroll).stop();
}

function scrollDown()
{
document.getElementById(newsScroll).direction = 'down';
}
</script>

This does not work.
Any solutions / tutorials please..

Thanks,
Nadim Attari
Jul 23 '05 #1
  • viewed: 2285
Share:
3 Replies
Nadim Attari wrote:
Hi,

Can i dynamically change the direction (through javaScript) of a marquee ???

Why don't you check the Microsoft site?

http://msdn.microsoft.com/workshop/a...ts/marquee.asp

Mick
Jul 23 '05 #2
> Why don't you check the Microsoft site?

http://msdn.microsoft.com/workshop/a...ts/marquee.asp
Mick


Thx !
Jul 23 '05 #3
Mick White wrote:
Nadim Attari wrote:
Can i dynamically change the direction (through javaScript) of a marquee ???

Why don't you check the Microsoft site?
[...]


Why does he/she not drop the whole invalid marquee nonsense?
PointedEars
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jo_Calico | last post: by
1 post views Thread by Sketcher | last post: by
15 posts views Thread by charlie fortune | last post: by
56 posts views Thread by Ed Jay | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.