Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Mouseover Disctionary
Old 05-21-2008, 11:46 AM Mouseover Disctionary
offline's Avatar
Novice Talker

Posts: 7
Name: Chris Edwards
Trades: 1
I am looking for a way to do mouseovers to give the definition of particular words that are in a web page. I was trying to find something that would let me mark the begging and end of a section to be included. Something like...
http://www.dynamicdrive.com/dynamici...mltooltip2.htm
but I would like to use a text file or database to hold the words that match and there definition.

Any help would be appreciated.

Thanks,
__________________
Chris Edwards

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

offline is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-21-2008, 01:00 PM Re: Mouseover Disctionary
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
I wrote a little thing to do this a long time ago.
http://willcode4beer.com/tips.jsp?set=defs

It will require you to use definition tags though.

Basically, just wrap words to get it with <dfn> tags. ex
Code:
<dfn>MyHardWord</dfn>
Then include a definition list (with matching words) in the page somewhere (it can be hidden):
Code:
<dl>
   <dt>MyHardWord</dt>
  <dd>The definition of my word is...</dd>
</dl>
The code is pretty old, so try not to laugh too much. Maybe I'll get around to re-writing it sometime.
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Mouseover Disctionary
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14826 seconds with 12 queries