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

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

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 cascading menu javascript 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:

http://domain.com/a_bp/bpdoc/3sell/32_sales_order_management/321_sales_order/
7operations/72_monitor_operations/index.html

instead of:

http://domain.com/7operations/72_monitor_operations/index.html

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:
http://domain.com/pages/index.html

Please, try to use this cascading menu javascript parameter.





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap menu | website editor | icon font | bootstrap buttons | jQuery Slider Free Download