Log in

View Full Version : Omni image view fade and/or slide



tigger5
02-06-2009, 05:30 PM
I am sorry if this is not posted in the right place...was not sure where to put it...

Concerning Omni image view fade and/or slide (http://home.comcast.net/~jscheuer1/side/vfs/vac_import.htm), is there a place to set the "speed" that the images rotate through ??

also noted, that the enable caption/ make title does not seem to function unless i change
...name="Freedom Pond" rel="vf...
to
... title="Freedom Pond" rel="vf...

Maybe im just missing something ???..(using Safari 3.2.1)

jscheuer1
02-06-2009, 07:11 PM
For the first point use:


enableSlideShow : true, //Enable slide show(s) use - true/false or {load_area : delay}

The way this would work out is, say that your loadarea has an id of vac (as it does in this demo), then you can adjust the delay between slides like so:


enableSlideShow : {vac : 4000}, //Enable slide show(s) use - true/false or {load_area : delay}

If you were to have more than one show, with more than one loadarea, you could use:


{vac : 4000, otherone : 5000}

If using only true (as it currently has), it defaults to 3000. The number refers to the number of milliseconds between slides. 1000 = 1 second.

As to the other point, the title and name attributes of the links each perform different tasks, simply use the one that achieves your goal, no need to worry about it more than that unless you're using the optional Lightbox 2.04a tie in, which I believe you are not.

tigger5
02-06-2009, 11:50 PM
jscheuer1
very very VERY nice

here is a SMALL instruction sheet I started...far from complete, but I think a decent start for us simple folk...I will add to it as I play with the script...let me know if there is something u do not like/want changed etc...
Just trying to help out....

http://www.tigger5.com/OmniFade.html

tigger5
02-07-2009, 09:17 PM
jscheuer1...hello again....

I'm about to try adding a 2nd omnifade slideshow....just need to be pointed in the right direction..do I -----
A- Duplicate the vac_ext.htm and then just change the div names to what I will use/add ?
B- Just add new divs to the exhisting vac_ext.htm ?
In either cae, will I need to add/change anything in the vac_import.htm (an aside: I clipped the vac_import into its own js file and took the css and incorped it into mine...if u want straight links to them to look at, let me know... ...seems easier for editing ...)

If neither of these, please advise...thank you

jscheuer1
02-07-2009, 10:57 PM
It depends upon what you want to do. The 'top' page (in this case vac_import.htm) has the script code on it. As long as it is configured to recognise the imported content, that imported content may be in the form of A or B from your post. The 'top' page will continually listen for content that fits whatever it was configured to look for. You can replace the imported vac_ext.htm with another file, or import an additional file to another target area, as long as it is configured. If you are importing to a different target area, you need to configure and use a different id other then 'vac' for its slide show, because it would then be possible for both shows to be on the top page at once.