jQuery Slider Help

Hello,

I am using slider from this site : http://slidesjs.com. Its working OK however I am to make the
 "view collection" link to be relevant to the current slide?

However I am having no luck in this. Please can someone help?
Thanks
 

http://www.groomup.com/www/giftnew/gellary.html

Open in new window

dairaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ChrisCommented:
This should do the job for you. You will need to ensure that the 'view collection' link has an id of view-collection.

You also need to add to each slide div a "title" attribute with the url to the specific item. You can either add the absolute url however a relative url will work fine.
$(function(){
	$('#view-collection').click(function(){
		$('.slide').each(function() {
			if($(this).css('display') == 'block') {
				window.location = $(this).attr('title');
			}
		});
	});
});

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dairaAuthor Commented:
thanks I will check and let you know
dairaAuthor Commented:
thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.