98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Dreamweaver Training and help » marquee in dreamweaver - Scrolling text
marquee in dreamweaver - Scrolling text
Resolved · Low Priority · Version Standard
Andy has attended:
Dreamweaver 8 Introduction course
Scrolling text
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 behavior="alternate">Try this</marquee> This makes it move back and forward?
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Dreamweaver tip:Viewing you page in the browserIf you are working in design view you can quicky preview your webpage by pressing the F12 key |