Web Design Forum: Javascript - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Javascript Marquee

#1 User is offline   j5-payne 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 139
  • Joined: 15-September 08
  • Reputation: 4
  • Gender:Male
  • Location:Street
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 20 October 2008 - 10:44 AM

Can any one help me create a marquee div using JavaScript?

I created one normally but i cant slow it down and i have been told to use JavaScript.

Could you point me in the right way or help me?
0

#2 User is offline   webbhost 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 192
  • Joined: 12-May 08
  • Reputation: 0
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 20 October 2008 - 02:28 PM

dont understand why they said that.... try the following and fiddle with the 2 settings

<marquee scrolldelay="90" scrollamount="2">Your Marquee Here!</marquee>

Change scrolldelay (its in Milliseconds) to how often you want the marquee to move, and change "scrollamount" to the amount of pixels that you want the marquee to jump across the screen every time it moves.

Hope this helps.
0

#3 User is offline   mds 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 16-March 08
  • Reputation: 0
  • Experience:Nothing
  • Area of Expertise:Designer

Posted 20 October 2008 - 04:23 PM

View Postwebbhost, on Oct 20 2008, 15:28, said:

dont understand why they said that.... try the following and fiddle with the 2 settings

<marquee scrolldelay="90" scrollamount="2">Your Marquee Here!</marquee>

Change scrolldelay (its in Milliseconds) to how often you want the marquee to move, and change "scrollamount" to the amount of pixels that you want the marquee to jump across the screen every time it moves.

Hope this helps.



Thats correct mate, i dont know who said that marquee cannot be slowed down.
0

#4 User is offline   webbhost 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 192
  • Joined: 12-May 08
  • Reputation: 0
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 20 October 2008 - 05:15 PM

yay Im useful :D hahah
0

#5 User is offline   j5-payne 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 139
  • Joined: 15-September 08
  • Reputation: 4
  • Gender:Male
  • Location:Street
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 21 October 2008 - 08:17 AM

Cheers. Thank you very much. It has worked.
0

#6 User is offline   ErisDS 

  • Evil Moderator
  • PipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 2,663
  • Joined: 16-January 08
  • Reputation: 25
  • Gender:Female
  • Location:Northants, UK
  • Experience:Web Guru
  • Area of Expertise:Web Developer

Posted 21 October 2008 - 08:23 AM

marquee isn't a proper HTML tag though: http://en.wikipedia....iki/Marquee_tag

Here's a page on how to do it with java script: http://www.howtocreate.co.uk/jslibs/htmlhi...plemarquee.html
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users