PDA

View Full Version : FrogJS move without clicking thumbs



vkbarefoot
02-27-2008, 12:28 AM
1) Script Title: FrogJS

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/frogjs/index.htm

3) Describe problem: Is these a way to make this move without clicking on the thumbs? With a 2 second pause when the image reaches it's largest size?

Thank you .... viki:)

Master_script_maker
02-27-2008, 12:37 AM
i haven't looked at the code, but wherever it says onclick replace it with onmouseover.

jscheuer1
02-27-2008, 02:24 AM
If a mouseover controlled gallery is what you want, that could work out, but it will be tricky to modify, as events (currently click events) are added and removed as Frog progresses, and this would need to be reflected in the change to mouseover. However, I get the impression that you want an automatic gallery that changes its images without any user input, is this so?

vkbarefoot
02-27-2008, 02:34 PM
yes - I would like it to continue without human input

jscheuer1
02-27-2008, 04:19 PM
Use the modified attached frog.js (in frog.zip linked below) script (note added configuration variables):


//-------------------------------------------------------------
// FrogJS v.1.1
// Created by Eric Puidokas (www.puidokas.com)
//
// Licensed under the Creative Commons Attribution 2.5 License
// (http://creativecommons.org/licenses/by/2.5/)
// Modified 27/Feb/2008 10:43 for auto-run by jscheuer1
// in http://www.dynamicdrive.com/forums/
//-------------------------------------------------------------

// CONFIGURATION VARIABLES
var thumbTop = '60px'; // distance you want you thumbnails to be from the top of their container
var loadingAni = 'images/loading.gif'; // image displayed when preloading images
var scalePercent = '300'; // percent thumbnails expand when fading into main image
var mouseoverpause = true; // set true to allow full user interaction onmouseover, false for limited-interactive gallery
// Note - Gallery will pause onmouseover of the main image area (for longer viewing, linked main images, if any)
// regardless of the above setting.
var nopause = false; // set to true only for a completely non-interactive gallery, otherwise use false.
// nopause, if true overrides mouseoverpause and any linked main images.

// GLOBALS
var imageArray = n . . .

1650