Links overlays

Discussion in 'CSS' started by Triexa, May 10, 2007.

  1. #1
    Like in the new google analytics, how do you create those overlays over a link?
     
    Triexa, May 10, 2007 IP
  2. bacanze

    bacanze Peon

    Messages:
    2,419
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could you describe the effect slightly more.
     
    bacanze, May 11, 2007 IP
  3. Triexa

    Triexa Active Member

    Messages:
    580
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Well like google analytics has a little bar "under/over" each link that tells you the clicks... I'm just wondering how they manage to accomplish inserting something like this at every link - especially with sections being abs/relatively positioned, etc.

    What I want is something like this:
    http://jedisthlm.com/wp-content/uploads/2006/02/overlay.png

    (That's their old version of it... new version is better, but still.. the idea)
     
    Triexa, May 11, 2007 IP
  4. bacanze

    bacanze Peon

    Messages:
    2,419
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well thats dynamic, so my guess would be java or php, you can display static alt text for links by using title="some info"
     
    bacanze, May 11, 2007 IP
  5. Triexa

    Triexa Active Member

    Messages:
    580
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Hmm perhaps CSS wasn't the best place to put this thread then... :S

    I do know PHP and JavaScript, but the best I can think of is searching for <a> tags and wrapping them in a div or something...
     
    Triexa, May 11, 2007 IP