cmarie
02-21-2013, 04:52 PM
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:
function shrinkSlideshow() {
var newdimensions=[300,225];
return newdimensions;
}
function growSlideshow() {
var newdimensions=[400,300];
return newdimensions;
}
Any help on this would be most appreciated!
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:
function shrinkSlideshow() {
var newdimensions=[300,225];
return newdimensions;
}
function growSlideshow() {
var newdimensions=[400,300];
return newdimensions;
}
Any help on this would be most appreciated!