Results 1 to 1 of 1

Thread: Ultimate Fade In Slide Show with Media Queries

  1. #1
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade In Slide Show with Media Queries

    1) Script Title: Ultimate Fade In Slide Show

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


    3) Describe problem: I want to change the size of the slide show display based on a media query using Harvey.js. I am new to javascript/jquery and am not sure how to pass the variable dimensions to the script. I know that I need to set a variable to the returned value of my script, but I am not sure how to insert that into the dimensions array (instead of an absolute number). What I have thus far is:

    Code:
    function shrinkSlideshow() {
    	var newdimensions=[300,225];
    	return newdimensions;
    }
    
    function growSlideshow() {
    	var newdimensions=[400,300];
    	return newdimensions;
    }
    Any help on this would be most appreciated!
    Last edited by james438; 02-21-2013 at 05:43 PM. Reason: added code tags

Similar Threads

  1. Ultimate fade in slide show- fade time
    By shika in forum Dynamic Drive scripts help
    Replies: 10
    Last Post: 07-22-2010, 10:23 PM
  2. Ultimate Fade-in slide show v2.0
    By fchanes in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-18-2009, 10:22 AM
  3. Ultimate Fade-in slide show- show text descriptions?
    By bobvaz in forum Dynamic Drive scripts help
    Replies: 9
    Last Post: 06-07-2007, 04:27 PM
  4. Ultimate Fade-In slide show slide limit
    By RayCTX in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-31-2007, 08:13 AM
  5. Ultimate fade in slide show???
    By w00t_fatmike in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 06-07-2006, 08:42 AM

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
  •