Results 1 to 1 of 1
Apr 20, 2011, 19:52 #1
- Join Date
- Dec 2008
- Plymouth, United Kingdon
- 0 Post(s)
- 0 Thread(s)
jquery ui: ajax page + slider content
I want to make a content slider similar to this site, but a bit simpler.
This is what I came out with so far. But I am stuck:
I want to change the position of the slider handle when an ajax page is loaded. the width of `#content-holder` should be extended when the ajax page is loaded, from 1500px to 2000px (depends on how big the ajax page is).
the `#content-holder` should slide to the left when the ajax page is load so that this ajax page will always visible when it is loaded.
when the ajax page is closed. the slider handle should go back to the original position. and the width of `#content-holder` should be contracted back to the original (1500px).
You can read the code in my jsfiddle here.
Any ideas how I can achieve these 3 points?