www.webdeveloper.com
Results 1 to 7 of 7

Thread: Why wont this code work

  1. #1
    Join Date
    Apr 2007
    Posts
    1

    Why wont this code work

    i really dont know hardley any thing about HTML coding so how come this code wont work?

    <MARQUEE BGCOLOR="#FFOOOO" LOOP="infinite" BEHAVIOR="alternate">Remote Control Airplanes Kurtis Towery</marquee>

  2. #2
    Join Date
    Oct 2006
    Posts
    251
    Works for me. Let's see the rest of your code.

  3. #3
    Join Date
    Nov 2003
    Location
    Worthington, OH, USA
    Posts
    3,634
    Should work in IE and FF, but isn't supported in Netscape.....
    54 68 65 42 65 61 72 4D 61 79

  4. #4
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    When you use proprietary tags instead of HTML then your page will only work in those browsers that support that tag soup as well as HTML. If you want your page to display properly in all browsers then stick to valid HTML.

  5. #5
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,217
    Check out CSS3 - Marquee.

    Good luck.

    Ron

  6. #6
    Join Date
    May 2006
    Posts
    8
    alot of new browser arnt suporting marquee becuse to many people find it anoying and distracting

  7. #7
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,217
    Here's another way to run blink which kinda forces it to work in a browser that has JS turned on:

    Between the HEAD tags:

    <style type="text/css">
    <!--
    @media screen
    {
    blink { behavior:url(blink.htc);}
    }
    -->
    </style>


    Make a separate blank file named blink.htc with this code:

    <!-- This file must be kept to maintain the <blink> tag function. -->

    <PUBLIC:PROPERTY NAME="speed" />
    <PUBLIC:METHOD NAME="doBlink" />
    <PUBLIC:ATTACH event="oncontentready" handler="Init" />

    <script type="text/javascript">
    // Copyright 1999 InsideDHTML.com, LLC.
    function doBlink() {
    this.style.visibility = this.style.visibility=="" ? "hidden" : ""
    }

    function Init() {
    if (!speed) speed=1000
    setInterval(uniqueID+".doBlink()",speed)
    }
    </script>


    Between BODY tags example:

    <blink>SPECIAL OFFER - LIMITED TIME ONLY</blink>

    Just another way to skin the cat. LOL Never checked it in all browsers so good luck with it.

    Ron

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles