SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to create a tooltip for thumbnails

    Hi everybody
    How can I create a tooltip for all thumbnails
    I have installed several plugins but have not worked
    I want all the small images to view picture text will appear
    My site www.retete-super.ro
    What code to use
    Thank you all
    Last edited by Mittineague; Mar 6, 2013 at 17:37. Reason: removing unnecessary link

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    I see that you are running Wordpress. I have gone ahead and moved your question to the CMS & Wordpress forum.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,657
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Can you add your own code or are you locked into Wordpress plugins?

  4. #4
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to add the code to my theme
    I found a exemlu but I don't know how to put the code for the thumbnails
    examle http://www.menucool.com/tooltip/css-tooltip
    I want to defend this tooltip at all small pictures
    Thank you
    Last edited by Mittineague; Mar 6, 2013 at 17:57. Reason: removing unnecessary link

  5. #5
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,657
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I asked a question. Please answer it to proceed.

  6. #6
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My code is
    <a href="#" class="tooltip"> Tooltip <span> <img class="callout" src="src/callout.gif" /> <strong>Most Light-weight Tooltip</strong><br /> This is the easy-to-use Tooltip driven purely by CSS. </span> </a> <a href="#" class="tooltip"> <img src="../img/demo/css-tooltip-image.gif" /> <span> <img class="callout" src="src/callout.gif" /> <strong>CSS only Tooltip</strong><br /> <img src="../img/demo/css-tooltip-image.gif" style="float:right;" /> Pure CSS popup tooltips with clean semantic XHTML. </span> </a>


    And Css


    a.tooltip {outline:none; } a.tooltip strong {line-height:30px;} a.tooltip:hover {text-decoration:none;} a.tooltip span { z-index:10;display:none; padding:14px 20px; margin-top:-30px; margin-left:28px; width:240px; line-height:16px; } a.tooltip:hover span{ display:inline; position:absolute; color:#111; border:1px solid #DCA; background:#fffAF0;} .callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;} /*CSS3 extras*/ a.tooltip span { border-radius:4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -moz-box-shadow: 5px 5px 8px #CCC; -webkit-box-shadow: 5px 5px 8px #CCC; box-shadow: 5px 5px 8px #CCC; }
    How to integrate this code into my theme for the all small thumbnail image

  7. #7
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi everybody
    He never made anyone tooltip for the image thumbnail or cannot be completed
    Please if someone can help me
    My Site www.retete-super.ro
    Thank you
    Last edited by Mittineague; Mar 6, 2013 at 17:41. Reason: removing unnecessary link

  8. #8
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone know how to make 3 weeks all I'm looking for
    Thank you!

  9. #9
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by dani5555 View Post
    Does anyone know how to make 3 weeks all I'm looking for
    Thank you!
    You still haven't answered an earlier question. Is this from wordpress plugin, or your own code?
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  10. #10
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Force Flow
    This is the code for tooltip
    Example of site http://www.menucool.com/tooltip/css-tooltip
    HTML Code:
    <a href="#" class="tooltip"> Tooltip <span> <img class="callout" src="src/callout.gif" /> <strong>Most Light-weight Tooltip</strong><br /> This is the easy-to-use Tooltip driven purely by CSS. </span> </a> <a href="#" class="tooltip"> <img src="../img/demo/css-tooltip-image.gif" /> <span> <img class="callout" src="src/callout.gif" /> <strong>CSS only Tooltip</strong><br /> <img src="../img/demo/css-tooltip-image.gif" style="float:right;" /> Pure CSS popup tooltips with clean semantic XHTML. </span> </a>

    And Css


    Code CSS:
    a.tooltip {outline:none; } a.tooltip strong {line-height:30px;} a.tooltip:hover {text-decoration:none;} a.tooltip span { z-index:10;display:none; padding:14px 20px; margin-top:-30px; margin-left:28px; width:240px; line-height:16px; } a.tooltip:hover span{ display:inline; position:absolute; color:#111; border:1px solid #DCA; background:#fffAF0;} .callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;} /*CSS3 extras*/ a.tooltip span { border-radius:4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -moz-box-shadow: 5px 5px 8px #CCC; -webkit-box-shadow: 5px 5px 8px #CCC; box-shadow: 5px 5px 8px #CCC; }

    How do I add this code on my site for all small pictures
    When you put your mouse on the image 150 x 150 px I want to appear in the text view pictures
    The same thing to all the small images thumbails
    Please help
    Thank you
    Last edited by Mittineague; Jun 1, 2013 at 01:44. Reason: reformatting bbcode tags


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
  •