justering af dropdown
Jeg har fundet dette script som virker, men jeg ønsker at kunne bestemme placeringen af de underlinks der kommmer frem, jeg ved intet om javascript !!!<!-- saved from url=(0022)http://internet.e-mail -->
<html>
<head>
<script language="javascript">
<!--
var Open = ""
var Closed = ""
function preload(){
if(document.images){
Open = new Image(16,13)
Closed = new Image(16,13)
Open.src = "open.gif"
Closed.src = "closed.gif"
}}
function showhide(what,what2){
if (what.style.display=='none'){
what.style.display='';
what2.src=Open.src
}
else{
what.style.display='none'
what2.src=Closed.src
}
}
-->
</script>
<!--Just edit the hyperlinks as usual, and insert more if you want(copy the previous to avoid mistakes). If you would like to add another Level 1 menu item just copy the whole thing and change "menu1" to "menu2", both appearances of "menu1outline" to "menu2outline" and both appearances of "menu1sign" to "menu2sign".-->
</head>
<body onLoad="preload()">
<font face="Verdana" size="2">
<span id="menu1" onClick="showhide(menu1outline,menu1sign)" style="cursor:hand; font-Family:Verdana; text-decoration:underline; font-weight:bold"><font style="text-decoration:none"><img id="menu1sign" src="closed.gif" valign="bottom"> </font>Mail Services</span><br>
<span id="menu1outline" style="display:'none'">
<a href="http://www.hotmail.com" target="_blank">Hotmail</a><br>
<a href="http://mail.yahoo.com" target="_blank">Yahoo Mail</a><br>
</span>
</body>
</html>