it would be very simple.
1. put the data in the sql database
2. output the page to the browser, building the javascript
arrays....like they do here....
var tip=new Array
tip[0]='This is the state where I was born<br>Minnesota'
tip[1]='This is the state of Pennsylvania'
tip[2]='Sample tooltip without a link, <BR>this can just
highlite something<BR> or serve to explain the meaning<BR> of industry
buzzwords'
3. order your output query by name or something that is "constant"
4. and build your image map info before hand...
its done.
tw
-----Original Message-----
From: Julia Green [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 7:30 PM
To: CF-Talk
Subject: Does anyone know anything about imagemaps and ColdFusion?
I saw a map of America at Brandeis about two years ago where a student
could mouseover the map, and information for each area of the country
came from a database all written in ColdFusion.
I figured out how to do it in javascript and dhtml, but how do you get
the tooltips to come from the table or whatever, use a cfoutput
tag...but how do you get the message in a javascript tooltip...You don't
have to go into the sql or anything -- just how do you get the mouseover
tooltips to work...
See http://www.juliagreen.com/map.htm
Put your cursor over Minnesota and Pennsylvania -- if I was trying to
get a percentage or something from a table how would I do it? You are
free to look at the sourcecode. I have done searches for Coldfusion
tootips, coldfusion imagemaps all to no avail...
***************************************
Julia Computer Consulting
Web Design @ Reasonable Prices
Email: [EMAIL PROTECTED]
www.juliagreen.com
Phone: 617-926-3413
Cell: 617-596-6003
Fax: 1-309-437-7979
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Get the mailserver that powers this list at
http://www.coolfusion.com