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

Your preferred username that is used when logging in.

Tabs + Slideshow problem Created Sep 6, 2010

This thread is solved

Views: 1230     Replies: 6     Last reply Sep 9, 2010  
You must login first before you can use this feature

DilipRamirez

Posts: 4

Registered:
Sep 6, 2010

Tabs + Slideshow problem

Posted: Sep 6, 2010

Hi guys, i'm developing a website and i'm on html /css /js stage, for a joomla integration later.

Recently I tried to implement a tab with multiple slides, each one in a tab as you can see onhttp://www.consultorawalme.com/maosvi/inter.php


$(function() {
			// setup ul.tabs to work as tabs for each div directly under div.panes
			$("ul.tabs").tabs("div.panes > div");
			$(".slidetabs").tabs(".images > div", {
 
				// enable "cross-fading" effect
				effect: 'fade',
				fadeOutSpeed: "slow",
			 
				// start from the beginning after the last tab
				rotate: true
			 
			// use the slideshow plugin. It accepts its own configuration
			}).slideshow(
				);
		});

Everything works fine, except for the next prev buttons that are on the slideshow of the first tab, they don't work, but the slidetabs (the little circles there) works great, hope someone can help me.

Thanks

DilipRamirez

Posts: 4

Registered:
Sep 6, 2010

» » Tabs + Slideshow problem

Posted: Sep 6, 2010

Reply to: » Tabs + Slideshow problem, from heikki
Even if it doesn't validate (just some mistakes on rules) I don't think that those errors are vital in the solution of the problem... if its so, let me know please.

heikki

Posts: 291

Registered:
Sep 5, 2010

» » » Tabs + Slideshow problem

Posted: Sep 6, 2010

Reply to: » » Tabs + Slideshow problem, from DilipRamirez
I think this library is quite well tested. In general, no matter what you are debugging, you should rule out the simplest mistakes first. Online validator is a good and easy first step in that direction.

And yes, it could be vital. :)

-- edit

Step 2 is even simpler, but let's not get ahead of ourselves.

DilipRamirez

Posts: 4

Registered:
Sep 6, 2010

» » » » Tabs + Slideshow problem

Posted: Sep 9, 2010

Reply to: » » » Tabs + Slideshow problem, from heikki
I'v solved the problems to pass the validator, yet no solution for the problem :/

heikki

Posts: 291

Registered:
Sep 5, 2010

» » » » » Tabs + Slideshow problem

Posted: Sep 9, 2010

Reply to: » » » » Tabs + Slideshow problem, from DilipRamirez
FireBug shows the next clue:


$(".slidetabs").tabs(".images > div", {effect: "fade", fadeOutSpeed: "slow", rotate: true}).slideshow is not a function

Your jquery tools package doesn't include the slideshow plugin.

DilipRamirez

Posts: 4

Registered:
Sep 6, 2010

» » » » » » Tabs + Slideshow problem

Posted: Sep 9, 2010

Reply to: » » » » » Tabs + Slideshow problem, from heikki
Thanks very much!! i don't know why it wasn't the slideshow function, but now works fine. Heikki, thank you very much!