Results 1 to 1 of 1

Thread: Hello need Help please

  1. #1
    Join Date
    Jun 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hello need Help please

    When Design in css and z-index doesnt working.
    How can I force item to be on top?

    i mean in A drop down menu.

    Link To The Image: http://www.fastup.co.il/images/89248885.jpg

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
    <meta name="progid" content="SharePoint.WebPartPage.Document" /><meta HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8" />
    <html>
    <head>
    <title>Drop-Down Menu</title>
    	<meta name="keywords" content="">
    	<meta name="description" content="">
    	<link rel="stylesheet" type="text/css" href="css/default2.css" id ="MenuDrop">
    
    <!-- dd menu -->
    <script type="text/javascript">
    <!--
    var timeout         = 500;
    var closetimer		= 0;
    var ddmenuitem      = 0;
    
    // open hidden layer
    function mopen(id)
    {	
    	// cancel close timer
    	mcancelclosetime();
    
    	// close old layer
    	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
    
    	// get new layer and show it
    	ddmenuitem = document.getElementById(id);
    	ddmenuitem.style.visibility = 'visible';
    
    }
    // close showed layer
    function mclose()
    {
    	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
    }
    
    // go close timer
    function mclosetime()
    {
    	closetimer = window.setTimeout(mclose, timeout);
    }
    nj
    // cancel close timer
    function mcancelclosetime()
    {
    	if(closetimer)
    	{
    		window.clearTimeout(closetimer);
    		closetimer = null;
    	}
    }
    
    // close layer when click-out
    document.onclick = mclose; 
    // -->
    </script>
    
    </head>
    <body>
    <table align="right">
    <tr>
    <td>
    <ul id="sddm" name="sddm">
    	<li><a class="twolines" href="#" onmouseover="mopen('D1')" onmouseout="mclosetime()">נהלים והוראות<br/>עבודה</a>
    		<div id="D1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()" class="check">
    		<a href="#">HTML DropDown</a>
    		<a href="#">DHTML DropDown menu</a>
    		<a href="#">JavaScript DropDown</a>
    		<a href="#">DropDown Menu</a>
    		<a href="#">CSS DropDown</a>
    		</div>
    	</li>
    	<li><a class="line" href="#" onmouseover="mopen('D2')" onmouseout="mclosetime()">טפסים</a>
    		<div id="D2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">hhhhh</a>
    		<a href="#">gggggggggg</a>
    		<a href="#">AJAX dropdown</a>
    		<a href="#">DIV dropdown</a>
    		</div>
    </li>
    	<li><a class="line" href="#" onmouseover="mopen('D3')" onmouseout="mclosetime()">ניהול סיכונים</a>
    		<div id="D3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">Visa Credit Card</a>
    		<a href="#">Paypal</a>
    		</div>
    </li>
    	<li><a class="line" href="#" onmouseover="mopen('D4')" onmouseout="mclosetime()">בטיחות</a>
    		<div id="D4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">Download Help File</a>
    		<a href="#">Read online</a>
    		</div>
    </li>
    	<li><a class="line" href="#" onmouseover="mopen('D5')" onmouseout="mclosetime()">מצגות</a>
    		<div id="D5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    		</div>
    </li>
    
    	<li><a class="line" href="#" onmouseover="mopen('D6')" onmouseout="mclosetime()">תקנים</a>
    		<div id="D6" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    		</div>
    </li>
    </ul>
    </td>
    </tr>
    <tr>
    <td>
    <ul id="nav" name="nav">
    	<li><a class="twolines" href="#" onmouseover="mopen('D7')" onmouseout="mclosetime()">ספריה<br/>טכנית</a>
    		<div id="D7" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    		</div>
    	</li>
       
        	<li><a class="twolines" href="#" onmouseover="mopen('D8')" onmouseout="mclosetime()">ספריה<br/>מקצועית</a>
    		<div id="D8" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    		</div>
    	</li>
    
    	<li><a class="twolines" href="#" onmouseover="mopen('D9')" onmouseout="mclosetime()">ניהול<br/>
    	  האיכות</a>
    		<div id="D9" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    		</div>
      </li>
    
    	<li><a class="twolines" href="#" onmouseover="mopen('D10')" onmouseout="mclosetime()">תעודות<br/>
    	  הסמכה</a>
    		<div id="D10" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    		</div>
      </li>
    
    	<li><a class="twolines" href="#" onmouseover="mopen('D11')" onmouseout="mclosetime()">פורמטים<br/>
    	  ולוגו</a>
    		<div id="D11" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    		</div>
      </li>
    
    	<li><a class="line" href="#" onmouseover="mopen('D12')" onmouseout="mclosetime()">אישורי מס</a>
    		<div id="D12" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
    		<a href="#">E-mail</a>
    		<a href="#">Submit Request Form</a>
    		<a href="#">Call Center</a>
    	  </div>
      </li>
     </ul>
     </td>
     </tr>
     </table>
    <div style="clear:both"></div>
    
    <div style="clear:both"></div>
    
    </body>
    </html>
    Last edited by jscheuer1; 06-21-2011 at 12:41 AM. Reason: format code

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •