SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2001
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question css Mouseover Problem? Help Plz...

    Hi people could someone please tell me how I can achieve the following?

    If you take a quick look at this page…

    www.kr8iv.co.uk/how.html

    You will see that when you mouse over the sections "Add to Favourites, Tell a Friend" the .css style changes the colour of the bg. However when you mouse over the "Make us your Homepage" it doesn't change? How can I make it change when I mouse over the Homepage section?

    Cheers,

    Devs

  2. #2
    SitePoint Zealot
    Join Date
    Apr 2001
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anyone??? ;(

    Anyone?

  3. #3
    (****** or Deleted)
    Join Date
    May 2002
    Location
    Melbourne, Australia
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, easy fix...

    In your CSS file you have the mouseover effect for all links, but your "Make us your homepage" is not actually a link, but a javascript command...

    Just replace:

    Code:
    <a style="cursor:hand" HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.ring-tones.uk.net');">&nbsp;Make 
            us your Homepage&nbsp;</a>
    With:

    Code:
    <a style="cursor:hand" href="javascript:null(void)" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.ring-tones.uk.net');">&nbsp;Make 
            us your Homepage&nbsp;</a>
    Works perfectly


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
  •