Results 1 to 5 of 5

Thread: Textual tooltip Script help

  1. #1
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Textual tooltip Script help

    1) Textual tooltip Script

    2) http://www.dynamicdrive.com/dynamicindex5/linkinfo.htm

    3) I just had 2 questions about the script. I just wanted to say thanks first of all because it's a nice script. Sorry if these are 'newb' questions.

    First, if I wanted to go about applying CSS text/colour effects to the links, how would I do that?

    Second, before I found this script I had been working on a CSS menu for the following site: http://www.blissco.ca/test/ . I needed to find a way to have 'tooltips' popup right of the menu, and the script fits the bill. Is there any way to apply the script to my existing menu??

    Thanks a ton for any help. I really appreciate it.
    Last edited by tdu; 09-02-2008 at 03:16 AM.

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    For your first question. To apply color on the text, add this code on the head section of your page:
    Code:
    <style type="text/css">
    #scriptmenu a{
    color:#930; /* to make the text color maroon */
    }
    </style>
    For your second question, if I understand you correctly, that could be possible, just ensure to place this part on the right part of the menu:
    Code:
    <div id="descriptions" align="left">
    ... content here ...
    </div>
    If you mean something else, maybe you mean either of these instead:
    http://dynamicdrive.com/dynamicindex5/dhtmltooltip.htm
    http://dynamicdrive.com/dynamicindex5/dhtmltooltip2.htm
    http://dynamicdrive.com/dynamicindex...oontooltip.htm
    http://dynamicdrive.com/dynamicindex5/fixedtooltip.htm

    Hope it helps.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the tips so far.

    In regards to my first question, can you apply attributes like hover colour as well?

    Regarding the other examples, I need something that creates a layout just like the Textual Tooltip Script does. With a menu on the left, the text descriptions showing up in the right of it. It will run along the bottom of the site I linked, with the main content going in the square above it.

    My only 'problem' with the script is I'd like to dress up the links a little. I mainly work in CSS, and this is my first time using scripts from this site. I don't know how to edit link/text attributes within the script.

    Thanks
    Last edited by tdu; 09-02-2008 at 02:29 PM.

  4. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    My response should have led you on the nearest hint. You can make use of hover pseudo-class:
    Code:
    #scriptmenu a:hover{
    color:#930; /* to make the text color maroon */
    }
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  5. #5
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your help. I was actually able to combine both tips, and have almost managed to add the script to my old menu.

    I was just wondering if you could look at one more thing for me. Again, thanks 1000 times for the help.

    On this page I have my old menu on the bottom on the right just for reference.

    I have the script running with the new menu up at the top. I have them matched up pretty close, but I can't seem to remove the gap between the menu options. I am pretty new at this stuff and happy that I have even got this far. I assume I am likely missing something pretty obvious to get those menus matching.

    http://www.blissco.ca/test/blank.html

    I don't know if this is a questions I should take over to the html CSS forums at this point or not. If you have any suggestions, thanks.

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
  •