Results 1 to 4 of 4

Thread: Thumbnail Viewer II - Fade-in Effect

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

    Default Thumbnail Viewer II - Fade-in Effect

    This script is great! Thank-you...

    1) Script Name: Thumbnail Viewer II

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

    3) Problem: The only thing i would like is for the fade-in effect to work in Firefox..

    Currently the script 'thumbnailviewer2.js' seems to use this line to create the fade-in effect:
    iefilterstring: 'progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)',

    Any way to add something similar for FF to create a fade-in effect as well?
    Last edited by ddadmin; 06-06-2007 at 03:51 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    In Firefox, any transitional effect would need to be created from scratch, which is way I didn't add it in to begin with when I was in a rush to get the script out. The line:

    Code:
    progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)
    is a IE filter, which is an IE feature that makes adding certain visual effects quick and easy.

    Once I have time I may add a transitional effect for Firefox users as well, though I will say the first script to get this treatment most likely will be the Featured Content script.

  3. #3
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi
    I'm using the same script on www.fineartireland.c*m, and like wise it looks great except for a small niggle with the fade-in in IE7. When the page is refreshed, instead of each image fadingin nicely, the top third of some of the images loads first and then the restfades in. Any ideas?
    Andy

  4. #4
    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

    I couldn't get it to misbehave simply by reloading the page. I did notice some strange effects on the first load. I would try setting a style height for the image container division (coreright on your page) that is the height of the tallest image + the height of any text that gets displayed (this looks to be about 357px). If that doesn't get it, I'd try preloading the larger images. In any case, the larger images should be optimised.
    - 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
  •