Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 04-01-2007, 06:35 AM
Foxtrck's Avatar
Contributing Member
 
Join Date: 11-29-06
Location: Scotland, UK
Posts: 238
iTrader: 0 / 0%
Thumbs down Dropdown menu issues

Hi I'm making this website http://www.dund.co.uk/escapetherake/ I'm using Inline frames to change the main content area, theres also a drop down menu im using, but it seems to get completely stuck once content is loaded in the iFrame. Try clicking on the first link on the left 'Texas Holdem' under 'Poker Games' to load content into the frame and then try using the dropdown menu. It just doesnt hide itself anymore.

Note: There is no problem in Firefox, I just find it in IE7.

This is the css ive used for the menu:

Code:
#nav, #nav ul { float: left; width: 100%; list-style: none; line-height: 3; background: #003815; font-weight: bold; padding: 0; border: solid #eda; border-width: 1px 0; margin: 0 0 1em 0; } #nav a { display: block; width: 14em; w\idth: 9em; color: #fff; text-decoration: none; padding: 0.25em 2em; } #nav a.daddy { background: url(rightarrow2.gif) center right no-repeat; } #nav li { float: left; padding: 0px; width:150px; height:40px; color:#fff; background: url(rollover1.gif) center no-repeat; } #nav li ul { position: absolute; left: -999em; height: auto; width: 14.4em; w\idth: 13.9em; background:transparent; font-weight: normal; border:0px; margin: 0; } #nav li li { padding-right: 1em; width: 13em } #nav li ul a { width: 13em; w\idth: 9em; } #nav li ul ul { margin: -1.75em 0 0 14em; } #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { left: -999em; } #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { left: auto; } #nav li:hover, #nav li.sfhover { background: url(rollover2.gif) center no-repeat; color:#000; }
and also the js controlling the menu:

Code:
sfHover = function() { var sfEls = document.getElementById("nav").getElementsByTagName("LI"); for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover);
Any help is much appreciated. Probably something noobish, but I can't find anything right now, pretty busy.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdown Menu Help Needed.. Please :) amyintexas Coding Forum 3 06-13-2007 10:30 PM
CSS Dropdown Menu, need some help... :( Klaas Koopman Coding Forum 9 11-30-2006 03:50 PM
new google dropdown menu for searching fsmedia Google Forum 2 08-29-2006 10:26 PM
Are dropdown menu keywords considered? real_estates_bro SEO Forum 5 08-31-2004 07:26 PM
Problem with Dropdown menu AND CSS pachrist Coding Forum 1 06-03-2004 05:24 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 05:12 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.