PDA

View Full Version : Image w/ description tooltip. Array question



gefelkafish
11-22-2007, 03:29 PM
Hi guys!
Im completely new to Ajax and my question(problem) is typed here below!

/best rgds

gefelkafish


1) Script Title:
Image w/ description tooltip

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm

3) Describe problem:
Is there any way to make the "Array" just post text and not
"image,text,and bgcolor"


// tooltip content goes here (image, description, optional bgColor, optional textcolor)
var messages = new Array();
// multi-dimensional arrays containing:
// image and text for tooltip
// optional: bgColor and color to be sent to tooltip
messages[1] = new Array('test.gif','test',"#FFFFFF");

jscheuer1
11-22-2007, 03:43 PM
Use one of the tool tip scripts from this index:

http://www.dynamicdrive.com/dynamicindex5/index.html

gefelkafish
11-22-2007, 09:59 PM
Thank you sir!