You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

tab/slideshow functionality also for overlay/gallery plugin ? Created Feb 14, 2010

This thread is solved

Views: 4133     Replies: 13     Last reply Jan 22, 2011  
You must login first before you can use this feature

and_jo

Posts: 2

Registered:
Feb 14, 2010

tab/slideshow functionality also for overlay/gallery plugin ?

Posted: Feb 14, 2010

Has anyone yet tried to combine the tab/slideshow functionality with the overlay/ gallery plugin ?

dehuszar

Posts: 11

Registered:
Apr 20, 2010

» tab/slideshow functionality also for overlay/gallery plugin ?

Posted: Apr 23, 2010

Reply to: tab/slideshow functionality also for overlay/gallery plugin ?, from and_jo
I have been trying to do so, but haven't been able to reconcile the differences in structure between what the tabs call for in terms of loaded content versus how loaded elements are called in the overlay/gallery context.

If there were a way to call the tabs/slideshow plugins from inside a gallery of items, that'd be rad. I would love to have a play/pause trigger in there and be able to recycle the gallery's next/prev buttons using the tabs plugin, but it all just breaks everytime I've tried.

Anyone else?

javanoob

Posts: 2

Registered:
Apr 27, 2010

» » tab/slideshow functionality also for overlay/gallery plugin ?

Posted: Apr 28, 2010

Reply to: » tab/slideshow functionality also for overlay/gallery plugin ?, from dehuszar
Anyone ever figure this one out????

cesarcesar

Posts: 40

Registered:
Jun 29, 2010

» tab/slideshow functionality also for overlay/gallery plugin ?

Posted: Jun 30, 2010

Reply to: tab/slideshow functionality also for overlay/gallery plugin ?, from and_jo
I am also looking to do a slideshow using overlay. Anybody have success yet?

cesarcesar

Posts: 40

Registered:
Jun 29, 2010

» » tab/slideshow functionality also for overlay/gallery plugin ?

Posted: Jun 30, 2010

Reply to: » tab/slideshow functionality also for overlay/gallery plugin ?, from cesarcesar
Seen this. Anyone try and succeed?


No more Overlay Gallery plugin

The previous jQuery Tools version had an Overlay Gallery plugin for
 making a "lightbox" type of slideshow. It didn't fit with the rest
 of the library mainly because of its hard-coded logic. So it was
 dropped! Something similar can be achieved with the the Slideshow
 plugin and placing it on Overlay. 

brokemeister

Posts: 2

Registered:
Aug 27, 2010

[Solution] Overlay Slideshow Tab

Posted: Aug 27, 2010

Reply to: » » tab/slideshow functionality also for overlay/gallery plugin ?, from cesarcesar
It's pretty simple...


var overlay = jQuery("#ProductImageOverlay").overlay({...});
var clickcounter = 0;
jQuery("#ProductImageSlideTabs").tabs("#ProductImageSlides > div", {
	fadeOutSpeed: "slow",
	rotate: true,
	onClick: function(event, index) {
		if (clickcounter > 0) {
			overlay.eq(0).overlay().load();
		}
		clickcounter++;
	}
}).slideshow({...});


You just have to remove one line in the tabs.js:

if (i === current) { return self; }
or (if you have multiple usages) replace this line with:
if (i === current  && conf.enableCurrentTab === false) { return self;}
and add the param "conf.enableCurrentTab: false" as default in the tabs.js.

JimH

Posts: 1

Registered:
Oct 23, 2010

» [Solution] Overlay Slideshow Tab

Posted: Oct 23, 2010

Reply to: [Solution] Overlay Slideshow Tab, from brokemeister
I'm also making a slideshow, with different-sized images in an overlay. The solution provided by brokemeister worked for me, with the exception that I needed to change onClick to onBeforeClick. Otherwise the first initialization of the overlay would show all of the images until I did a next() or previous() call.

I also didn't need to modify the jQuery Tools library (v1.2.5) for this to work.