Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: AnyLink CSS Menu Hover Color Issues

  1. #11
    Join Date
    Aug 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I know you said 255,255,255 I was just saying I tried that and it didn't work. I was saying I tried 255,0,255 and that worked giving a purplish hover color.

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

    Default

    Ok, I see, change the background color to #FFFFFF.
    And in your code in the submenus were you have, or something similar to:
    Code:
    <div id="anylinkmenu2" class="anylinkcss" style="width: 150px; background-color: lightyellow">
    
    <a href="http://www.cnn.com/">CNN</a>
    <a href="http://www.msnbc.com">MSNBC</a>
    <a href="http://www.google.com">Google</a>
    <a href="http://news.bbc.co.uk">BBC News</a>
    
    </div>
    You can try changing it to:
    Code:
    <div id="anylinkmenu2" class="anylinkcss" style="width: 150px; background-color: lightyellow">
    
    <a href="http://www.cnn.com/" onmouseover="this.style.background='#FFF'" onmouseout="this.style.background='lightyellow';">CNN</a>
    <a href="http://www.msnbc.com" onmouseover="this.style.background='#FFF'" onmouseout="this.style.background='lightyellow';">MSNBC</a>
    <a href="http://www.google.com" onmouseover="this.style.background='#FFF'" onmouseout="this.style.background='lightyellow';">Google</a>
    <a href="http://news.bbc.co.uk" onmouseover="this.style.background='#FFF'" onmouseout="this.style.background='lightyellow';">BBC News</a>
    
    </div>
    Jeremy | jfein.net

  3. #13
    Join Date
    Aug 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok so that works. But mind you I'm curious why won't the other method work when I use the color white, #FFFFFF, or 255,255,255?

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

    Default

    I've got no clue. The point is, it works.
    Jeremy | jfein.net

  5. #15
    Join Date
    Aug 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much for your help!

  6. #16
    Join Date
    Aug 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok so I've got a new problem. I moved this clients site to their server. Same webhost as me so that's not the cause. But for some reason the drop down menus do NOT work on the client's site but they do on mine. See links below. PLEASE help as this site is to get launched in a couple of weeks and I'm racking my brain here on how to fix this.

    Site where menus DO work: http://www.hemdesigns.com/ico/wp/

    Site where menus DON'T work: http://newtoniowa.com/blog/

    EDIT: Chalk this one up to user error. There was one line of code causing my issue. In my Wordpress theme code I had <script type="text/javascript" src="../wp/wp-content/themes/ico/anylink.js"> but I forgot to notice that the wp should be blog as I didn't use the directory name wp on the client's site. Sorry about that.
    Last edited by HaroldM; 08-28-2008 at 06:02 PM.

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
  •