Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

does some expert know about Firefox

Status
Not open for further replies.

jimmyweb

Programmer
Dec 9, 2004
37
US
Hi Friends,

We developed a application and working well in internet explorer. but application does not work in firefox borrow.
this application involved in DHTML and dynamical JavaScript.
Does some expert know firefox properity.
such as DOMable true/flase; browserType, cssEnabled true/false

Thanks
Jimmy
 
firefox is superior to IE in adhering to DOM and CSS standards. if your app doesn't work properly in firefox it is most likely due to you using some IE only extension, such as document.all


-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
i like your sleeves...they're real big
 
Just to add a bit to what jeff stated (which was 100% correct), to get your app running in firefox pay close attention to the javascript console (Tools -> Javascript Console), it is usually VERY descriptive about what errors are happening. If you're used to developing in IE and using the piece of garbage error handling messages it provides, Firefox will be a Godsend.

-kaht

...looks like you don't have a job, so why don't you get out there and feed Tina.
headbang.gif
[rockband]
headbang.gif
 
Thanks for Kaht and Jeff.
my application involved in tree explorer.
such SubItem.expanded,document.writeln,document.links.name,document.getElementsByTagName(), this.document.createElement(arguments[1]), document.createRange(),item.submenu.items, ...
Jeff: Do we have other way to replace document... syntax to match firefox environment?
Also It seems that cooking does not work in refox. is it true?

Nice weekend
Jimmy
 
Hi Kaht,

I go to javaScript to got error information based on your email.
errormessage is
Error: unterminated string litera
Line: 2, Column:
Source Code:

if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {

Error: newStyleSheet.sheet has no properties

Line: 900

Error: menu is not defined
Line: 361
How to fix above error?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top