[ANN] SmoothScroll Action

I was reminded today about this simple script I wrote last year: http://freewaytalk.net/thread/view/69946
and decided to roll it up into a page Action so it would be easier
to use.

http://www.actionsforge.com/actions/view/214-smoothscroll

This is version 0.1, tested only in isolation, so I would appreciate
the braver among you trying it out on a page that uses the Scripty
libraries, like any of the Softpress bundled FX Actions, or Carousel
and many of my Actions. I can already imagine a conflict with Carousel
Tabs – this Action might hook the links in your tabs and try to
smooth scroll to them if the Carousel Tabs links were generated by the
time that this Action runs. Definitely something to try out and see if
it’s a problem.

Walter


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

Waltd–

I just tried this action and maybe it conflicts with “Sticker” but I’m pretty sure I set up my links right for my anchors and they look right in the code however when I click on them in my CSS Menu it just scrolls always to the top rather than to the specific anchor I have set up. My links in the CSS Menu do target those specific link ID’s.

I have set up shims to be placed inbetween areas with a DIV style added of “display:none;” so it’s there and the link ID tags are in there, it just won’t scroll anywhere except the top.

Any ideas?


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

Could you post a link to the page? I haven’t ever had any issue with
this when I create the anchors in the usual Freeway method, no matter
what version of HTML the page is published to. But I can’t say that I
have tested this in 5.5, so no telling if there’s something else going
on there, similar to how the other Scripty Actions are behaving for
you…

Walter

On Apr 23, 2011, at 4:23 AM, Dan J wrote:

Waltd–

I just tried this action and maybe it conflicts with “Sticker” but
I’m pretty sure I set up my links right for my anchors and they look
right in the code however when I click on them in my CSS Menu it
just scrolls always to the top rather than to the specific anchor I
have set up. My links in the CSS Menu do target those specific link
ID’s.

I have set up shims to be placed inbetween areas with a DIV style
added of “display:none;” so it’s there and the link ID tags are in
there, it just won’t scroll anywhere except the top.

Any ideas?


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

K, I emailed you off list about this action and I also found out that by setting my anchor shims to display none the browser couldn’t figure out where to scroll too. Once those were adjusted it scrolled fine until I tried it in Firefox 4 and it doesn’t scroll at all.


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

It’s a bug in script.aculo.us, and it’s been fixed there, but not in
the version used by the Action.

https://prototype.lighthouseapp.com/projects/8887/tickets/81-effectscrollto

Joe and I release our Actions with specific versions of these
libraries bundled inside. Then we do a lot of fiddling around at
publish time to figure out if the Mac you’re using is currently
connected to the net, and if so, we include live links to versions of
these libraries found on Google’s Content Delivery Network (CDN) so
your site will run faster. We key these to the exact versions of the
libraries that we wrote and tested against, and so you get the broken
1.8.1, warts and all, even though newer versions are available from
the CDN. I think we need to re-think that position, and maybe start
keying our Actions to particular branches of the libraries, rather
than specific minor point-release versions. Of course, it would help
enormously if there was a simple way to update all Actions that use
these libraries, perhaps by downloading from the CDN, rather than
having to release a bunch of updated versions of Actions each time
something gets fixed.

Walter

On Apr 25, 2011, at 1:02 AM, Dan J wrote:

K, I emailed you off list about this action and I also found out
that by setting my anchor shims to display none the browser couldn’t
figure out where to scroll too. Once those were adjusted it
scrolled fine until I tried it in Firefox 4 and it doesn’t scroll at
all.


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