Results 1 to 3 of 3

Thread: Need help setting default image

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

    Default Need help setting default image

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem: I have managed to integrate this code into my current website, however, at the moment there is a big white space when the page loads, which is only filled when you mouseover the first image. Is there any way I can set the first thumbnail of the gallery to load as a default into the loadarea as the page loads?

    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

    Just hard code it into your load area, ex:

    HTML Code:
    <div id="loadarea" style="width: 600px"><img src="whateveryoulike.jpg" alt=""><br>
    Optional text here if you want it</div>
    You can put anything you want in there. It will be overwritten the first time a trigger is activated (thumbnail is moused over).
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Starstruck (10-02-2011)

  4. #3
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much - you are an absolute diamond!!

    That has worked perfectly, and is the cherry on top of an entire weekends work! YAY!

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
  •