Results 1 to 2 of 2

Thread: Image Thumbnail Viewer II question

  1. #1
    Join Date
    Feb 2007
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II question

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem: Can I use this with a frame setup and have it so when I place the cursor over a thumbnail, it loads a page (not a picture) in another frame or, alternatively, is there a different way to simply have a link activate with a mouseover rather than a click?

  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

    Without using the script would probably be easier:

    HTML Code:
    <a href="image_1.htm"
    onmouseover="window.frames['iframe_name'].location.href=this.href;"
    onclick="return false;"><img
    src="image_1_tbn.jpg" style="border:none;"></a>
    The iframe would look something like so:

    HTML Code:
    <iframe name="iframe_name" src="beginning.htm" height="250" width="300"></iframe>
    If you wanted to avoid the page in the iframe from getting into the history stack, you would do:

    HTML Code:
    <a href="image_1.htm"
    onmouseover="window.frames['iframe_name'].location.replace(this.href);"
    onclick="return false;"><img
    src="image_1_tbn.jpg" style="border:none;"></a>
    - 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
  •