-
About software that converts javascript to IE9 friendly.
Hello All,
I have a problem with javascript that most of browser support but only IE9 is not showing layout properly.
I know Layout means, all would think like it would be CSS problem but it is not css problem.
So I just want to know that is there any Software available that converts javascript to IE 9 favorable javascript?
Please Help.
Thanks.
-
-
No. It might be css though. Often what happens is that older javascript was written for IE prior to IE 9, or 8, or 7. There are still a number of marginally serviceable scripts, even a few fully serviceable ones that were written before IE 6. Script authors often did the most rudimentary test(s) for IE and just guided that browser down a slightly different path in the script, often with alternate css (within the script or outside of it) as well. IE 9 is now as fully standards compliant (sometimes more so) as other browsers though, so doing so for it is often a mistake.
Unfortunately the way these older scripts are written to detect IE varies, as does the use they make of that information. As a result scripts that are performing oddly or not at all in IE 9 must be gone over individually to see what might be done to bring them into the modern era.
To an experienced javascript person like myself, sometimes the resolution is obvious and simple. But sometimes it isn't. When it's not, even when it is, a more modern script that does the same or similar things might be a better solution than rewriting the older script.
If you're already working with a modern script, there could be other issues.
I assume you have a particular script in mind, right? If so, what is it? And if so, do you have a live example of the problem you could link us to?
-
The Following User Says Thank You to jscheuer1 For This Useful Post:
-
Try using one of the many JSLint tools available. Most the times, sticking to the standards will fix your problems.
-
The Following User Says Thank You to hawaiiwebdesign For This Useful Post:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks