1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Hover tags

Discussion in 'CSS' started by bschneider5, Sep 29, 2005.

  1. #1
    I can't remember what site I was at, but when you hover over a certain word in the text, a comment box would appear and contain text and a link(like an ad). How would you create this and are there any examples you are aware of?
     
    bschneider5, Sep 29, 2005 IP
  2. mopacfan

    mopacfan Peon

    Messages:
    3,273
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Are you referring to googles autolinks? Where they would read the code and add their links to a web page? MS does this as well.
     
    mopacfan, Sep 29, 2005 IP
  3. bschneider5

    bschneider5 Active Member

    Messages:
    1,009
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    88
    #3
    I'm not talking about the google link ads, like the ones on this page, I'm talking about a single word in a paragraph, it would appear to be a link, but when you hover over it a text box/comment box appears.
     
    bschneider5, Sep 29, 2005 IP
  4. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #4
    dave487, Sep 29, 2005 IP
  5. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #5
    Tool Tips. :)
     
    ResaleBroker, Sep 29, 2005 IP
  6. bschneider5

    bschneider5 Active Member

    Messages:
    1,009
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    88
    #6
    Yes, that's it! with the question marks, any idea how to do it?
     
    bschneider5, Sep 29, 2005 IP
  7. bschneider5

    bschneider5 Active Member

    Messages:
    1,009
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    88
    #7
    What are you talking about?
     
    bschneider5, Sep 29, 2005 IP
  8. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
  9. JamieC

    JamieC Well-Known Member

    Messages:
    226
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    138
    #9
    Take a look at his code and see :-D

    In this case, it looks like he's got a Javascript function that displays a div at a set of coordinates relative to the location of the mouse. The function is called when the user mouseovers the "?", another function is called when they mouseout which returns the div to display: none.

    Google it :)
     
    JamieC, Sep 29, 2005 IP
  10. bschneider5

    bschneider5 Active Member

    Messages:
    1,009
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    88
    #10
    Thanks for all your info, I was hoping it was just a matter of some fancy css or tag editing, but it is a bit much more than that. It seems there are files to install and everything else. I will have to ponder if it is practical for me to use this or not. Thanks Again!
     
    bschneider5, Sep 29, 2005 IP
  11. timothy.gott

    timothy.gott Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Hope you found this a long time ago. However if others happen to stumble across then they should know it's a simple matter of using the <span> tag.

    <span title='Go to http://gottmilk.igottcha.com if you are interested in Truth, Eternal Relevance, and IT Stuff'><i>You can find me here</i></span>
    Code (markup):
     
    timothy.gott, May 10, 2012 IP
  12. ThomasVasquez12

    ThomasVasquez12 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I have scripting code of text hovering code.. just open it aonestudy.com
     
    ThomasVasquez12, May 11, 2012 IP
  13. saqib_islam

    saqib_islam Peon

    Messages:
    90
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    try this in style.css

    Your tag links class eg "tag" here

    
    .tag:hover {
    display:block;
    width:30px;
    height:20px;
    overflow:visible;
    background:url(images/youbackground.jpg) no-repeat center;
    padding-bottom:20px;
    position:relative;
    }
    
    Code (markup):
    Then you can use php to put the links in hover and that depends on your theme
     
    Last edited: May 19, 2012
    saqib_islam, May 19, 2012 IP