Results 1 to 3 of 3

Thread: About software that converts javascript to IE9 friendly.

  1. #1
    Join Date
    Sep 2011
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default 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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    kaushal (11-08-2011)

  4. #3
    Join Date
    Nov 2011
    Location
    Seattle, WA & Big Island, HI
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Try using one of the many JSLint tools available. Most the times, sticking to the standards will fix your problems.

  5. The Following User Says Thank You to hawaiiwebdesign For This Useful Post:

    kaushal (11-08-2011)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •