How To Get Spry Slide Function To Remember Position?
hello,
i'm building site horizontal bar has dynamically loaded thumbnails of images, , user can click on left arrow or right arrow "slide" images left , right (a bit recent netflix interface, if you've seen that). in effort quick 'n' easy, employed spry effects (spryeffects.js)--specifically, slide function ( mm_effectslide(), or spry.effect.doslide() ).
i user click on right arrow , see next, say, 10 images, , next 10 , on. achieve this, created long div inside "masking" div , told spry slide inside div. works well.
however, i'm having trouble getting spry start current position , slide new position. if leave "from" option null, still starts position other current position.
does have tips/pointers/suggestions? i'd rather not recreate entire javascript functionality, rather hack existing spry functions.
thanks in advance!
jp
it sounds me though you're using wrong spry feature. want, need spry sliding panels.
unfortunately, spry sliding panels not incorporated dreamweaver, need code yourself. documentation here:
http://labs.adobe.com/technologies/spry/samples/slidingpanels/slidingpanelssample.html. you'll need download spry framework adobe labs relevant external javascript files.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment