Jumpbox in Block
am 18.07.2009 - 19:32 Uhr in
Hallo!
Ich habe in einem Drupal Block folgende Jumpbox eingebaut.
<form name="jump"><select name="menu" onchange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO"><option value="http://www.dieautoberater.de/Autoforum/index.php">Marke wählen</option><option value="http://www.dieautoberater.de/Autoforum/index.php">Alle Modelle<option value="http://www.dieautoberater.de/Autoforum/motorrad-f4750//">Motorrad</option></select></form>
Diese funktioniert auch, ist aber leider nicht xhtml strict.
Folgende Probleme gibt es:
1. Attribute "name" exists, but can not be used for this element.
<div class="blockcontent"><form name="jump">
<div class="blockcontent"><form name="jump">
2. required attribute "action" not specified
<div class="blockcontent"><form name="jump">
3. Attribute "value" exists, but can not be used for this element.
…p.menu.selectedIndex].value;" value="GO"><option value="http://www.dieauto
4. document type does not allow element "select" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
…nu.selectedIndex].value;" value="GO"><option value="http://www.dieautoberatWie bekomme ich so eine Jumpbox innerhalb von Drupal als xhtml strict?
Was mache ich falsch?
Vielen Dank!
mfg
- Anmelden oder Registrieren um Kommentare zu schreiben

http://de.selfhtml.org/html/f
am 20.07.2009 - 09:49 Uhr
http://de.selfhtml.org/html/formulare/definieren.htm
mfg Cyberschorsch
_________
Mei is des schee