We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Quick JS / CSS question; hopefully
Topic Started: Jun 14 2005, 11:29 AM (614 Views)
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
Hey,
I'm trying to make a menu of what parts appear ans disappear and parts that change color.
I was thinking this:
Code: HTML
 
<span class="menuinactive" id="this_site">
<a href="#" onClick="document.this_site.class='menuactive';">
This Website
</a>
</span>

Would do it.
But nothing.
Both style-classes have been set:
Code: HTML
 
span.menuinactive { position:relative; z-index:2; }
span.menuactive { position:relative; z-index:2; background-color:C0C0C0; }


So something in there is not working, and I have no idea what it is.
( *Qj hates JS more every time he looks at it :/ )
Offline Profile Quote Post Goto Top
 
JoeC
Euch! IE tastes horrible!
[ *  *  *  *  * ]
This site has an interesting way to make a flyout menu with pure CSS, if that's any use...
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
Well.. I want the horizontal one, but that one won't work in IE.
To bad most people have it :(
*Qj hates M$ for making IE suck
Offline Profile Quote Post Goto Top
 
Luke6006
Member
[ *  *  *  *  *  *  * ]
I just found this it's easy to edit and free to use. Don't know if that's what you want. :)
Offline Profile Quote Post Goto Top
 
solinent
Member
[ *  *  * ]
I'm not sure of exactly what you want, but check out the javascript based menus at http://www.dynamicdrive.com/ They have css ones too :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply