Results 1 to 8 of 8

Thread: Problem with All Levels Navigational Menu (v3.03)

  1. #1
    Join Date
    Oct 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with All Levels Navigational Menu (v3.03)

    1) Script Title: All Levels Navigational Menu (v3.03)

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

    3) Describe problem: I added the script in my MVC project in my _Layout.cshtml. I'm having a problem with the arrow images for the dropdowns. When my Url is like http://localhost:43975/Transaction , it's working fine. The arrow images are there. But when I navigate further and my url is like http://localhost:43975/Transaction/Create , the arrows dissapear. Please help. Thanks in advance.

  2. #2
    Join Date
    Oct 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anybody here? Please help. Thanks.

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,865
    Thanks
    49
    Thanked 260 Times in 252 Posts
    Blog Entries
    56

  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

    We cannot usually diagnose a problem occurring on the local computer. Sounds like the path to the images and/or to the css file is relative when it should be absolute.

    If you want more help, please put up a live example of the problem and provide us with a link to it.
    - John
    ________________________

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

  5. #5
    Join Date
    Oct 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah it was the path after all. I typed it "Content/images" when it should be "/Content/images". Thanks for the help it's working now.

    EDIT:

    Or not xD It's ok in localhost but not in iis. Anyways, I'll just have to figure out how to fix this myself.
    Last edited by jed0228; 11-10-2014 at 12:58 AM.

  6. #6
    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

    If you can put up a live example of the problem and post a link to it here, we will be glad to help.
    - John
    ________________________

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

  7. #7
    Join Date
    Oct 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Solved it now by having a hidden input that contains the correct url then modified ddlevelsmenu.js with something like:

    var root = $("#root").val();

    arrowpointers:{
    downarrow: [root + "/arrow-down.gif", 11,7], //[path_to_down_arrow, arrowwidth, arrowheight]
    rightarrow: [root + "/arrow-right.gif", 12,12], //[path_to_right_arrow, arrowwidth, arrowheight]

  8. #8
    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

    I think you're overthinking this. But if that works for you, that's absolutely fine.
    - John
    ________________________

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

Similar Threads

  1. Problem with Side version of All Levels Navigational Menu 2.2
    By amberj in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 01-07-2010, 05:45 PM
  2. Replies: 2
    Last Post: 09-02-2009, 05:59 PM
  3. Replies: 4
    Last Post: 03-21-2009, 07:31 PM
  4. All Levels Navigational Menu: Positioning and IE problem
    By modernalliance in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 01-08-2009, 07:35 PM
  5. All Levels Navigational Menu: Problem with ie7
    By dropdown in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-22-2008, 10:08 AM

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
  •