Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-15-2008, 06:20 PM   PM User | #1
FuZion
Regular Coder

 
Join Date: May 2006
Posts: 152
Thanks: 5
Thanked 0 Times in 0 Posts
FuZion is an unknown quantity at this point
jQuery Events Problem

Hi there,

I've been having some problems with a JS (jQuery) and CSS tabbed based menu system with submenus. The menus have not been working correctly in FF, but they work fine in IE. When a tab with a submenu linked to it is hovered over it, the submenu is supposed to display. However, the mouseover event that I have added via jQuery is only fired when a certain part of the tab (right above the text) is hovered over. This problem only occurs when a submenu is not displayed; if there isn't one visible you can hover anywhere over the tab and it works fine.

The website is http://northvillebasketball.com

I have not posted the code here because I'm not sure if this is an HTML, CSS or JS error. Every file can be found within the page source of the link I provided. The JS is located in nav.js, and the CSS is located within style.css
FuZion is offline   Reply With Quote
Old 08-12-2008, 04:44 AM   PM User | #2
PremiumBlend
Regular Coder

 
PremiumBlend's Avatar
 
Join Date: Apr 2006
Location: Marion, Iowa
Posts: 201
Thanks: 0
Thanked 13 Times in 13 Posts
PremiumBlend is an unknown quantity at this point
For each of your "submenus" you might have to add a class and specify a width. I did it like this:

Code:
.submenu {
	width: 160px;
}
__________________
My Website: DumpsterDoggy
PremiumBlend is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 07:02 AM.


Advertisement
Log in to turn off these ads.