marquee in dreamweaver - scrolling text
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » marquee in dreamweaver - Scrolling text

marquee in dreamweaver - Scrolling text

resolvedResolved · Low Priority · Version Standard

replyReply Thu 30 Nov 2006, 10:22Delegate Andy said...

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

For upcoming training course dates see: Pricing & availability

replyReply Thu 30 Nov 2006, 10:59Trainer Rich said...

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.

replyReply Wed 6 Dec 2006, 09:03 Edited on Wed 6 Dec 2006, 09:04Trainer Garry said...

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?

 

Dreamweaver tip:

JumpMenu in new window

When inserting a jumpmenu to a page, the only option available for 'open in' is usually 'main window'. There would be other options available if the page was a frameset.

To change the jumpmenu to open in a new window, change the target parameter of the selectbox in your code to 'window.open()'.

eg.
<select name="menu1" onChange="MM_jumpMenu('window.open()',this,0)">


source:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16166&sliceId=1

View all Dreamweaver hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard