Results 1 to 4 of 4

Thread: Links on submenu don't work

  1. #1
    Join Date
    Dec 2008
    Posts
    20
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question Links on submenu don't work

    1) Script Title: All Levels Navigational Menu (v2.0)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/

    3) Describe problem: I have inserted a link url in the Side Drop Down Menu 2
    of my page on one of the submenus.
    When you click on the link called: Leisure, the link does not re-direct the page to the url in the link.

    To find the link that I am talking about; there are two menus on my page.
    The first menu is accessed by a button called: Products on this page.
    The second menu is accessed by a button called: Products on this site.

    The button that you want to click on is: 'Products on this site'
    This will expand a sub level. On this level; click on the title: 'Lifestyle'
    This will open another sub level.
    The link that I am talking about on this level is called: 'Leisure'

    The code in the sublevel menu is:
    <li><a href="#"><font color="#0066FF">Lifestyle</font></a>
    <ul>
    <li><a href="#"><font color="#0066FF">Career</font></a></li>
    <li><a href="#"><font color="#0066FF">Health</font></a></li>
    <li><a href="http://www.lotstoshopforcash.com/Products/Lifestyle/Leisure.htm"><font color="#0066FF">Liesure</font></a></li>

    </ul>
    Also note that when you when you hover the mouse over the button and the expanded levels before the <li> with the link; you will see the url address appear in the status bar of the browser window:
    http://www.lotstoshopforcash.com/Pro...Lifestyle/Test page.htm#

    When you hover the mouse over the <li>with the link, the # symbol disappears after the url address in the status bar and the url address of the link shows:
    http://www.lotstoshopforcash.com/Pro...le/Leisure.htm

    The site url where I have the problem is:
    http://www.lotstoshopforcash.com/Pro...est%20page.htm

    If you look at the source code, the menu and submenu codes are at the bottom of the page.

    I will also attach a copy of the ddlevelsmenu.js file.

    If anyone can help at all, that would be great,
    Thank you.
    Last edited by maximumovertime; 12-29-2008 at 02:32 AM. Reason: forgot to attach the javascript file

  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

    This menu is supposed to expand onmouseover. You've edited the code to do so onclick. I's probably due to this that you are having a problem. Upgrade to the current version (see the demo page) and leave it as an onmouseover expansion menu.
    - John
    ________________________

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

  3. #3
    Join Date
    Dec 2008
    Posts
    20
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    I have still been trying to find a way to correct this problem and have found that if I right click and open the link in a new tab or window, the link is active and works.
    I am wondering if this means that it is still possible somehow to figure out a way of solving this problem through the script or html.

    I have tried a command in the html code:
    HTML Code:
    <li><a href="the link address" onclick="false">Link text</a><li>
    and
    HTML Code:
    <li><a href="the link address" onclick="true">Link text</a><li>
    but neither of these seem to make any difference.

    I am wondering if anyone might know of a different command that might work in the html?

    thank you.

  4. #4
    Join Date
    Dec 2008
    Posts
    20
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    I have resolved the problem by editing the following line of code:
    <li><a href="http://www.domain name.com"onClick="parent.location='name of document.htm'";>Link text</a></li>


    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
  •