[css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Peter Ankelein
Hi All, I've a sprite menu that I just updated by adding another menu item, C-MUG to it. I've re-calculated all the numbers and everything seems to be set up correctly. It's working correctly on jsfiddle (http://jsfiddle.net/gPNF4/) but for some reason, on my development server and on the

Re: [css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Tom Livingston
Can we have a link to the actual site with the issue? On Fri, Jul 26, 2013 at 5:27 PM, Peter Ankelein pankel...@mdsol.com wrote: Hi All, I've a sprite menu that I just updated by adding another menu item, C-MUG to it. I've re-calculated all the numbers and everything seems to be set up

Re: [css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Peter Ankelein
On Fri, Jul 26, 2013 at 6:25 PM, Tom Livingston tom...@gmail.com wrote: Can we have a link to the actual site with the issue? Try this: http://www.mdsol.com/conferences/mug/test.html. __ css-discuss

Re: [css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Chris Rockwell
What JS script is adding 'background-image:none'? On Fri, Jul 26, 2013 at 6:41 PM, Peter Ankelein pankel...@mdsol.com wrote: On Fri, Jul 26, 2013 at 6:25 PM, Tom Livingston tom...@gmail.com wrote: Can we have a link to the actual site with the issue? Try this:

Re: [css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Chris Rockwell
Nevermind, I see it in nav.js. It looks like you add an inline style via this script, but you never remove it. The inline style will trump your stylesheet unless you use !important (not recommended). You never add cmug to via attachNavEvents. Can I ask why you're using JavaScript to do the

Re: [css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Chris Rockwell
Last one :) Not adding this: attachNavEvents(.nav, cmug); is the ultimate culprit, I believe. On Fri, Jul 26, 2013 at 7:08 PM, Chris Rockwell ch...@chrisrockwell.comwrote: Nevermind, I see it in nav.js. It looks like you add an inline style via this script, but you never remove it. The

Re: [css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Peter Ankelein
Well, hey! Apparently, I couldn't see the forest through the trees! I built the site years ago and the nav was based on the CSS or navigation matrix (what some folks were calling it at the time) and was my first attempt at moving from JS rollovers and sliced images. TBH, I don't remember where the

Re: [css-d] Sprite Menu - Hover Issue for Newly-Added Item

2013-07-26 Thread Chris Rockwell
Great, stoked I could help! On Jul 26, 2013 8:53 PM, Peter Ankelein pankel...@mdsol.com wrote: Well, hey! Apparently, I couldn't see the forest through the trees! I built the site years ago and the nav was based on the CSS or navigation matrix (what some folks were calling it at the time) and