PDA

View Full Version : DHTML tooltip



kompis
11-02-2004, 05:03 PM
Hi
I'm using a cool tooltip .
Is there a way to number the text within the tooltip?
Like this:
1. blabla bla
2. blalblelas
3. and so on....

Thanks.... Kompis

ddadmin
11-02-2004, 08:12 PM
You'll need to be a lot more specific, such as which script you're referring to? :)

kompis
11-03-2004, 05:36 AM
OH - OK!

As you probably already have guessed - I'm green!

I use what's on this site: http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm

What I would like to happen is to have the popup show the numbers from top to bottom like I tried to explain in the first post. I guess it could perhaps work by adjusting the width?!?!

As I said - I'm green!
Hope you get what I mean though.

Thanks

kompis
11-03-2004, 05:44 AM
It's me again

In addition to the above:
What about changing text color and font size?

Thanks again...... kompis

cr3ative
11-03-2004, 06:58 PM
Simple answer: use <br>. <br> is a line break (starts a new line).

So you could use this:

onMouseover="ddrivetip('1. JavaScriptKit.com<br>2. JavaScript tutorials<br>3. Vote Fairtrade','yellow', 300)";

Would produce this:

1. JavascriptKit.com
2. Javascript Tutorials
3. Vote Fairtrade

Hope this helps.

cr3ative

kompis
11-03-2004, 08:20 PM
Hi

That helps a lot!
Exactly what I was looking for - thanks!!

k