Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

[SOLVED] How to get directly to an image?

09-25-2009, 11:29 AM
# 1 (permalink)
dear all, thank you for this great tool and support!

I am trying to build a function (as "next, prev, pause"...) I would call like to add to slide.js that might take me directly to an image without forcing me to scroll the whole array with next,next....

This is what I've added to slide.js ...


        var offset; // this line at the top

    marco: function(type,offset2) {
             if(this.options.auto == "loop" || this.options.auto == "once") {
but the fact is that I don't know how to make the function do what I need.


	// Is the child defined?
		if(child && this.direction != "pause") {
//I'd like to ad something here to make it work

I've tried several solutions, for instance defining a new direction "still" and adding
else if(this.direction == "still") child = this.offset;

but it didn't work

So I am asking if anybody went through this (I know it's simple but I'm not really good with JS), and I beg for your help

Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

Members Login