Re[2]: Linux / Firefox
2005/04/04 12:47
Viewed 13432 times
Replies: 1/3
Quite possibly :) Maybe you could have a look? http://temp.xtools.co.nz/themes/Xtools/menu2.htm I appreciate your help!
Re[3]: Linux / Firefox
2005/04/04 12:56
Viewed 15509 times
Replies: 1/2

Well, it's strange, it sometimes works and sometimes doesn't.

However, apparently, your web server returns .js files with the "text/html" content-type, which isn't good. Quite probably, Firefox sees that and doesn't interpret the script, which results in "DynarchMenu is not defined" in JavaScript console.

Please correct your server installation--make it return appropriate content-type headers for JavaScript files ("text/javascript").

PS: your skin looks cool. :-)

last
Re[4]: Linux / Firefox
2005/04/04 13:32
Viewed 17672 times
Replies: 1/1

You're exactly right! On our server we have a lot of dynamically generated JS files - for menu's generated from DB content etc. This is the first time I have seen a problem with having PHP parse .js files.

I placed the following code at the top of the menu file:
<? header('content-type: text/javascript'); ?>

And voila - the problem went away.

Thanx so much for your help.

PS - Another quick question. I am working on a theme for the Open Source version of SugarCRM. Does you license allow us to use your menu for Open Source projects like this?

last
Google