I Think you have a different problem. And perhaps more than one problem. At least from here, your page appears to be unstable. That is to say, if I repeatedly refresh it in any browser, sometimes it loads correctly, sometimes it doesn't. This has nothing to do with the crawler script. Like sometimes images are missing, sometimes they are not, sometimes external styles are missing, sometimes they are not, sometimes external scripts are missing, sometimes they are not. I'm not certain why. Perhaps it is my connection and/or your server. Those would be the most likely explanations. But it could simply be a combination of too much content and scripts together on one page.
But,
you are right, there is an extra problem in IE 7. I also notice that you have:
HTML Code:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
That tells IE 8 to show the page the way that IE 7 would. I'd get rid of that unless doing so really messes up the page in IE 8, because when I force IE 8 mode in IE 8, the page looks fine to me.
Now, back to the problem for actual IE 7 browsers. Move this:
Code:
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
inc: 3, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
direction: 'right',
moveatleast: 2,
neutral: 150,
savedirection: true
});
</script>
to the last thing before the closing </body> tag. And remove the width attribute from the table within the crawler markup (get rid of the highlighted):
Code:
<fieldset><legend><font size="2">آخرین محصولات فروشگاه</font></legend>
<div class="marquee" id="mycrawler">
<table width="100%" border="0" cellpadding="2">
<tr>
<td align="center" >
<div class="latest_added" >
<a href="p33-هانکوک---Hancock">
<img src="thumbnail.php?type=box&imag . . .
When all of the images, scripts, and styles loaded, which as I said was only part of the time, the above changes fixed the crawler in IE 7 here.
Bookmarks