(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    This morning, all the menu link targets don't work anymore in my css javascript 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. This morning, all the css javascript menu link targets don't work anymore. That is, the targeting info has not changed but the linked pages are opening up as a _parent page -- that is, replacing the entire page.


A: You should 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 parameter.





Return to Recent Questions

Related:
Mobile-friendly Page Maker Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Bootstrap Toggle Tabs  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Builder | AI Website Maker | Website Generator AI | AI web design generator