www.webdeveloper.com
Results 1 to 2 of 2

Thread: Position Fixed drop-down list issues

  1. #1
    Join Date
    May 2010
    Location
    NYC
    Posts
    7

    Angry Position Fixed drop-down list issues

    My blogger HTML checker says this:

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The element type "input" must be terminated by the matching end-tag "".


    What do I do?

    Code:
    <head>
    <style type='text/css'>
    rf
    {
    position:fixed;
    left:50px;
    top:50px;
    }
    </style>
    </head>
    
      <body>
    <rf><form name="jump">
    <p align="center">
    <select name="menu">
    <option value="http://www.snappletop.com/p/1-200.html#76">76</option>
    <option value="http://www.snappletop.com/p/1-200.html#83">83</option>
    <option value="http://www.snappletop.com/p/1-200.html#127">127</option>
    <option value="http://www.snappletop.com/p/1-200.html#176">176</option>
    <option value="http://www.snappletop.com/p/1-200.html#177">177</option>
    <option value="http://www.snappletop.com/p/601-800.html#673">673</option>
    <option value="http://www.snappletop.com/p/601-800.html#674">674</option>
    <option value="http://www.snappletop.com/p/601-800.html#677">677</option>
    <option value="http://www.snappletop.com/p/601-800.html#678">678</option>
    <option value="http://www.snappletop.com/p/601-800.html#679">679</option>
    <option value="http://www.snappletop.com/p/601-800.html#681">681</option>
    <option value="http://www.snappletop.com/p/601-800.html#683">683</option>
    <option value="http://www.snappletop.com/p/601-800.html#684">684</option>
    <option value="http://www.snappletop.com/p/601-800.html#685">685</option>
    <option value="http://www.snappletop.com/p/601-800.html#688">688</option>
    <option value="http://www.snappletop.com/p/601-800.html#690">690</option>
    <option value="http://www.snappletop.com/p/601-800.html#691">691</option>
    <option value="http://www.snappletop.com/p/601-800.html#692">692</option>
    <option value="http://www.snappletop.com/p/601-800.html#694">694</option>
    </select>
    <input type="button" onClick="location=document .jump.menu.options[document.jump.menu.selectedIndex].value;" value="Pick a Fact">
    </p>
    </form></rf>
    </body>

  2. #2
    Join Date
    Feb 2010
    Posts
    184
    Do what it saids and close off your input tag as shown:

    <input type="button" onClick="location=document .jump.menu.options[document.jump.menu.selectedIndex].value;" value="Pick a Fact" />

    You may also want to fix your onClick attribute and the javascript inside it:

    <input type="button" onclick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="Pick a Fact" />
    Last edited by letmehaveago; 05-25-2010 at 02:53 AM. Reason: tag nesting failed, bad color

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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