PDA

View Full Version : Text and Image Crawler problem on IE



shp1367
05-17-2010, 07:24 PM
1) Script Title:
Text and Image Crawler

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm

3) Describe problem:

Hello dear jscheuer1 and thanks for your good scripts,

The image crawler works fine on most browsers but when i open the page in IE, the crawler can not display this effect or can display this effect but the content of this website is being disappear.

I checked some related pages about this issue here too but I cannot solve my problem yet,
my site is http://www.eshopple.com .

Please help me to fix it.

Thanks

djr33
05-17-2010, 07:28 PM
The crawler is jumpy in Firefox 3, Mac OSX.
This might also be related.
I'm not sure how to fix it, but the extra info may help.

shp1367
05-17-2010, 07:52 PM
hi dear,

thanks for attention but at this thread i saw that owner of site solved his problem,
http://www.dynamicdrive.com/forums/showthread.php?t=53427

but i couldn't understand how?

jscheuer1
05-17-2010, 10:16 PM
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:


<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:


<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):


<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.

shp1367
05-18-2010, 01:01 PM
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:


<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:


<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):


<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.

Tnx friend,
Its work now.

shp1367
05-18-2010, 02:17 PM
I have a new question too?
Can I use this script for up-down effect too?
If yes,how?

jscheuer1
05-21-2010, 12:06 AM
Like:

http://home.comcast.net/~jscheuer1/side/lightbox2.04a/conveyor_oo.htm

?

shp1367
05-21-2010, 06:49 AM
Like:

http://home.comcast.net/~jscheuer1/side/lightbox2.04a/conveyor_oo.htm

?

Yes,
Exactly,

shp1367
05-21-2010, 07:09 PM
Like:

http://home.comcast.net/~jscheuer1/side/lightbox2.04a/conveyor_oo.htm

?

Where can i find this script's code?

jscheuer1
05-21-2010, 10:09 PM
Use your browser's view source to see the on page code. The part that is relevant to ImageMotion begins:


<script type="text/javascript">

ImageMotion.sliders = [

(function(){var slider = [];
//Specify the slider images
slider[0]='<a href="images/image-3.jpg" rel="lightbox[grp1]" title="leaves"><img src="images/thumb-3.jpg" alt="" title="Thumb #3"border=1><\/a>';
slider[1]='<a href="images/im . . .

The ImageMotion script is here:

http://home.comcast.net/~jscheuer1/side/lightbox2.04a/js/imagemotion.js