PDA

View Full Version : Text and Image Crawler problem about text



shp1367
09-20-2011, 04:13 PM
1) Script Title:
Text and Image Crawler

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

3) Describe problem:

Hello dear jscheuer1 and thanks for your good scripts again,

The image crawler works perfectly for me but I found a new problem,

when I donnot use the script for box in my site without tag of:
<div class="marquee" id="mycrawler">
</div>
it looks like this image, it mean the texts break down to second line when it been too long
http://i.imgur.com/UR1js.jpg

but when i use the script texts Mixed with next image and text box looks like this image:

http://i.imgur.com/8BigM.jpg

my site is eshopple.com .

Please help me to fix it.

Thanks

jscheuer1
09-21-2011, 12:14 AM
Add this to your stylesheet:


.marquee0 table {
white-space: normal;
}

shp1367
09-21-2011, 04:44 AM
Add this to your stylesheet:


.marquee0 table {
white-space: normal;
}

tnx,but not effect:confused:
may i use the code in a wrong place!

I must add this to my total site CSS style ? or add to the marquee option?

this is the code i used for crawler:


marqueeInit({
uniqueid: 'mycrawler',

inc: 5, //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
});


tnx

jscheuer1
09-21-2011, 09:56 AM
Add it to total site CSS style.

shp1367
09-21-2011, 04:27 PM
Add it to total site CSS style.

any effect again :(

jscheuer1
09-21-2011, 06:01 PM
I just scanned your css for the entire page. That rule is not there.

shp1367
09-21-2011, 07:10 PM
I just scanned your css for the entire page. That rule is not there.

yes , i remove it when i donnot see effect
but now i put it again into my style css,please check.

it added to style.css
<link rel=stylesheet href="templates/view/eshopple/style.css" type="text/css" media="screen" />

tnx

jscheuer1
09-21-2011, 07:48 PM
Looks good here in Firefox 6.x, IE 9 in IE 9 and IE 7 modes.

What browser are you using?

Browser cache may need to be cleared and/or the page refreshed to see changes.

shp1367
09-22-2011, 06:27 AM
Looks good here in Firefox 6.x, IE 9 in IE 9 and IE 7 modes.

What browser are you using?

Browser cache may need to be cleared and/or the page refreshed to see changes.

oh yes,
in my Firefox 6.0.1 is donot work yet but in IE 7.0 it work fine.
it seems it is my FF problem here but thank you for your good support.

Good Luck dear friend.

jscheuer1
09-22-2011, 04:04 PM
I have Firefox 6.0.2 and it's fine in that, but I don't think that's the difference. All I had to do was refresh the page. But to be sure, close all but one tab and go to Google. Clear the browser's cache. Go to your page and once it loads, hit refresh.

A short cut in Firefox is to close all tabs except your page ant hit the f5 key while holding down the ctrl key. That refreshes the page and clears the cache in one operation.

shp1367
09-24-2011, 06:23 AM
I have Firefox 6.0.2 and it's fine in that, but I don't think that's the difference. All I had to do was refresh the page. But to be sure, close all but one tab and go to Google. Clear the browser's cache. Go to your page and once it loads, hit refresh.

A short cut in Firefox is to close all tabs except your page ant hit the f5 key while holding down the ctrl key. That refreshes the page and clears the cache in one operation.

Yes,Its work fine too here.
Tnx dear friend,

Now I have a new question but not about your script just about my site, now that the texts are two line, the size of box whit this lines are larger than box with one line texts if you see;

http://i.imgur.com/LmS6E.jpg

can i use a code to make a box with same size?
My mean is box with same size in 1 & 2 line texts.

Tnx

jscheuer1
09-24-2011, 07:15 AM
In styles.css around line #1545 add the highlighted:


.latest_added
{
padding-top: 5px;
background: #FFFFFF;
border: 1px solid #C5D1D0;
width: 160px;
height: 186px;
}

Also to balance them more vertically, at the end of that same file where we added:


.marquee0 table
{
white-space: normal;
}

You might want:


.marquee0 table
{
white-space: normal;
margin-top: -8px;
}

shp1367
09-24-2011, 09:31 AM
In styles.css around line #1545 add the highlighted:


.latest_added
{
padding-top: 5px;
background: #FFFFFF;
border: 1px solid #C5D1D0;
width: 160px;
height: 186px;
}

Also to balance them more vertically, at the end of that same file where we added:


.marquee0 table
{
white-space: normal;
}

You might want:


.marquee0 table
{
white-space: normal;
margin-top: -8px;
}

excellent,
Very very Thanks my friend.