PDA

View Full Version : [JQuery]IE page freezing, any advice please?


kyllle
01-25-2010, 11:01 AM
Hi all,

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

Any advice? Thanks in advance!

Kyle

Kor
01-25-2010, 01:03 PM
isolate all your embedded javascript codes within CDATA islands, to prevent an XML interpretation. IE is quite sensitive to that.

<script type="text/javascript">
/*<![CDATA[*/

your code here

/*]]>*/
</script>

kyllle
01-25-2010, 02:02 PM
hey, thanks for your response. I tried what you said but the page is still freezing on load?

Kor
01-25-2010, 02:07 PM
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.

kyllle
01-25-2010, 02:31 PM
ok will do! thanks kor!

Kor
01-25-2010, 02:36 PM
I'll move your thread into the Frameworks section, maybe someone who knows JQuery better than me might give you some help