tpravioti
12-02-2009, 10:34 AM
i have a problem with this carousel : http://dev.victorstanciu.ro/experimente/prototype-showcase/
it says that it takes any number of images but it's not true because when i erase one of the seven that has, it doesn't work...
the error that shows is "this.senctions[this.half]"
i figured out that it works only with 3,5,7 etc images!!
and i want to put in the js code(file:showcase.js) the command "if (i mod2==0) break;" so that when i have for example 4 images, this carousel show only the three first and work correctly!!
but i don't know where exactly to put the command..
will u help me, please??
thanks and sorry about my english..
it says that it takes any number of images but it's not true because when i erase one of the seven that has, it doesn't work...
the error that shows is "this.senctions[this.half]"
i figured out that it works only with 3,5,7 etc images!!
and i want to put in the js code(file:showcase.js) the command "if (i mod2==0) break;" so that when i have for example 4 images, this carousel show only the three first and work correctly!!
but i don't know where exactly to put the command..
will u help me, please??
thanks and sorry about my english..