Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 Posts

    [JQuery]IE page freezing, any advice please?

    Hi all,

    Iv created a page at http://www.brownscountryhouse.co.uk/.../index_new.php which loads perfectly in ff but keeps freezing in ie?

    Any advice? Thanks in advance!

    Kyle
    Last edited by Kor; 01-25-2010 at 02:37 PM. Reason: insert JQuery prefix

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    isolate all your embedded javascript codes within CDATA islands, to prevent an XML interpretation. IE is quite sensitive to that.
    Code:
    <script type="text/javascript">
    /*<![CDATA[*/
    
    your code here
    
    /*]]>*/
    </script>
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 Posts
    hey, thanks for your response. I tried what you said but the page is still freezing on load?

  • #4
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    If so, ask JQuery team (as I see you are using JQuery library). It is impossible to debug a library's core code. That sort of troubles (and million of other ones) happens often with javascript libraries/frameworks, especially when the coders are inexperienced.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #5
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 Posts
    ok will do! thanks kor!

  • #6
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    I'll move your thread into the Frameworks section, maybe someone who knows JQuery better than me might give you some help
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

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