1: function speedUp()
2: {
3: var obj = document.getElementByName("scrollers")
4:
5: for (i=0;i<=obj.Length -1;i++)
6: {
7: obj[i].scrollAmount = obj[i].scrollAmount * 3 - obj[i].scrollAmount
8: }
9: }
10:
11: function speedDown()
12: {
13: var obj = document.getElementByName("scrollers")
14:
15: for (i=0;i<=obj.Length -1;i++)
16: {
17: obj[i].scrollAmount = obj[i].scrollAmount * (10/7) - obj[i].scrollAmount
18: }
19: }
Tags: Dynamically-control-the-scroll-amount-of-marquee
Javascript | DHTML Tricks
Related posts
Comments
build muscle fast , on 9/20/2009 5:24:10 PM Said:
this sounds ridiculous, i may take a look further to check out the detailanyway, thanks
panini , on 9/26/2009 10:14:40 AM Said:
thanks for this one dude. you are great as always.
Giocare a poker gratis , on 10/6/2009 5:04:30 PM Said:
Awesome, this was a really quality post. In theory I'd like to write like this too - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get something done.
Fix Rundll32 Exe Error , on 10/15/2009 6:34:17 PM Said:
How to Fix Vista Startup Error , on 10/15/2009 6:34:48 PM Said:
this goes funny, i may get a look further to find out the detailanyway, thanks
Green Tea , on 11/1/2009 9:24:32 AM Said:
That is some inspirational stuff. Never knew that opinions could be this varied. Thanks for all the enthusiasm to offer such helpful information here.
sell gold coins Houston , on 11/2/2009 11:42:31 AM Said:
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.
Option Trading , on 11/4/2009 3:35:37 PM Said:
You may have not intended to do so, but I think you have managed to express the state of mind that a lot of people are in. The sense of wanting to help, but not knowing how or where, is something a lot of us are going through.
Song Lyrics , on 11/8/2009 9:32:32 PM Said:
Keep 'em coming... you all do such a great job at such Concepts... can't tell you how much I, for one appreciate all you do!
Linda Mirano , on 11/11/2009 1:05:49 PM Said:
You got a really useful blog I have been here reading for about an hour. I am a newbie and your success is very much an inspiration for me.
cocktail dresses , on 12/12/2009 1:14:38 AM Said:
I am a newbie and your success is very much an inspiration for me.
weight loss articles , on 12/16/2009 1:24:09 AM Said:
Thanks, was looking forward to such info, what took you so long for sharing it. Hope to see such informative stuff in future as well.
Add comment
Try, Strive and Struggle are the keys of my hope. When there is no hope, no success. So keep hoping and keep winning. No idea how true that statement is, as I myself is losing the biggest hope of mine. So do it on your own risk :)