37 users online (1 members and 36 guests)  


  Results 1 to 9 of 9

Related

  1. Marquee    Forum: Graphics Forum
    Replies: 5
  2. slow down a marquee    Forum: HTML Forum
    Replies: 3
  1. #1
    adamsen's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    128

    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>

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    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.

  3. #3
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    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.

  4. #4
    raaj22's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2009
    Posts
    10

    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>

  5. #5
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    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.

  6. #6
    adamsen's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    128

    Thumbs down Re: Cool tag: <marquee>

    Okay, that was perhaps not the best thing I have posted. Sorry. Thanks for the help.

  7. #7
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    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!

  8. #8
    adamsen's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    128

    Re: Cool tag: <marquee>

    Thanks

    Adamsen

  9. #9
    mspaintnerd's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2009
    Posts
    1

    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!



Tags for this Thread