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

    The javascript dhtml menus works perfect locally, but when hosted it doesnt seem to work

Return to Recent Questions


Q: The javascript dhtml menus works perfect locally, but when hosted it doesnt seen to work, im sorry i dont completly understand what you mean when using the other parameters to make it absolute... here is the html files, and the .js files included in a zip file.


A: Now on your website you have the following code:

["Home","C:\Documents and Settings\Josh\Desktop\Josh\Alsek Website\home.htm", , , , "iframe", , , , ],
["Products","", , , , , , , , ],
["|Lift Kits","C:/Documents and Settings/Josh/Desktop/Josh/Alsek Website/Pages/LiftKits.html", , , , "iframe", , , , ],
...

On your website you're using paths to the pages situated on a local disk. It is not right.

You can try to write
["Home","pages/home.htm", , , , "iframe", , , , ],
["Products","", , , , , , , , ],
["|Lift Kits","pages/LiftKits.html", , , , "iframe", , , , ],
...

You can also use pathPrefix_link parameter.

var pathPrefix_link = "http://www.domain.com/";

and write

["Home","home.htm", , , , "iframe", , , , ],
["Products","", , , , , , , , ],
["|Lift Kits","pages/LiftKits.html", , , , "iframe", , , , ],





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. video background | bootstrap theme builder | easy website builder | bootstrap button | css slider