Results 1 to 2 of 2

Thread: mouseover and click function

  1. #1
    Join Date
    May 2006
    Posts
    98
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default mouseover and click function

    Hi there,
    I have looked at various scripts on dynamic drive. Can anyone tell if there is a script that has the functions on this website page.
    http://www.richardfurlongart.co.uk/frameGALL1.html

    maybe this one could be adapted

    http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    ie. mouseover link gets a small thumb, then onclick gets a larger image.

    If there is not one, I think it would be a nice addition to some great scripts on the site

    Thanks in advance.

    richard

  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

    That actually is a script like Image Thumbnail Viewer II being used inside of a frameset and could be done using Image Thumbnail Viewer II inside of a frameset.

    All you would need to do (once you setup your frameset) is add onclick events to the triggers (the circles on the example page) to load the larger image into the frame, for example:

    Code:
    <a href="some.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="This is an example" onclick="parent.window.frames['main'].location='some_bigger_jpg.htm';return false;"><img src="circle.gif"></a>
    Where 'main' is the name of the frame this and the Image Thumbnail Viewer II is in and that you want to fill with the page containing the larger image.
    - 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
  •