update initializing variables onclick and re-run the script...
.. well is it even possible and how could i do that?!
i'll try to explain better:
i run a carousel plugin which has initializing variables on my index page, which looks like:
- $(function() {
- $(".jMyCarousel").jMyCarousel({
- visible: '100%',
- speed: 275,
- start: -2146,
- mouseWheel: false
- });
- });
now what i need is an onclick event which tells the script to update the variable 'start' to '500' and then re-run the script without a complete page-reloading....
any ideas please ...