|
Rank: Newbie Groups: Member
Joined: 2/18/2011 Posts: 6
|
Hi,
is it possible to dynamically set the size (width) and the VisibleItemCount (small items) after the slide control has loaded? (from javascript - client size)
I want to force the slide to display variable number of thumbnails depending on the with of the parent div.
Thank you.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I do not believe you can do that in the current version. That's an interesting idea though. We will look into it and see if we can add it.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/18/2011 Posts: 6
|
Oau,
this was really a fast answer. Amazing support. In this situation I do have another question in order to work-arround this situation: - can the prev-next buttons be repositioned on the left side of the control? (now they are aligned on the far right side).
This is in order to let the user scroll the control even when the browser window is to small to host the entire Slide Control, making the right-aligned prev/next buttons not accessible.
Thank you again for your fast reply.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Yes. You can do that. You can take a look of this sample: http://demo.essentialobjects.com/Demos/Slide/Client%20Side%20API/Demo.aspxEven though the scroll buttons are still on the right side of the control, but there are actually NOT a part of the Slide control, so you can move it to anywhere. Those are regular HTML links that calls our Slide control's client side JavaScript interface to scroll the slide. You can take a look of the sample source code to see how it works. Please feel free to let us know if you still have any questions. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/18/2011 Posts: 6
|
Thank you very much. What you suggested really did the trick. If, in the future, the client side will be extended to offer some more flexibility it will be great.
Great controls.
Thank you.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Glad that it works for you. Thank you very much for your feedback!
|
|