You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Forum user: ajay

Basic information

Registered Sep 22, 2009
Last login Sep 22, 2009
Forum posts 6
Direct URL http://www.flowplayer.org/forum/users/15904

Latest forum posts

Posts:

Registered:

Scrollbar Mousewheel Problem

Posted: Oct 21, 2009

I have a scrollbar defined.
CSS is defined as:
/* root element for scrollable items */
div.scrollable div.items {
position:absolute;

/* this time we have very large space for the height */
height:20000em;
}

Here if I remove height, scrollbar shows correctly.(like for 100 items its height is large and for 5 items is small and no scrollbar is displayed) , but mousewheel does not work :(

If the height is set as above, mousewheel works but height is not set correctly...

Please help...

Posts:

Registered:

» » » » » » How to get jQuery parent for which scrollable onSeek event is called?

Posted: Sep 23, 2009

Now that scrollbars are correctly displaying/working, mousewheel stopped working...
$("div.scrollable").scrollable({vertical:true,
size: 3
}).mousewheel();
If i undo the removed section in css, mousewheel starts working again... Strange..
Can anyone explain why the position and height set for items and scrollable as above?

Thanks in advance..

Posts:

Registered:

» » » » » » How to get jQuery parent for which scrollable onSeek event is called?

Posted: Sep 23, 2009

ok issue resolved...

removed the css defs below and it worked fine...
I guess earlier it was setting the height as fixed irrespective of number of items in the scrollable...

/* root element for scrollable items */
div.scrollable div.items {
position:absolute;

/* this time we have very large space for the height */
height:20000em;
}

Posts:

Registered:

» » » » How to get jQuery parent for which scrollable onSeek event is called?

Posted: Sep 23, 2009

I have initialised through a single call only... but as I mentioned each scrollable shows scrollbar as if total items in the scrollable are sum of all items in different scrollables...
Not sure if some bug in the library..I have checked many times and everything seems correct...

Posts:

Registered:

» » How to get jQuery parent for which scrollable onSeek event is called?

Posted: Sep 22, 2009

Awesome....

one more problem...

I have multiple scrollables as below...


<div id="main1">
	<div id="s1" class="scrollable">
		<div class="items">
			<div class="item">
			</div>
			<div class="item">
			</div>
			<div class="item">
			</div>
		</div>
	</div>
</div>
<div id="main2">
	<div id="s2" class="scrollable">
		<div class="items">
			<div class="item">
			</div>
			<div class="item">
			</div>
			<div class="item">
			</div>
		</div>
	</div>
</div>

It's initialising the scrollables with incorrect item size.
For both scrollable, the size comes out to be sum of both...
So if s1 has 5 items and s2 has 3 items, both scrollables show the scroll bars as if both have 8 items...Navigating at the end of items does not correctly reflect in the scrollbar...

Do I need to initialise all scrollables differently giving them different class and ids?

Posts:

Registered:

How to get jQuery parent for which scrollable onSeek event is called?

Posted: Sep 22, 2009

I have multiple tabs initialised through single statement like below.

$("div.scrollable").scrollable({
vertical:true,
size: 3 ,
onSeek: function(event, i) {

//different param to be passed based on which scrollable it is called for
somefunc(param);

}
);

Can it be done? Can I get the div id of the scrollable for which onSeek is called?