|
Suddenly all the menu link targets don't work anymore in my javascript for 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 for 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:
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 javascript for menu parameter.
Return to Recent Questions
Related:
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these dropdown javascript items.
- Apr 23, 2009 - I cannot configure the actual links or link names in the dropdown menu java?
- Jun 06, 2009 - I tried to create the html version of the css menu example but it is still not working.
- Jun 18, 2009 - Is there a way to show a links like I have in the dynamic html menus if the JavaScript is not allowed on computer?
- Jul 30, 2009 - I need the cursor not to change when hovering over items which don't have links in menu css javascript
- Aug 24, 2009 - The javascript menu dhtml works fine in the javascript menu dhtml maker preview screen, but not on the html page.
- Aug 26, 2009 - I want to change the java drop down menus item link text from status bar messages to another value?
- Oct 16, 2009 - We want the hyperlink works fine for main items in down menus in javascript
- Dec 19, 2009 - The parameter var showByClick=1; doesn't work in OUR onmouseover examples???
- Jan 17, 2010 - I am not able to get the Keystrokes function to work in my menu and button.
- Jan 25, 2010 - Can a menu button not item that expands the submenu items when selected work as link?
|