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


 

    I never succeed to see images in the dhtml menu examples using my default folder hierarchy...

Return to Recent Questions


Q: I never succeed to see the images in the dhtml menu examples using my default folder hierarchy (ie : a folder for the html files and a folder for the js files). The only way for me was to create the data.files folder in the html folder. It works but it does not follow my production standard. Did I forget something ?

A: You should set relative paths according to your html page.
For example, you have such file structure:
web-content/
   data/
     dmenu.js
     data.js
   Artwork/
     image.gif
     ...
   pages/
    1.html // page with the dhtml menu examples
    2.html // page with the dhtml menu examples
...

So in Deluxe Tuner you should open image.gif file.
You will have, for example:
d:\webpages\site\web-content\Artwork\image.gif

Then you should delete "d:\webpages\site1\web-content\" and add ../ prefix. The path will be:

../Artwork/image.gif

You can also set path_prefix
var pathPrefix_img = "../Artwork/";

Or you can try to use absolute paths, for example:
var pathPrefix_img = "http://domain.com/images/";






Return to Recent Questions

Related:
Bootstrap Menu Responsive Bootstrap Radio Set  |  Bootstrap Checkbox Label  |  Bootstrap Accordion Table  |  Bootstrap Offset Usage  |  Bootstrap Columns Mobile  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. web editor | website generator | static website generator | wowslider.com | free bootstrap templates