Results 1 to 3 of 3

Thread: having problems with image positioning

  1. #1
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default having problems with image positioning

    I'm working on a navigation bar and I'm having a problem.

    I need to make the 'tab image' stay visible when you're on the menu for that particular tab. But when you mouseout, the 'tab image' needs to disappear. So (as far as I know) I can't use a :visited or a :active. When I tried :visited, it stayed visible after I moved the mouse off the menu. When I tried :active, it was visible all the time.

    Here's a link to my page in progress:

    http://www.stltoday.com/stltoday/pag...B?OpenDocument

    Any help/assistance will be greatly appreciated.. thanks!

    Steve
    Last edited by stevemtno; 03-20-2008 at 03:26 PM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Just give it another class and when you click on it[js], you can change it to that class....
    Thats what I do, for example:
    Code:
    <script type="text/javascript">
    show(var){
    var.class="selected";
    }
    <!--tabs--! onClick="show(this)">
    Although I don't know if you can use js...
    Jeremy | jfein.net

  3. #3
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    stevemtno,

    Are you testing this with IE? I had this similar problem and I thought it was a nice feature. Later I realized it's an IE thing.

Bookmarks

Posting Permissions

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