Escape Artists

The Lounge at the End of the Universe => Gallimaufry => Topic started by: Listener on February 29, 2008, 08:22:30 PM

Title: code monkey needs help
Post by: Listener on February 29, 2008, 08:22:30 PM
If anyone reading this is good with CSS and Javascript, please go here:

http://www.dynamicdrive.com/forums/showthread.php?p=132982

If you can help me with my little problem, I would be very grateful.

Thanks.
Title: Re: code monkey needs help
Post by: eytanz on February 29, 2008, 09:02:07 PM
I tried using the html and css files you provided and it works without the red bar (though after a few clicks IE crashes). I looked at the problem HTML page and noticed you are calling several other CSS files; the problem may lie in one of those.

I would recommend that you supply a full set of the complete CSS files, rather than just a snippet. It's really hard to troubleshoot something with only partial information.
Title: Re: code monkey needs help
Post by: Listener on February 29, 2008, 09:13:44 PM
That may be it, but these are all uniquely-named CSSes.

http://www.11alive.com/includes/css/wxia3.css
http://www.11alive.com/includes/css/initial.css
http://www.11alive.com//specials/widgets/tabcontent2.css

The last one is the one where all the tab content stuff is.

Does that help?
Title: Re: code monkey needs help
Post by: eytanz on February 29, 2008, 09:21:47 PM
Yup - at least, at the moment I can confirm that the problem comes from wxia3.css.

I'll investigate further and let you know if I figure out how to solve it.
Title: Re: code monkey needs help
Post by: Listener on February 29, 2008, 09:24:43 PM
Awesome.  Thank you.
Title: Re: code monkey needs help
Post by: Listener on February 29, 2008, 09:31:58 PM
I removed that stylesheet and it works fine now.

Thanks for the help!
Title: Re: code monkey needs help
Post by: eytanz on February 29, 2008, 09:34:05 PM
I figured out the problem - wxia3 defines ".selected" and gives it several properties, including the color red. This is then inherited by the selected class used in tabcontent2.css.

I'm assuming you can't easily modify wxia3 without screwing up a whole lot of existing stuff on your webpage, so I would rename ".shadetabs li.selected" to ".shadetabs li.selectedtab" or something like that (You'll also need to change tabcontent.js so that all references to the "selected" calss become "selectedtab" but you probably know that already).
Title: Re: code monkey needs help
Post by: eytanz on February 29, 2008, 09:39:22 PM
I removed that stylesheet and it works fine now.

Thanks for the help!

That'll work too.

Glad I could help.
Title: Re: code monkey needs help
Post by: Heradel on March 01, 2008, 12:12:02 AM
But does Code Monkey need Fritos?
Title: Re: code monkey needs help
Post by: Listener on March 03, 2008, 08:51:36 PM
But does Code Monkey need Fritos?

Code Monkey like Fritos.

Actually, I used to sing that song and "Dance Soterios Johnson" to my daughter when she was a few months old.  She doesn't care for Coulton much anymore.