I have a Webyep gallery within a loop and of course this gives me a long page.
So I added a ‘back-to-top’ link within the Webyep container which links to an anchor at the top of the page. Works fine.
But when I add smooth scroll it breaks - Java script error and it will not publish.
Note that I have a group of carousels on another page which are Wepyep editable. Therefore Webyep’s own built in Scriptaculous/Prototype references are turned off and Walter’s Scriptaculous added to the Gallery page to give me the Lightbox function.
Can you post a link to the page? I may be able to work out what is happening by looking at the published HTML/JavaScript. Also, make sure you have the very latest version of all Actions. The Scripty Actions were all updated to coincide with Freeway 5.6.4 – new versions of the JavaScript libraries.
Walter
On Mar 12, 2012, at 10:35 AM, Richard Lowther wrote:
I have a Webyep gallery within a loop and of course this gives me a long page.
So I added a ‘back-to-top’ link within the Webyep container which links to an anchor at the top of the page. Works fine.
But when I add smooth scroll it breaks - Java script error and it will not publish.
Note that I have a group of carousels on another page which are Wepyep editable. Therefore Webyep’s own built in Scriptaculous/Prototype references are turned off and Walter’s Scriptaculous added to the Gallery page to give me the Lightbox function.
I think this could be a problem cause he said, that he is unable to publish due to JS error within Freeway.
I tend to say:
Remove Walter’s Scriptaculous and try to publish again. If the JS error is gone it’s something between smooth scroll and scriptaculous.
I dunno if smooth scroll is transporting the needed libraries to the server similar than SP-action, but couldn’t this be a chance - and I tend again to say yes, so finally you’ve all you need for the lightbox-effect.
I have been running some tests and I can get a Web gallery to smoothscroll but only with the built in Protaculous. As soon as I put the actions Smoothscroll and Protaculous on the same page it breaks, with or without any Webyep stuff.
Walter you should have received a file to look at by now.