Results 1 to 6 of 6

Thread: DHTML tooltip

  1. #1
    Join Date
    Nov 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML tooltip

    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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    You'll need to be a lot more specific, such as which script you're referring to?

  3. #3
    Join Date
    Nov 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OH - OK!

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

    I use what's on this site: http://www.dynamicdrive.com/dynamici...tmltooltip.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

  4. #4
    Join Date
    Nov 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's me again

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

    Thanks again...... kompis
    Last edited by kompis; 11-03-2004 at 05:45 AM. Reason: typing

  5. #5
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  6. #6
    Join Date
    Nov 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi

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

    k

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •