Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Live Javascript

  1. #1
    New to the CF scene
    Join Date
    Mar 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Live Javascript

    I was wondering if there is anyway I could use javascrip in a member legend so that when you hover over the word admin on the legend it would make admins bold, I would be able to make it happen if say you clicked the word, but is there anyway you can make it live, so that when you hover over the world they become bold, I would think you would need to assign CSS styles to each group and make some sort of on hover that value = bold but I don't know how to do that so help is appreciated.

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Posts
    525
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <style>
    a{color:#000;text-decoration:none;}
    a:hover{font-weight:bold;color:#000;}
    </style>

    <fieldset><legend><a href="#">Admin</a></legend>
    Foo Bar
    </fieldset>
    Single Paradox
    My Site (Under construction)

    Not too bad for a 15 year old

  • #3
    New to the CF scene
    Join Date
    Mar 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I kinda meant a member legend on a forum so say for example it was like this -

    USers online - An Admin, A mod, Normal Member, Normal Member.

    Legend: Admin | Mods | Members.

    Say you hovered your mouse over Admin the name of the admins online would become bold.


  •  

    Posting Permissions

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