It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

menu not working...

menu not working...

Postby robroy85 on Thu Apr 17, 2008 2:32 pm

Hi im trying to make a javascript rollover menu. It works, however when you move the mouse away from the menu- the sub menu remains there...

Code: Select all
function dropdownlinks4(){
document.getElementById("eneter").style.top="265"

}

function dropdownlinksback4(){
document.getElementById("eneter").style.top="265"

}


Code: Select all
<div id="eneter" style=" cursor:pointer; width: 12%; position: absolute; top: -400px; right: 18%; z-index: 3;" onMouseOver="javascript:scrollSubSections('eneter');" onMouseOut="javascript:scrollSubSectionsup('eneter');">
<table border="1" width="100%" height="100%" background="orange.jpg">
<tr>


This is the image im using for the menu

Code: Select all
<img src="Entertainment.jpg" style="position:absolute; top:190px; right:15px;" onMouseOver="javascript:dropdownlinks2();"/ onMouseOut="javascript:dropdownlinksback2();">


Im a bit stuck :(
robroy85
 
Posts: 5
Joined: Mon Apr 14, 2008 12:03 am

Postby rangana on Fri Apr 18, 2008 12:31 am

I beat we'll be stuck helping you too ;)

..You call for dropdownlinks2 and dropdownlinksback2 functions, but you're giving us a different JS functions ;)
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 5 guests