December 5th, 2004, 02:57 AM
|
#1 (permalink)
| | is 4 f00t secks
Join Date: Aug 2002 Location: Da Burgh
Posts: 4,509
|
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. |
| |
December 5th, 2004, 02:59 AM
|
#2 (permalink)
| | is 4 f00t secks
Join Date: Aug 2002 Location: Da Burgh
Posts: 4,509
|
alt= , looked at the source here  |
| |
December 5th, 2004, 03:04 AM
|
#3 (permalink)
| | Member
Join Date: Dec 2004 Location: Hayden
Posts: 38
|
Use a WYSIWYG... <img src="yourimage.yourextention" alt="your tooltip"> easy as that.
Last edited by Figgienfen : December 5th, 2004 at 03:06 AM.
|
| |
December 6th, 2004, 10:36 PM
|
#4 (permalink)
| | Ultimate Member
Join Date: Jan 2003 Location: MA / NH
Posts: 1,497
|
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 |
| |
December 6th, 2004, 10:40 PM
|
#5 (permalink)
| | is 4 f00t secks
Join Date: Aug 2002 Location: Da Burgh
Posts: 4,509
| 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? |
| |
December 6th, 2004, 11:04 PM
|
#6 (permalink)
| | Ultimate Member
Join Date: Jan 2003 Location: MA / NH
Posts: 1,497
| 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 |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |