PDA

View Full Version : NewB question



mjsm
10-27-2004, 05:46 PM
I have just started creating web pages and I find cool new stuff every day!

I like the script for the "Image onMouseOver Effects". When your mouse runs over the "Link 1" or "Link 2" links, an information popup appears.

Here is my question... I am able to change the popup window's width to enter more text information, but I was wondering if it was possible to add more than one picture to the window?

Thanks in advance!

cr3ative
10-27-2004, 05:59 PM
Yes, the script will accept that.

cr3ative

mjsm
10-27-2004, 06:21 PM
OK!
How?
:o

mjsm
10-27-2004, 06:22 PM
The line
// tooltip content goes here (image, description, optional bgColor, optional textcolor)
seems to only take one image as a variable. How do you change it to take more?

cr3ative
10-27-2004, 06:43 PM
Try this, it might well work:

messages[0] = new Array('red_balloon.gif','Here is a red balloon on a white background<img src="file.gif">',"#FFFFFF");

cr3ative

SargeTron
10-30-2004, 12:06 PM
or:



messages[0] = new Array('yourimage.gif','yoursecondimage.gif','Your Text',"#FFFFFF");


Might work

cr3ative
10-30-2004, 12:07 PM
I really doubt that this above ^^ will work; if you look at how the script handles the array, it would not accept this.
(Fool.) :)

cr3ative

mjsm
11-19-2004, 05:58 PM
Cr3ative's script lines worked wonderfully! Thanks! :D
Is it possible now to post the text right after the image(s) instead of under them? How? :cool: