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




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.


Yes, Ive tried this myself over the last few days - and I had the same experience as you have. I could only make it work using the method I provided. The scroller on the nonworking_debug.wdgt is actually working, it just doesnt "update" the slider and thumb graphics. Also try moving the <div>myScrollBar</div> almost anywhere else in the widget, and you get a scrollbar which is working as it should (only it is misplaced of course). So the problem might actually be in the Stretcher.js file, like you suggest?


Thanks for the input.

-Frank

_______________________________________________
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>)
 >Re: Scrollbar using AppleScrollbar/AppleScrollArea and Slider.js (From: Julian Missig <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.