"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

Go Back   Webmaster Forums > Code Forum > HTML Forum

Reply
 
Thread Tools Rate this Webmaster Discussion
Old 01-27-2009, 01:16 PM   #1
adamsen
Senior Member
 
adamsen's Avatar
 
Join Date: Jan 2009
Location: Denmark
Webmaster Discussions: 128
Rep Power: 11
adamsen will become famous soon enough
Talking Cool tag: <marquee>

This is a pretty cool tag. It makes the text between
the start- and stop-tags scroll from one side to another

Use:

<table border=0>
<tr>
<td width=100>
<marquee direction=left><font color="3366dd">Hi!</font color></marquee>
</td>
</tr>
</table>


adamsen is offline   Reply With Quote
Old 01-27-2009, 04:58 PM   #2
jthayne
 
jthayne's Avatar
 
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 501
Rep Power: 21
jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.
Re: Cool tag: <marquee>

The problem with the <marquee> tag is that it is not supported by the W3C. It was originally put in HTML by Microsoft before there was a standard just as Netscape originally put in the <blink> tag. Fortunately for us all, neither was allowed to be included in the final standards, and they have never been included since (though they are still somewhat "supported").

It is MUCH better to find a Javascript script, and use that. This is for two reasons:

1. Support. It is most definitely NOT supported in all browsers.
2. Appearance. When I (and every other serious programmers I know) come across a site that uses the <marquee> tag, we immediately discount the content as not as important reagardless of how good the content is. The only acceptable reason for it to be used is as an example of what NOT to do.
__________________
Be sure to click the reputation icon to give rep to the person who helped you.
For web design/development services, check Silentium Designs.
jthayne is offline   Reply With Quote
Old 01-27-2009, 08:42 PM   #3
rangana
Moderator/Allstar
 
rangana's Avatar
 
Join Date: Feb 2008
Location: Cebu City Philippines
Webmaster Discussions: 314
Rep Power: 24
rangana is a name known to allrangana is a name known to allrangana is a name known to allrangana is a name known to allrangana is a name known to allrangana is a name known to all
Send a message via Yahoo to rangana Send a message via Skype™ to rangana
Re: Cool tag: <marquee>

jthayne had explained it right.

You might find a cross-browser (Javacript based) script for the "marquee effect" that you want here:
http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
__________________
Checkout my porfolio.
Please click the button when a member helped you.
Take time to use Forum's Search function.
rangana is offline   Reply With Quote
Old 01-28-2009, 02:40 AM   #4
raaj22
New Member
 
Join Date: Jan 2009
Webmaster Discussions: 10
Rep Power: 10
raaj22 is on a distinguished road
Re: Cool tag: <marquee>

ALTERNATE

Example code:
Code:
<FONT SIZE="4" FACE="courier" COLOR=blue><MARQUEE WIDTH=100% BEHAVIOR=ALTERNATE BGColor=yellow>This is an example of an alternating marquee...</MARQUEE></FONT>
SCROLL

Example code:
Code:
<FONT SIZE="4" FACE="courier" COLOR=blue><MARQUEE WIDTH=100% BEHAVIOR=SCROLL BGColor=yellow LOOP=3>This is an example of a scrolling marquee...</MARQUEE></FONT>
SLIDE

Example code:
Code:
<FONT SIZE="4" FACE="courier" COLOR=blue><MARQUEE WIDTH=100% BEHAVIOR=SLIDE BGColor=yellow>This is an example of a sliding marquee...</MARQUEE></FONT>
raaj22 is offline   Reply With Quote
Old 01-28-2009, 02:44 AM   #5
rangana
Moderator/Allstar
 
rangana's Avatar
 
Join Date: Feb 2008
Location: Cebu City Philippines
Webmaster Discussions: 314
Rep Power: 24
rangana is a name known to allrangana is a name known to allrangana is a name known to allrangana is a name known to allrangana is a name known to allrangana is a name known to all
Send a message via Yahoo to rangana Send a message via Skype™ to rangana
Re: Cool tag: <marquee>

You should not advocate the use of marquee tag. Read jthayne's explanation.

Also, from your example, you should note that FONT is a deprecated attribute, and shouldn't be advocated too..
__________________
Checkout my porfolio.
Please click the button when a member helped you.
Take time to use Forum's Search function.
rangana is offline   Reply With Quote
Old 01-29-2009, 09:31 AM   #6
adamsen
Senior Member
 
adamsen's Avatar
 
Join Date: Jan 2009
Location: Denmark
Webmaster Discussions: 128
Rep Power: 11
adamsen will become famous soon enough
Thumbs down Re: Cool tag: <marquee>

Okay, that was perhaps not the best thing I have posted. Sorry. Thanks for the help.
adamsen is offline   Reply With Quote
Old 01-29-2009, 11:11 AM   #7
jthayne
 
jthayne's Avatar
 
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 501
Rep Power: 21
jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.
Re: Cool tag: <marquee>

No problem. Forums are here for advice and instruction. If you come across something you think is good, let us know. Who knows, you may be teaching us soon!
__________________
Be sure to click the reputation icon to give rep to the person who helped you.
For web design/development services, check Silentium Designs.
jthayne is offline   Reply With Quote
Old 01-29-2009, 01:36 PM   #8
adamsen
Senior Member
 
adamsen's Avatar
 
Join Date: Jan 2009
Location: Denmark
Webmaster Discussions: 128
Rep Power: 11
adamsen will become famous soon enough
Re: Cool tag: <marquee>

Thanks

Adamsen
adamsen is offline   Reply With Quote
Old 10-21-2009, 06:18 PM   #9
mspaintnerd
New Member
 
Join Date: Oct 2009
Webmaster Discussions: 1
Rep Power: 6
mspaintnerd is on a distinguished road
Re: Cool tag: <marquee>

Hello, I realize this post is quite old, but maybe some of you
will respond. I disagree that the <marquee> tag is worthless and actually find it pretty cool. For plain text, yes, it is incredibly annoying and amateurish. But you can still use it in inventive ways, especially with pictures. I run a public domain movie site and use the marquee tag to scroll through different frames of my movies. You can take a look here: mspaintnerd.com

The frames are from the movies themselves and I made the reel using MS Paint. Let me know if you like it.

Also, while <marquee> may not be an officially supported html tag, it is supported by virtually all browsers (IE, Firefox, Opera, Safari) or at least it is according to Wikipedia: http://en.wikipedia.org/wiki/Marquee_tag

Another idea of mine is to make a race track in the background and then line up car images (perhaps animated gifs) in the lanes and have them scroll at varying speeds. Bye!
mspaintnerd is offline   Reply With Quote
Reply

Bookmarks

Tags
<marquee>, cool, tag

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Webmaster Discussions
Thread Webmaster Discussion Starter Forum Replies Last Post
Marquee JackKing Graphics Forum 5 03-04-2004 07:57 PM
slow down a marquee allstarr HTML Forum 3 12-07-2000 09:24 PM


All times are GMT -5. The time now is 08:57 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.