Results 1 to 2 of 2

Thread: Ultimate Fade-in slideshow

  1. #1
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow

    1) Script Title: Ultimate Fade-in slideshow

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

    3) Describe problem:
    The settings say this:
    The dimensions of the slideshow in the format [width_int, height_int] with pixels being the assumed unit. These two values should be set to the dimensions of the largest image. Any image within the slideshow with width or height that exceeds the specified values will be clipped partially.
    I was wondering if there was a way to use a setting for the images besides pixels? I was looking to try percentages but am unsure how to make this switch

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    It is probably not the right way to do it, but I have been experimenting with something like this in the head-section:
    Code:
    <style type="text/css">
    #fadeshow1 { 
            margin-left:auto; 
    	margin-right:auto; 
    	margin-top:10%;
    }
    .gallerylayer{ 
            background-color:#FFF !important;
    }
    </style>
    
    <script type="text/javascript">
    jQuery(document).ready(function(){
    			jQuery('#fadeshow1').css({
    			'width':'80%',
    			'height':'600px'			
    			});			
    			jQuery('.gallerylayer img').css({
    			'width':'100%',
    			'height':'auto'
    		});
    });
    </script>
    Last edited by azoomer; 06-04-2010 at 07:28 PM.

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
  •