hi all,
in my site register page is crash in IE 8 and finally I have to restart the browser . If u have IE8 u can experience it ur self.
here is the link to the site
[url]http://oldtimerslost.com/otlTest/en/home[/url]
this page is ok in other broswers but only for IE8 and new version.
if any body have idea plz let me know.
thx in advance...
mysite is crashed in IE 8
Page 1 of 13 Replies - 206 Views - Last Post: 09 November 2011 - 03:37 AM
Replies To: mysite is crashed in IE 8
#2
Re: mysite is crashed in IE 8
Posted 08 November 2011 - 05:23 AM
Hey.
All your pages have these lines: (Starting at line #14)
However I can't find any of those IDs in your code.
For some reason the "Register" page is showing an error there, but the others aren't. IE8 apparently freaks out and crashes when this happens. (Tested on XP)
I recommend you try to just remove those lines. They don't appear to do anything in any case. (Unless I'm missing something.)
Also, if you are planning on using XHTML you shouldn't put Javascript in the XML markup. If the browsers were actually rendering this as proper XHTML you would no doubt get a long stream of parse errors. Use external Javascript files or CDATA.
Or just use a HTML4 doctype instead. Unless you actually plan on sending a proper XHTML content-type, don't use a XHTML doctype. You may as well use HTML4, seeing as the browsers fall back on HTML4 when you pass the "text/html" content-type regardless of your doctype.
All your pages have these lines: (Starting at line #14)
<script type="text/javascript">
$(function() {
$('#gallery1 a').lightBox();
$('#gallery2 a').lightBox();
$('#gallery3 a').lightBox();
});
</script>
However I can't find any of those IDs in your code.
For some reason the "Register" page is showing an error there, but the others aren't. IE8 apparently freaks out and crashes when this happens. (Tested on XP)
I recommend you try to just remove those lines. They don't appear to do anything in any case. (Unless I'm missing something.)
Also, if you are planning on using XHTML you shouldn't put Javascript in the XML markup. If the browsers were actually rendering this as proper XHTML you would no doubt get a long stream of parse errors. Use external Javascript files or CDATA.
Or just use a HTML4 doctype instead. Unless you actually plan on sending a proper XHTML content-type, don't use a XHTML doctype. You may as well use HTML4, seeing as the browsers fall back on HTML4 when you pass the "text/html" content-type regardless of your doctype.
#3
Re: mysite is crashed in IE 8
Posted 08 November 2011 - 09:17 PM
thanks for ur descriptive answere,,
is in header of the site , it is not used in this page but in other pages.
I comment the above code and run but stil get the same problem.'
plz help
thx in advance
<script type="text/javascript">
$(function() {
$('#gallery1 a').lightBox();
$('#gallery2 a').lightBox();
$('#gallery3 a').lightBox();
});
</script>
is in header of the site , it is not used in this page but in other pages.
I comment the above code and run but stil get the same problem.'
plz help
thx in advance
#4
Re: mysite is crashed in IE 8
Posted 09 November 2011 - 03:37 AM
hi all, I could fix the problem . problem was not in javascript or DTD but the syntax.
this page was full of incomplete syntax such as tables were not closed properly.
after adjusting the syntax I could fix it.....
and I learn many things about CDATA and DTD
thx all
this page was full of incomplete syntax such as tables were not closed properly.
after adjusting the syntax I could fix it.....
and I learn many things about CDATA and DTD
thx all
This post has been edited by menukadevinda: 09 November 2011 - 03:41 AM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote





|