Results 1 to 5 of 5

Thread: Text and Image Crawler v1.5 help

  1. #1
    Join Date
    Feb 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Text and Image Crawler v1.5 help

    1) Script Title: Text and Image Crawler v1.5
    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...wler/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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Your crawler markup is something like so (you probably have more images, perhaps a different id):

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

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

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks

    Many thanks for your help Lyndon

  4. #4
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to add more than 5 images to the Crawler v1.5

    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
    Last edited by jscheuer1; 06-07-2012 at 03:43 PM. Reason: protect email

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •