Results 1 to 2 of 2

Thread: [DHTML] Expanding Clipped Image

  1. #1
    Join Date
    Aug 2007
    Posts
    17
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default [DHTML] Expanding Clipped Image

    I am not sure if something like this already exists, or exactly what it should be called, but it may be useful for some.. Feedback appreciated.

    1) CODE TITLE:
    Expanding Clipped Image

    2) AUTHOR NAME/NOTES:
    - Ryan Dutton
    - Tested in Firefox2, IE6 and Opera9

    3) DESCRIPTION:
    The clip style of the image is animated to expose the full image using the onmouseover JavaScript event. The image returns to the original 'clip setting' once the mouse pointer moves off the image.
    Full description here : http://www.theredplanet.org/javascri...-clipped-image

    4) URL TO CODE:

    Implementation description
    http://www.theredplanet.org/examples...ped_image.html

    JavaScript Class code
    http://www.theredplanet.org/examples...Image.class.js

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Simple, but very nice. I like it.

    It also functions without trouble in Safari 2, so congratulations on that. Not so common.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •