FireFox-Javascript issue
-
Hi everybody, I develop a website with c# langage and Javascrip. It is opened with IE navigator well but in FireFox, most pages are not opened. How can I make my JS code compatible with Firefox navigator? ty
-
Hi everybody, I develop a website with c# langage and Javascrip. It is opened with IE navigator well but in FireFox, most pages are not opened. How can I make my JS code compatible with Firefox navigator? ty
Some of the stuff that interacts with the DOM, window, document and events are handled differently from browser to browser. You could build browser switches into your code to handle each situation differently for each browser you intend to support. You could just as well resort to a crossbrowser compatible javascript framework like jQuery[^] for instance which is my favorite. On the following site you can find a list of the more or less well known Javascript Crossbrowser Frameworks/Libraries[^]. Best Regards,
—MRB
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
modified on Thursday, August 4, 2011 11:05 AM
-
Hi everybody, I develop a website with c# langage and Javascrip. It is opened with IE navigator well but in FireFox, most pages are not opened. How can I make my JS code compatible with Firefox navigator? ty
Manfred R. Bihy is 100% correct and your issue is one of the reasons why these frameworks are so popular, they handle the browser specific behaviours so we can focus on coding the application/webpage.
Chris J www.redash.org
-
Some of the stuff that interacts with the DOM, window, document and events are handled differently from browser to browser. You could build browser switches into your code to handle each situation differently for each browser you intend to support. You could just as well resort to a crossbrowser compatible javascript framework like jQuery[^] for instance which is my favorite. On the following site you can find a list of the more or less well known Javascript Crossbrowser Frameworks/Libraries[^]. Best Regards,
—MRB
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
modified on Thursday, August 4, 2011 11:05 AM
Hi Manfred, I work with the EXT JS Framework, but some instructions differ from browser to browser.So if i develop a version of my application for each browser, that will be sooooo expensive in the two sides time and code. ty
-
Hi Manfred, I work with the EXT JS Framework, but some instructions differ from browser to browser.So if i develop a version of my application for each browser, that will be sooooo expensive in the two sides time and code. ty
Hi Pierre, what instructions are you talking about? Surely it must be something you're doing in plain javascript and not the ExtJS framework. Please give and example and try to explain what difficulties you are experiencing in regard to browser dependant coding. À bientôt !
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925