Versions

SmoothScroll.fwactionb.zip (2013-12-04) (Downloaded 834 times)

Contains:

  • SmoothScroll (page-action) - v. 0.5.4

Compatible: Pro 4, Pro 5, Pro 5.5, and Pro 6

SmoothScroll.fwactionb.zip (2013-08-22) (Downloaded 3 times)

Contains:

  • SmoothScroll (page-action) - v. 0.5.3

Compatible: Pro 4, Pro 5, and Pro 5.5

SmoothScroll.fwactionb.zip (2012-05-08) (Downloaded 1 time)

Contains:

  • SmoothScroll (page-action) - v. 0.5.2

Compatible: Pro 4, Pro 5, and Pro 5.5

SmoothScroll.fwactionb.zip (2012-05-05) (Downloaded 0 times)

Contains:

  • SmoothScroll (page-action) - v. 0.5.1

Compatible: Pro 4, Pro 5, and Pro 5.5

SmoothScroll.fwactionb.zip (2011-12-12) (Downloaded 0 times)

Contains:

  • SmoothScroll (page-action) - v. 0.5

Compatible: Pro 4, Pro 5, and Pro 5.5

SmoothScroll.fwactionb.zip (2011-07-25) (Downloaded 2 times)

Contains:

  • SmoothScroll (page-action) - v. 0.4.1

Compatible: Pro 4 and Pro 5

Author: Walter Davis

javascript css effects prototype scriptaculous

This Action gives all anchor links on your page an animated smooth scroll behavior, rather than “snapping” into view.

Apply the Action to your page, and any in-page anchors will be given the effect. You may set the duration of the effect anywhere between 1/10 second and 1 second using the Duration picker in the Actions palette.

23 Comments

never has worked at all for me. possible conflict with protaculous action on the same page??

works great- just do not add rounded corners or effects to your graphic.

Do you have a demo site?

This works great, but is there a way to have the address bar reflect the anchor?

Not as it is currently coded. If the address bar updated, you would see the page snap down.

It did not work

Link, or it didn't happen!

Walter - The address bar could be updated, as long as was updated after the animation has finished - the browser will snap to the same place it already is, so there would be no visible effect.

In Safari, maybe others, any change to any part of the Location field causes a repaint of the screen. I just tested this yesterday, and was shocked because the entire thing reloaded and repositioned. I suspect that it could be fixed by memorizing the current scroll offsets and then moving back to them immediately after the update. I don't have time to dig into this right now, care to have a crack at it? Use the Action to publish the code, then edit it in a programmer's text editor and see what you can get to happen.

Just wondering if there is an update for Freeway 7 on the way anytime soon? Or are there any alternatives to create the smooth scroll?

Hi Walter,

I have been using the smooth scroll action which a great action in Freeway Pro 7. I just wondering if there is a work around as my home page is now set as a php file to use CMS and the smooth scroll doesn't work any more. As I say it's a great action and really need it to work on the site I am building as it what my client has seen.

I appreciate your a busy, so any help on this would be great.

Cheers Mickey

The only way that a CMS or php would make any difference at all is if that CMS also loaded jQuery into the page through its admin template. (WebYep does this, at least by default, although you can change it over to Prototype if you read the documentation.) This Action, and most others, will not work in the presence of jQuery, because Prototype already declares a $() function, and jQuery tries to declare its own incompatible version.

Thanks for the reply, I am using Perch CMS.

But basically my client wants a slider Image gallery (With product name and description) with thumbnails underneath so they can update and add products when they need. (I have built this all is Freeway Pro 7 so far.)

Any suggestions on another way to do this? again any help would be great

Cheers Mickey

There are dozens, maybe hundreds of smooth scroll scripts out there, many for jQuery. Anything that requires jQuery will advertise that fact, and will probably work with your lightbox effect.

Okay, will have a look in to another script, thanks for the help.

Cheers Mickey

I'm using smooth scroll for the first time since purchasing the Esperanto template. I'm puzzled as around 30% of the time I have no problem using it, even on a site that I'm developing with webyep CMS. But the rest of the time I get the alert "The Action 'SmothScroll" on the page "home" took so long to execute that it timed out Cleary something's putting a spanner in the works to make it inconsistent but I haven't a clue what it would be. I've tried restarting everything to no avail. Anyone able to help? thanks

This error is happening during the publish cycle, so it's a good idea to try it out on a minimal page – very little content, and the Actions. Also ensure that you have the "Allow AppleScript in Actions" setting on in the Freeway preferences.

Walter

I'm using smooth scroll for the first time since purchasing the Esperanto template. I'm puzzled as around 30% of the time I have no problem using it, even on a site that I'm developing with webyep CMS. But the rest of the time I get the alert "The Action 'SmothScroll" on the page "home" took so long to execute that it timed out Cleary something's putting a spanner in the works to make it inconsistent but I haven't a clue what it would be. I've tried restarting everything to no avail. Anyone able to help? thanks

Thanks Walter

I was working on the site last night, published countless times and had no problem at all. I open my computer up this morning and Smoothscroll faults every time. It's illogical to me as nothing has changed at all other than working on it a few hours later.

I've duplicated the freeway document, stripped the page right down to a minimum of elements and it's still doing it. ("allow appleScript in Actions" is on in the Freeway preferences)

This can be an indication that your Mac's Internet connection is having intermittent packet loss. Open the Terminal, and type the following:

ping -c 100 www.softpress.com

Press return, and see if any packet loss is noted. If you do see some, open a support ticket with your ISP.

Hi Walter

You're absolutely right. I didn't end up having to open the Terminal once you stated the reason I realised that I was having the problem when I was working at a particular office location using their internet and it was fine when using my home internet. All sorted, with thanks.

Hi. I'm using an iMac (Yosemite) I've used SmoothScroll in the past and it worked fine, but that was a couple of years ago. I've since forgotten what I actually did to create them. I'm updating my website and I Googled to refresh my memory, SmoothScroll is needed but it doesn't appear to work. I've selected a graphic item (a button I created) and created the hyperlink to a graphic box (which I have made into an anchor). When I test in Safari, all links just jump back to the homepage - not one of them work. I emailed Softpress and the gentleman reminded me that I have to apply the SmoothScroll to the master page, which I have but it still doesn't work. I have to point out that I am not a tech person so bear with me. I hope someone can help and I understand the advice given. Thanks.

Ignore previous post - Softpress support found the solution. I suppose for anyone else with a similar issue… I create my websites using Illustrator/Photoshop and insert the artwork as images into Freeway Pro. I do this because I find it easier to bespoke the website to how I want to look, rather than working with a template that doesn't quite offer the style I'm after. Anyway, the following is the response I got from Softpress.

"Essentially, you need to be aware than when you work with “table-based” items (ie, non-layer items), all graphics placed on top of each other will combine into a single, large graphic. This is the default way that Freeway works with table-based items, and it works this way so that things like rollovers or stacks of target images will combine into a single item so they can be easily chosen in the Actions palette.

However, because of the way the graphic items on your page are all combining into a single item, this means that the individual anchor items (all of which need to be graphic items) are all the same item as the entire background of the page.

To fix things you simply need to select the “home” item (which is the large graphic in the background of the page) and switch off the “Combine Graphics” option. This will make it so that all graphic items used on top of the background item will work as individual items – and that makes the Smooth Scroll Action work like it should."

Sign In or Sign Up to comment.