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.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-01-2007, 07:35 AM   #1 (permalink)
Contributing Member
 
Foxtrck's Avatar
 
Join Date: 11-29-06
Location: Scotland, UK
Posts: 201
iTrader: 0 / 0%
Latest Blog:
None

Foxtrck is liked by somebodyFoxtrck is liked by somebodyFoxtrck is liked by somebodyFoxtrck is liked by somebodyFoxtrck is liked by somebody
Send a message via MSN to Foxtrck
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.
Foxtrck is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

 


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 On
Pingbacks are On
Refbacks are On


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


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 10:25 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.