|
|
When I run the javascript onmouseover menu on my website I get javascript errors on page
Return to Recent Questions
Q:
When I run the javascript onmouseover 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 javascript onmouseover 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 javascript onmouseover 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:
- March 15, 2009 - How can I disable items in javascript onmouseover menu?
- Apr 02, 2009 - Where can I change the font size of the top javascript onmouseover menu items?
- Apr 05, 2009 - We have status bar errors that say: "Done, but with errors on page" in css pulldown menu...
- Apr 19, 2009 - Is there a way to set the default javascript onmouseover menu tab on a page load?
- Apr 24, 2009 - I have an errors on the menu popup in HTML application with 4 iframes.
- May 07, 2009 - I am interesting to use the javascript onmouseover menu for integration in some CMS...
- May 22, 2009 - I would like to have links of web navigation bar to our website when javascript turned off.
- May 23, 2009 - I can see only the code generated by the GUI tool.How should I install javascript onmouseover menu?
- Jun 16, 2009 - I want to add a javascript link with onclick event to the drop down menu web
- Jun 27, 2009 - How can I upgrade my javascript onmouseover menu to v.2.0?
- Jul 14, 2009 - Flash in Firefox browser disappears behind the javascript onmouseover menu.
|