Onbekend |
|
Citaat: Het is dan toch het makkelijkste om gewoon een id op je div te zetten? Dan heb je een class voor de css en een id voor de javascript. Lijkt mij geen probleem... tja niet echt handig als je meerdere menu's wilt maken
ik heb nu
<div id="container">
<div class="menuhead"><a>Hoofdmenu...</a></div>
<div class="menu">
<a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Home</a><br />
<a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Fotos</a><br />
<a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Filmpjes</a><br />
<a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Spots</a><br />
<a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Reviews</a><br />
<a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Magazines</a><br />
<a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Forum</a>
</div>
</div>
<div id="container"> <div class="menuhead"><a>Hoofdmenu...</a></div> <div class="menu"> <a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Home</a><br /> <a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Fotos</a><br /> <a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Filmpjes</a><br /> <a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Spots</a><br /> <a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Reviews</a><br /> <a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Magazines</a><br /> <a href="#" onmouseover="this.innerHTML += '...'" onmouseout="this.innerHTML = this.innerHTML.slice(0,-3)">Forum</a> </div> </div>
dat werkt wel alleen niet in opera |