Board Logo

Tigra Slider Manipulation
j_search - 2/5/2007 at 03:58 PM

I would like to use the slider to manipulate an img tag. The img src would be defined by the height of the slider. I understand how to do this already (somewhat) because I have a working example. Here- paste.lisp.org/display/36391 is the code for my rater, however, it doesn't work nearly as fluidly as the Tigra Slider. It also has some other issues, hence why I want to use the Tigra Slider.

I'm not very keen on JS, so I'm unaware if this is an easy to implement this change or not. I would appreciate some hints on how I would go about adding the document.[imagename].src = arrayname[index#].src to your existing code.

Thanks,

_J


tigra - 2/5/2007 at 07:09 PM

Tigra Slider Control PRO allows you to hook your custom event handler to the slider events (such as onMove for example), as a parameter the handler receives the new value. This should work seamlessly with your existing approach. The free doesn't notify outside script about internal events so you'll need to embed your code inside the slider's code where it processes the position changes.


j_search - 2/9/2007 at 02:24 PM

Reader,

I can help you do this. Out of respect for softcomplex, I will not publicly post the solution. However, if you want to message me, I will provide you with the details.

_J


tigra - 2/9/2007 at 02:34 PM

http://www.softcomplex.com/forum/viewthread_4015/


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/