Ask questions and get good answers on jQuery

Is it possible that the controls will always be below the images which are shown in the scroller? What I’m thinking about is, if one picture has the height 100px the controls should be shown e.g. at height 110px. If the second picture has the height 300px the controls should be shown e.g. at height 310px.

asked Oct 26 '09 at 20:01

ShintaMan's gravatar image

ShintaMan
111

edited Nov 12 '09 at 20:30

Pietro%20Polsinelli's gravatar image

Pietro Polsinelli ♦♦
407


The mb.scrollable component height can be setted for the entire context and not just for a single element of the scrollable component; that's because the component can show as many item at once in the visible area, not just one per time; than which element set the height? If you don't set a height to the component, than it gets the higher height of the elements.

The control tool is defined by yourself as it's a dom element in the page; the component just set the action for each element that metch the class name with the predefined for a specific action (".next", ".previous", ".last", ".first", ".start", ".stop", etc.); That gives a great flexibility for aspect cusomization and the manipolation of it would be in conflict with that.

answered Oct 28 '09 at 18:59

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

edited Oct 29 '09 at 17:51

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×2

Asked: Oct 26 '09 at 20:01

Seen: 486 times

Last updated: Aug 04 '10 at 20:23

jQuery main site - Matteo Bicocchi