Results 1 to 5 of 5

Thread: Tabs Menu (mouseover)

  1. #1
    Join Date
    Jul 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Tabs Menu (mouseover)

    Hello, I have two questions. First off here is the exact script im trying to use. http://www.dynamicdrive.com/dynamici...bmouseover.htm

    1. Id like to be able to have some of my top links that activate the submenus not have to be a active hyperlink but still activate a submenu.

    2. Now this I'm sure there is an easy fix but I just have not found it. I would like to know how to adjust the distance between the top menu and the submenu. I want to increase the distance between them without increasing the font size.

    Thank you in advance, Donald

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    1 )
    Code:
    <a href="http://www.javascriptkit.com" onMouseover="showit(0)" onclick="return false;">JavaScript Kit</a>
    2 ) The spacing here is determined by normal HTML, add something that adds space, example:
    Code:
    <a href="http://www.javascriptkit.com" onMouseover="showit(0)">JavaScript Kit</a> | <a href="http://freewarejava.com" onMouseover="showit(1)">Freewarejava</a><br>&nbsp;<br>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is My code <a href="#.html" onMouseover="showit(1)">Assignments</a> that I'm using and my sub menu items show up but Assignments is a link and I'd like it to be just Text and still have the sub menu show up on hover. I tried this code as I interpreted them.

    <a href="#.html" onMouseover="showit(1)" onclick="return false;">Assignments</a>

    <onMouseover="showit(1)" onclick="return false;">Assignments</a>

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    HTML Code:
    <a href="#" onMouseover="showit(1)" onclick="return false;">Assignments</a>
    Is all you need, I don't know where you got that other line from. Also '#.html' is rather meaningless and might be throwing things off, use just # or a valid address instead.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for your help. That worked perfectly.

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
  •