home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1872
Discussions: 188,398, Posts: 2,243,591, Members: 232,627
Old December 5th, 2004, 02:57 AM   Digg it!   #1 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,509
Blog Entries: 3
how to do a link tooltip

how do you create a link that when you hover over it, a little description will show up. i can't find anything on google that is as simple as i think this should be.
__________________
Music (4/15/08) - Video (4/15/08) - blog - Legend of Six RPG

sixf00t4 is offline   Reply With Quote
Old December 5th, 2004, 02:59 AM     #2 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,509
Blog Entries: 3
alt= , looked at the source here

sixf00t4 is offline   Reply With Quote
Old December 5th, 2004, 03:04 AM     #3 (permalink)
Member
 
Join Date: Dec 2004
Location: Hayden
Posts: 38
Send a message via MSN to Figgienfen
Use a WYSIWYG... <img src="yourimage.yourextention" alt="your tooltip"> easy as that.


Last edited by Figgienfen : December 5th, 2004 at 03:06 AM.
Figgienfen is offline   Reply With Quote
Old December 6th, 2004, 10:36 PM     #4 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
Yes, that works for images as well as links. And links that are images.

Though if you really wanted to have fun, you could use some javascript... and make little boxes diferent colors and stuff come up!!!


Blaze
Blazer06 is offline   Reply With Quote
Old December 6th, 2004, 10:40 PM     #5 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,509
Blog Entries: 3
Quote:
Originally Posted by sixf00t4
i can't find anything on google that is as simple as i think this should be.
yeah, i know blaze. you don't have a few links though, for me to graze on, or others to stop by this thread, do?
sixf00t4 is offline   Reply With Quote
Old December 6th, 2004, 11:04 PM     #6 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
Code:
<html>
  <style>
    .ttip {
      border:1px solid black;
      font-size:12px;
      layer-background-color:lightyellow;
      background-color:lightyellow;
    }
  </STYLE>

<script>
  var tip=new Array
    tip[0]='Tip #1'
    tip[1]='Tip #2'
    tip[2]='Blaze Rocks'
    tip[3]='Jen Rocks Too'
           
  function showtip(current,e,num)
    {
      if (document.layers) // Netscape 4.0+
        {
          theString="<DIV CLASS='ttip'>"+tip[num]+"</DIV>"
          document.tooltip.document.write(theString)
          document.tooltip.document.close()
          document.tooltip.left=e.pageX+14
          document.tooltip.top=e.pageY+2
          document.tooltip.visibility="show"
         }
       else
         {
           if(document.getElementById) // Netscape 6.0+ and Internet Explorer 5.0+
             {
               elm=document.getElementById("tooltip")
               elml=current
               elm.innerHTML=tip[num]
               elm.style.height=elml.style.height
               elm.style.top=parseInt(elml.offsetTop+elml.offsetHeight)
               elm.style.left=parseInt(elml.offsetLeft+elml.offsetWidth+10)
               elm.style.visibility = "visible"
             }
           }
         }

  function hidetip(){
    if (document.layers) // Netscape 4.0+
      {
        document.tooltip.visibility="hidden"
      }

    else
      {
       if(document.getElementById) // Netscape 6.0+ and Internet Explorer 5.0+
         {
          elm.style.visibility="hidden"
         }
      } 
  }
</script>

<!-- CHANGE THE TIP STUFF HERE: -->
<div id="tooltip" style="position:absolute;visibility:hidden;border:1px solid black;font-size:20px;layer-background-color:lightyellow;background-color:blue;padding:1px"></div>

<a href="http://www.techimo.com" onMouseover="showtip(this,event,'0')" onMouseOut="hidetip()">Techimo</a>
<br>
<a href="http://www.blazeme.net" onMouseover="showtip(this,event,'1')" onMouseOut="hidetip()">BlazeMe</a>
<br>
<a href="http://www.700design.com" onMouseover="showtip(this,event,'2')" onMouseOut="hidetip()">700 Design</a>
<br>
<a href="http://www.resellerratings.com" onMouseover="showtip(this,event,'3')" onMouseOut="hidetip()">ResellerRatings</a>

</html>
Yip, I does.


Blaze
Blazer06 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"techimo . com" banner spacing sixf00t4 Suggestion Box 20 May 28th, 2003 12:35 AM
Tooltips Dissapeared Cody General Tech Discussion 1 August 25th, 2002 12:48 PM
Shortcut names do not appear correctly in Quicklaunch toolbars Fingers Applications and Operating Systems 16 June 13th, 2002 10:16 AM
newbie question how_2 Webmastering and Programming 8 April 6th, 2002 08:24 AM

Most Active Discussions
Is It Just Me? (2904)
Unarmed man on his stomach shot by .. (6)
3-days in and no threads about Gaza (161)
New Build ( Finally ) (6)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
Folderchat Weekday thread (444)
Upgrading RAM (6)
Recent Discussions
Left 4 Dead Small Freezes (3)
RCA 52Inch HDTV wont turn on (4)
wishin i could edit my aol prof.. (0)
For cheap price and good qualit.. (0)
Sporadic internet connectivity (2)
Assassins Creed PC Problems (40)
I think my PSU is dieing (1)
building a gaming computer, inp.. (0)
Iming and surfing slowed down (3)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 03:22 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28