Results 1 to 2 of 2

Thread: Image Thumbnail Viewer II to show enlarged image on page load

  1. #1
    Join Date
    Oct 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II to show enlarged image on page load

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem: I wonder if there is a way to have image 1 already enlarged on page load and then just change on hover/click because at present, I have a 300x300px blank space until a thumbnail is hovered on.

    Many 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

    This question has come up an awful lot. And it's easy to take care of. Let's look at part of the example markup - say this is you loading area:

    HTML Code:
    <div id="loadarea" style="width: 600px"></div>
    You can put anything (any normal HTML) you want to in there to begin with, for example:

    Code:
    <div id="loadarea" style="width: 600px"><img src="myfirstimage.jpg"><br>This is the First Image</div>
    It's probably best to follow the template shown (substitute the actual path and filename to your first image for 'myfirstimage.jpg' and change the text (This is the First Image) to what ever you want or skip it. But as I say, you can put any valid HTML in there you like. It will be overwritten once someone triggers an image using the script.
    - John
    ________________________

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

Similar Threads

  1. Replies: 1
    Last Post: 05-31-2013, 09:57 PM
  2. Image Thumbnail Viewer II - Default Large Image on Page load
    By doriggidy in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-17-2012, 03:53 AM
  3. Resolved Loading larger image on page load, image thumbnail viewer 2
    By Lucy92 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 11-24-2010, 10:38 PM
  4. Image Thumbnail Viewer II - image on page load
    By Quix in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 12-04-2007, 08:30 PM
  5. Thumbnail Viewer 2 displaying enlarged image on load.
    By Dozzer81 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 07-25-2007, 12:13 PM

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
  •