Page 1 of 1
problems with IE6
Posted: Sat Aug 12, 2006 12:05 pm
by jammyjames
Hi,
I have two sites that I have been working on:
http://www.yarmouthportal.com &
http://www.maineventcollectables.co.uk/index2.php
They both have fixed sizes and it is very important for them to load correctly or they look terrible.
In Firefox they work fine but in Internet Explorer the page has to be refreshed for it to load properly and I don't know why.
Does anyone know what I could do to fix or prevent this from hapenning?
Thanks
James Edmonds
Posted: Sat Aug 12, 2006 12:17 pm
by Benjamin
Most likely your javaScript has a bug in it. Test it with the javaScript.
Posted: Sat Aug 12, 2006 12:27 pm
by jammyjames
test what with the javascript?
sorry if this is a stupid question
Posted: Sat Aug 12, 2006 12:46 pm
by Benjamin
I'm sorry, I meant without the javascript. Also there is a million in your <a href="#" title="Home Page"> link.
Code: Select all
<script type="text/javascript" src="scripts/ie7-standard.js"></script>
<script type="text/javascript" src="scripts/form.js"></script>
<script type="text/javascript">
// <![CDATA[
window.onload = function() {
prepInput('searchQ', ' Autographed Mask');
prepInput('subEmail', ' you@address.com');
}
// ]]>
</script>
Code: Select all
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
<!--
var sc_project=1723389;
var sc_invisible=1;
var sc_partition=16;
var sc_security="8b9396a9";
var sc_remove_link=1;
//-->
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script>
<noscript><img src="http://c17.statcounter.com/counter.php?sc_project=1723389&java=0&security=8b9396a9&invisible=1" alt="free html hit counter" border="0"> </noscript>
<!-- End of StatCounter Code -->
Posted: Sat Aug 12, 2006 12:49 pm
by nickvd
I'm sure he meant to turn off all javascript to see if that is what is causing the problem...
However, I would first recomend ensuring that the page(s) validate, as the first site you posted is showing 29 errors (
http://validator.w3.org/check?verbose=1 ... tal.com%2F)
Though browsing through the errors, i'm not seeing anything show-stopping bad, but it's always good to start from a clean, valid page...
<edit>
/me is a slow typer... heh
</edit>
Posted: Sat Aug 12, 2006 2:12 pm
by matthijs
Indeed, make sure the pages are valid. Certainly the javascript before the DOCTYPE is not correct. The validator doesn't recognize the DOCTYPE now.