PDA

View Full Version : Text and Image Crawler v1.5 help



Lyndon
02-29-2012, 04:12 PM
1) Script Title: Text and Image Crawler v1.5
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm

3) Describe problem:
Hi, I am trying to add internet page links to my pictures on the image crawler. Can anyone please advise me on how to do so?
Many thanks in advance.
Lyndon

jscheuer1
02-29-2012, 05:00 PM
Your crawler markup is something like so (you probably have more images, perhaps a different id):


<div class="marquee" id="mycrawler">
<img src="some1.jpg" alt=""><img src="some2.jpg" alt=""><img src="some3.jpg" alt="">
</div>

It's just ordinary HTML that the script takes and transforms into the crawler by duplicating the contents of the div and inserting it into other divs that it then moves around.

So you can simply add your links in the normal fashion:


<div class="marquee" id="mycrawler">
<a href="somepage1.htm"><img src="some1.jpg" alt=""></a><a href="somepage2.htm"><img src="some2.jpg" alt=""></a><a href="somepage3.htm"><img src="some3.jpg" alt=""></a>
</div>

One other thing. Since some browsers automatically add a 1px border to all linked images, you may want to put this in the head of the page:


<style type="text/css">
a img {
border-width: 0;
}
</style>

Lyndon
03-01-2012, 03:03 PM
Many thanks for your help Lyndon

Emmanuel couturier
06-07-2012, 11:54 AM
I, i'm try to add more than 5 images to your application Text and Image Crawler V1.5, i do have so many problems to succed in it, please explain to me how to do it.


Emmanuel Couturier
e.d.couturier mail.com

jscheuer1
06-07-2012, 03:48 PM
There's no big mystery. If you have 5 and it's working, just put another in there, and another, and another, and so on until you have all that you want.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.