|
Forum home »
Delegate support and help forum »
Dreamweaver Training and help » marquee in dreamweaver - Scrolling text
marquee in dreamweaver - Scrolling text
The UK's most regular instructor-led training courses.
Training information: marquee in dreamweaver
· Dreamweaver training
· Adobe dreamweaver training Resolved · Low Priority · Version Standard
Scrolling text
by - delegate Andy [1 post] (2006 Nov 30 Thu, 10:22) Reply
Hello
How do you stop the continuous scrolling when using the <marquee> tag?
It is there a way to make it move back and forward?
Thanks
Best regards Andy
Marquee parameters
Hi Andy,
Yes there is, however firefox doesn't fully support Marquee, so your visitors may get different results if they use that browser. Always test your pages in both browsers.
1) Use BEHAVIOR="slide" to scroll the text/graphic once and stay on screen.
Or use LOOP="1" to scroll the text/graphic once but NOT stay on screen.
2) Use BEHAVIOR="alternate" to move back and forward.
Other available parameters for <marquee> are:
WIDTH: how wide the marquee is
HEIGHT: how tall the marquee is
DIRECTION: which direction the marquee will scroll: DIRECTION=LEFT or DIRECTION=RIGHT
BEHAVIOR: what type of scrolling: BEHAVIOR=SCROLL, BEHAVIOR=SLIDE or BEHAVIOR=ALTERNATE
SCROLLDELAY: how long to delay between each jump: SCROLLDELAY=n i.e. if n=1000 the delay would be 1 second
SCROLLAMOUNT: how far to jump: SCROLLAMOUNT=n n=the disance to move each time
LOOP: how many times to loop
BGCOLOR: background color
HSPACE: horizontal space around the marquee
VSPACE: vertical space around the marquee
Remember to use marquee tags sparingly. They can be extremely annoying for visitors (although this is probably why you are asking how to stop it scrolling!)
Hope this helps.
Regards, Rich.
RE: scrolling text
<marquee behavior="slide">Try this</marquee>This will make it scroll only once</marquee>
<marquee behavior="alternate">Try this</marquee> this makes it move back and forward?
|