(c) 2007, DHTML-Menu.com
  Recent Questions
  Write To Support

    Suddenly all the menu link targets don't work anymore in my javascript collapsible menu.

Return to Recent Questions

Q: I wonder if you can help me. I've uploaded all my files, including the menus to the client site.
All the menus were working fine, where each link was targeted to the frame "mainFrame" in the middle of the page. Suddenly all the javascript collapsible menu link targets don't work anymore. The targeting info has not changed but the linked pages are opening up in the same page, replacing the entire page.

A: Try to use absolute paths.

See the url browser tried to open:


instead of:


var pathPrefix_link = "http://domain.com/pages/";

These parameter allows to make links paths absolute.
For example:

var pathPrefix_link = "http://domain.com/pages/";

var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],

So, link path will be look so:

Please, try to use this javascript collapsible menu parameter.

Return to Recent Questions

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap builder | creador de paginas web | bootstrap navbar template | bootstrap modal popup | css menu maker