Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    ldz is offline
    New to the CF scene
    Join Date
    Aug 2005
    Thanked 0 Times in 0 Posts

    editing javascript code

    Hello. I am the beginner at JS so my problem could seem a bit funny to you.
    I have made a menu right here and need it to customize a bit more. I need to apply some CSS style to the Menu 1, Menu2 and Menu 3 buttons when they are clicked. For example if i rollover witth the mouse on Menu 1, it should highlight (some CSS style is applied) and if i press it a submeniu appears and the applied highlight should remain on Menu 1. The same for menu2 and Menu 3. (I hope you understand what i mean.)
    You could see the style sheet if you need here

    Thank you in advance.

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Thanked 0 Times in 0 Posts
    Could you show us some code/css? It'll help us understand what you want to do.

    You could use the :hover but that doesn't work in IE (only for anchors) or you could chage it by document.getElementById("Menu1").style.


    edit: your post is similar to this topic, http://www.ozzu.com/ftopic49698.html
    Last edited by vkidv; 08-18-2005 at 05:28 PM.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts