drop down menu

Status
Niet open voor verdere reacties.

justmehaxe

Gebruiker
Lid geworden
12 aug 2001
Berichten
605
Hallo,

<select style="background-color:black; color:white">
<option select>BSO-Deel</option>
<option >Informatie opleiding</option>
<option>Ervaring student</option>
<option>Ervaring 10KAE-39</option>
</select>

hoe zorg ik ervoor dat wanneer ik op Informatie Opleiding klik hij naar informatieopleiding.html gaat?

greetz,
 
PHP:
SELECT zonder go
what you need is a javascript for the navigation,


1. Paste the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
</HEAD>

<!-- STEP TWO: Paste this code into the BODY of your HTML document -->

<BODY>

<center>
<form name="form">
<select name="site" size=1 onChange="javascript:formHandler()">
<option value="">Go to....
<option value="http://www.yahoo.com">Yahoo
<option value="http://www.metacrawler.com">Metacrawler
<option value="http://www.altavista.digital.com">Altavista
<option value="http://www.webcrawler.com">Webcrawler
<option value="http://www.lycos.com">Lycos
<option value="http://javascript.internet.com">JavaScript Source
</select>
</form>
</center>






//////////
end
 
en bestaat er een manier om ook het grijse vakje met daarin het zwarte driehoekje een kleur te geven??
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan