Tooltip

CK CK 3788 
Created at  
409 0 0
This tool tips works well in IE, and Netscape.


<HTML>
<HEAD>
<style type="text/css">
<!--
.q a:visited,.q a:link,.q a:active,.q {text-decoration: none; color: #00c;}

.tooltiptitle{COLOR: #FFFFFF; TEXT-DECORATION: none; CURSOR: Default; font-family: arial; font-weight: bold; font-size: 10pt}
.tooltipcontent{COLOR: #000000; TEXT-DECORATION: none; CURSOR: Default; font-family: arial; font-size: 10pt}

#ToolTip{position:absolute; width: 100px; top: 0px; left: 0px; z-index:4; visibility:hidden;}
-->
</style>

<script language=javascript>
<!--
var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0
if(ns){doc = "document."; sty = ""}
if(ie){doc = "document.all."; sty = ".style"}
var initialize = 0
var Ex, Ey, topColor, subColor, ContentInfo

if(ie){
Ex = "event.x"
Ey = "event.y"

topColor = "#808080"
subColor = "#C0C0C0"
}

if(ns){
Ex = "e.pageX"
Ey = "e.pageY"
window.captureEvents(Event.MOUSEMOVE)
window.onmousemove=overhere

topColor = "#808080"
subColor = "#C0C0C0"
}

function MoveToolTip(layerName, FromTop, FromLeft, e){
if(ie){eval(doc + layerName + sty + ".top = "  + (eval(FromTop) + document.body.scrollTop))}
if(ns){eval(doc + layerName + sty + ".top = "  +  eval(FromTop))}
eval(doc + layerName + sty + ".left = " + (eval(FromLeft) + 15))
}

function ReplaceContent(layerName){
if(ie){document.all[layerName].innerHTML = ContentInfo}
if(ns){
with(document.layers[layerName].document) {
open();
write(ContentInfo);
close();
}
}
}

function Activate(){initialize=1}
function deActivate(){initialize=0}

function overhere(e){
if(initialize){
MoveToolTip("ToolTip", Ey, Ex, e)
eval(doc + "ToolTip" + sty + ".visibility = 'visible'")
}
else{
MoveToolTip("ToolTip", 0, 0)
eval(doc + "ToolTip" + sty + ".visibility = 'hidden'")
}
}

function EnterContent(layerName, TTitle, TContent){
ContentInfo = '<table border="0" width="150" cellspacing="0" cellpadding="0">'+
'<tr><td width="100%" bgcolor="#000000">'+
'<table border="0" width="100%" cellspacing="1" cellpadding="0">'+
'<tr><td width="100%" bgcolor='+topColor+'>'+
'<table border="0" width="90%" cellspacing="0" cellpadding="0" align="center">'+
'<tr><td width="100%">'+
'<font class="tooltiptitle">&nbsp;'+TTitle+'</font>'+
'</td></tr>'+
'</table>'+
'</td></tr>'+
'<tr><td width="100%" bgcolor='+subColor+'>'+
'<table border="0" width="90%" cellpadding="0" cellspacing="1" align="center">'+
'<tr><td width="100%">'+
'<font class="tooltipcontent">'+TContent+'</font>'+
'</td></tr>'+
'</table>'+
'</td></tr>'+
'</table>'+
'</td></tr>'+
'</table>';

ReplaceContent(layerName)
}
//-->
</script>


<TITLE>
TOOL TIP
</TITLE>
</HEAD>

<BODY ONMOUSEMOVE="overhere()" BGCOLOR="#ccffff" >
<DIV ID="ToolTip"></DIV>
<A CLASS=q HREF="javascript:void(0);" ONMOUSEOVER="EnterContent('ToolTip','Name :','Kiran'); Activate();" ONMOUSEOUT="deActivate()">Test</A>
</BODY>
</HTML>

Tags HTML Javascript Mouse Trailing Facebook X
Comments 0
Similar posts
  1. Add Message On Mouse Traling
    2,557
  2. Document Fader
    346
  3. Number Of Vists
    512
  4. Book Mark This Site
    405
  5. How to calculate page loading time ?
    360
  6. Icon Coupled Url
    427
  7. Move window
    548
  8. Button That Will Close The Browser Window
    350
  9. Button That Will Show The Page's Source
    387
  10. Add A Scrolling Status Bar Text To Your Site
    409
  11. Add This Page To Favorites
    401
  12. Code To Clear Browser History
    375
  13. Remove the spaces before begin and after end of text
    338
  14. How To Close A Pop-up Window ?
    443
  15. Pop Up Window On Top
    517
  16. How to display message on browser status bar ?
    476
  17. New Window
    606
  18. Color Table
    366
  19. Cursor Changer
    384
  20. Dual Scroller
    333
  21. Enlarge Image
    514
  22. Confirm The Link Clicked
    631
  23. Select And Deselect All Checkboxes By Javascript
    632
  24. Javascript Mouse Event Handler Example
    403
  25. Getting WebSearchers On Your Site
    374
  26. Hiding HTML on the browser
    462
  27. How to get date time in Javascript ?
    500
  28. Javascript based Alarm Clock
    668
  29. Javascript implemented Calendar
    423
  30. Basic Date Display
    513
  1. Javascript Prompts
    451
  2. How to know browser version in javascript ?
    444
  3. How to know the browser name in Javascript ?
    640
  4. Select All, None, Invert checkbox
    507
  5. Simple RSS Reader based on javascript
    502
  6. How to find the ip address of a client machine from a web application?
    518
  7. Put Date Time on HTML
    551
  8. IFRAME Auto Resize in IE, FireFox by Javascript
    456
  9. How to elimiate the "Restore Previous Session" dialog when FireFox 2.0 starts
    409
  10. How to include Javascript from anonther ?
    412
  11. Javascript based Browser Sniffing
    434
  12. Javascript based Regular Expression Tester
    374
  13. Two useful string functions - substr & substring
    409
  14. How to block a connection from the certain site ?
    353
  15. Is there URLEncode function in Javascript ?
    393
  16. Firefox Web Tweaking
    376
  17. Send An Email Using A Bean
    1,015
  18. jQuery and Function Chaining
    538
  19. Address Book
    577
  20. Displays the number of pages that the users browser has displayed in its session
    667
  21. Greeting For The Time Of Day
    393
  22. Access Granted
    587
  23. Cookie enabled browser checking in Javascript
    342
  24. Cookie Redirect
    497
  25. New content notifier in Javascript
    598
  26. Let popup once for event dialog or something like that in Javascript
    426
  27. Save And Restore Form Cookies in Javascript
    335
  28. How to record visitor's name by Cookie
    412
  29. Javascript & Cookie based Visitor Application
    437
  30. Cross Browser Event Management Functions Using JavaScript
    611
Recently updated
  1. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    42
  2. Why SPF and DKIM Are Essential for Linux Email Servers?
    36
  3. How do I create animated background for Google Meet?
    21,015
  4. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    251
  5. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    94
  6. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    157
  7. Array of arguments passed to script in PHP
    90
  8. Invalid Auction Storms in Ad Tech
    98
  9. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    202
  10. The Two Clocks of Ad Server Architecture
    70
  11. Frequency Cap Architecture Overview
    515
  12. Collecting Proof-of-Play from 100,000 Screens
    146
  13. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    288
  14. What is RedisVL?
    109
  15. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    232
  16. TPU & GPU Cluster Management Tools
    245
  17. The Concept of Scaffolding in AI Agents
    234
  18. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    583
  19. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    259
  20. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    339
  21. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    202
  22. Machine Learning: Training vs. Ranking
    222
  23. The Continuous Learning Machine: Designing a Loop That Actually Turns
    222
  24. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    195
  25. Designing a Data Curation System Around a Vector Database
    221
  26. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    256
  27. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    656
  28. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    196
  29. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    219
  30. Understanding Data Lineage
    262