Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrollbar using AppleScrollbar/AppleScrollArea and Slider.js



On 23 Nov 2005, at 15:13, Frank Aune wrote:


Den 23. nov. 2005 kl. 20.39 skrev John Louch:

Sending a sample widget would be the best approach.

jl


Hello,

And thank you very much for taking time answering my questions. Ive hosted two copies here:

http://stud.ntnu.no/~faune/widget/

The names are obvious. The nonworking version use AppleScrollbar/ AppleScrollArea, while the working version use Scroller.js.

Appart from differences in main .html, .js and .css file, the Scripts/Stretcher.js file also has some minor differences. This is because the method for refreshing/hiding/showing the scrollbar is different when you are using AppleClasses and Scroller.js.

To start with, the ScrollArea should be your "table" div, *not* the "center" div. The "table" div is the one you want to be scrolled. The "center" div is just a div you created which contains both the table div and the scrollbar.


However, once I change your JavaScript to use the "table" div instead of the "center" one, the scrollbar no longer appears at all. I assume this has something to do with the Stretcher and the display state of your scrollbar, but I didn't look very far into it.

Julian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Scrollbar using AppleScrollbar/AppleScrollArea and Slider.js (From: John Louch <email@hidden>)
 >Re: Scrollbar using AppleScrollbar/AppleScrollArea and Slider.js (From: Frank Aune <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.