|
|
When I run the horizontal menu on my website I get javascript errors on page
Return to Recent Questions
Q:
When I run the horizontal menu on my website I get the following javascript errors on page:
Line: 16
Char: 18132
Error: Access is denied.
Code: 0
URL: http://www.site.id.au/left_frame.htm
When I run the site from my local PC with the horizontal menu, I don't get this error?
Could you possibly suggest why? I can't find anything on your site.
A:
Try to check all you paths.
original setting:
var tmenuBackImage="";
var titemBackImage=["",""];
changed to:
var tmenuBackImage="/images/blank.gif";
var titemBackImage=["/images/blank.gif","/images/blank.gif"];
You should set this parameter:
var tmenuHeight = "auto";
Try to specify units in "px".
var tmenuWidth = "180px";
It's necessary to specify exact value for Mozilla browsers. It helps
to position menus correctly.
Now you have the following parameters in the horizontal menu:
["||24","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/24.htm", , , , , "main_frame", , , , , ],
["||30 Days","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/30days.htm", , , , , "main_frame", , , , , ],
["||Battlestar Galactica","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/battlestarg.htm", , , , , "main_frame", , , , , ],
["||Blade","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/blade.htm", , , , , "main_frame", , , , , ],
["||Eureka","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/eureka.htm", , , , , "main_frame", , , , , ],
["||I Pity the Fool","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/ipitythefool.htm", , , , , "main_frame", , , , , ],
You cannot use local paths on your website. It is not correct
You should write for example:
["||24","site.id.au/guide/24.htm", , , , , "main_frame", , , , , ],
["||30 Days","site.id.au/guide/30days.htm", , , , , "main_frame", , , , , ],
["||Battlestar Galactica","site.id.au/guide/battlestarg.htm", , , , , "main_frame", , , , , ],
Return to Recent Questions
Related:
- Apr 05, 2009 - We have status bar errors that say: "Done, but with errors on page" in navigation web design...
- Apr 24, 2009 - I have an errors on the javascript menu creator in HTML application with 4 iframes.
- May 22, 2009 - I would like to have links of menu for html to our website when javascript turned off.
- Jun 16, 2009 - I want to add a javascript link with onclick event to the dynamic tree menu
- Sep 04, 2009 - How to use javascript calls when the link is clicked in the dhtml floating menu?
- Sep 05, 2009 - There are the features that, unfortunately, cannot be done in javascript drop menu...
- Sep 14, 2009 - We have errors in the menu dhtml javascript when we use two menu dhtml javascript on the one page.
- Nov 01, 2009 - Is it possible that your website menus call some javascript on mouseover?
- Nov 05, 2009 - I tried to use javascript function within the "Title item" of my menu bar html.
- Dec 20, 2009 - Is it possible to set right button menu up so the javascript function runs when clicking a tab?
- Dec 20, 2009 - Is it possible to add the javascript code to the vertical menu css instead of a standard links?
|