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


 

    Can I set pointer that tells path to all hierarchical menu files?

Return to Recent Questions


Q: I use menu with color graphic buttons, I believe the color buttons locate in @BOOK1\@Test_BOOK1.files.
At this directory level(please look in Book1.zip), the display is OK,

However, if I click on "06) Introduction.to.Small-Signal.Amplifiers\<< Introduction >>>(06_IT.htm)" to move to the next level, the color buttons will not display properly.

Can I set pointer that tells file 06_IT.htm that I have "@Test_BOOK1.files" in "@BOOK1" folder?


A: You can use additional parameters to make menu paths absolute:

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

These parameters allow to make images and links paths absolute.
For example:

var pathPrefix_img = "http://domain.com/images/";
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

Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif

Please, try to use these parameters.





Return to Recent Questions

Bootstrap Progress bar Jquery Bootstrap Sidebar Dropdown  |  Bootstrap Clearfix Style  |  Bootstrap Label Input  |  Bootstrap Slider Usage  |  Bootstrap Header Example  | 
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 | Free AI Website Builder | AI Website Builder | AI web design generator