[Pro] Custom Scroller

Hi Everyone,

I have created a custom scroller for my website and while it works well, I would like to know how I can make it scroll by also using the scroll wheel on a mouse rather than having to cllick and drag the scroll bar. Please see the example page from my site…click on “details” to get to the custom scroller.

Thanks for your hlep.

Tom

http://www.jgsdesigns.com/RESIDENTIAL%20PROJECTS/modernbeachvision.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Looking at the source of your page, I see a problem right away, completely unrelated to your question, but troubling. You have two sets of Scriptaculous loaded, first the current version 1.9.0, and following that, the older version 1.8.3. I am guessing that these were added by different versions of Scripty Actions, so you need to look through your Actions folder and the Forge, and figure out where the stragglers are coming from.

As far as getting the scroll wheel to do this, I have had a couple of requests for this, so I’ll have to find some time to look into this. It seems possible, just by adding a handler to the Event(‘yourbox’, ‘mousewheel’ …)

Walter

On Aug 21, 2012, at 1:26 PM, Tom wrote:

Hi Everyone,

I have created a custom scroller for my website and while it works well, I would like to know how I can make it scroll by also using the scroll wheel on a mouse rather than having to cllick and drag the scroll bar. Please see the example page from my site…click on “details” to get to the custom scroller.

Thanks for your hlep.

Tom

http://www.jgsdesigns.com/RESIDENTIAL%20PROJECTS/modernbeachvision.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks walt

I removed the scripty actions from my actions folder and then updated them to the newest versions. Will this fix the problem?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

There is an issue with some documents where the change will not work until you create a new document, existing documents may need to be ripped apart (all Actions removed from all elements that had them applied, published once, then re-attached) before the change will stick. Freeway helpfully caches a copy of each Action you use in a document within the document itself, and while this works fine for single-file Actions, complex bundle-based Actions like any of the Scripty Actions will cause this backup process to stick and then fail to update when the new Action is added to Freeway.

Try publishing again with the Control key held down (Publish becomes Publish Everything…) and see what happens.

If it doesn’t clear out the references to 1.8.3 in the head of your page, then you may need to go through the document and remove all Scripty Actions from all elements. (You wouldn’t need to delete the extra panes of a Carousel, for example, just remove Carousel Pane from each of them.) Publish once, then build up the pages again with their previous Actions. The new version should take hold.

Walter

On Aug 21, 2012, at 2:07 PM, Tom wrote:

Thanks walt

I removed the scripty actions from my actions folder and then updated them to the newest versions. Will this fix the problem?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I was curious about this, and so I googled the event. This is quite simple to add to the basic scroll stuff if you’ve built based on my example Protaculous code at Example Scroll Element . Just paste the following into the top Function Body dialog in Protaculous, and make sure to change the word outerFrame to match your own name for your outer DIV.

If you haven’t used Protaculous for this, then the process is going to be different. Trolling around the head of your page, I came upon a reference to dom-drag.js – is that what you’re using for your scroller? How did you build that?

Walter

On Aug 21, 2012, at 1:39 PM, Walter Lee Davis wrote:

As far as getting the scroll wheel to do this, I have had a couple of requests for this, so I’ll have to find some time to look into this. It seems possible, just by adding a handler to the Event(‘yourbox’, ‘mousewheel’ …)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options