Results 1 to 3 of 3

Thread: Image Thumbnail Viewer II: Initial image & description

  1. #1
    Join Date
    Mar 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II: Initial image & description

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem:

    I’m trying to make this script load an initial image and its description as soon as the visitor enters the page. I’ve found some solutions for the initial image problem by inserting this code <div id="dynloadarea" style="width:80px;height:225px"><img src="whatever.jpg"></div> but how about loading descriptions too? If I create another layer with the first description of the first image in it, when I click other image, its description will overlap the previous description, although not completely, but making the text unreadable, how can I solve this issue? Thanks!

  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

    Just replace the (red) text in here (from the demo):

    Code:
    <div id="loadarea" style="width: 500px">
    This DIV will show my enlarged images!
    </div>
    With whatever you like, example:

    Code:
    <div id="loadarea" style="width: 500px">
    <a href="http://www.google.com/" target="_blank"><img src="image_1.jpg" border="0"></a><br>This is the first image
    </div>
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wow, it's just a <br> tag haha! Thank you jscheuer1! Works perfectly!

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
  •