[Pro] ScriptyAccordion not working on all pages

Seems some 1600 posts have appeared while I’ve been away from here, so if this has come up before, just give me a pointer.

It started with a Target Show/Hide 60 Action problem in FWPro 5.6 where targets above 20 weren’t triggered. Solved by rolling back to FWPro v5.5.2. However, following Softpress Support’s advice, I also updated ScriptyAccordion Action to v0.6.7 and, since then, the menu on many of the pages fails to expand, although working fully on the ‘home’ and some other pages.

I’ve tried “Publish Everything”, deleting the whole site from the server and re-uploading, deleting the action - publish- reselect the Action and checked Styles match the settings, but to no avail.

Strangely though, I copied one of the errant pages to another document and uploaded to a test site and the accordion menu ‘just works’!

Compare http://www.greenmech.co.uk/company/contact.html
with
http://www.herefornow.co.uk/WY%20Menu/contact.html

The web site in question has had a number of updates over the last couple of years and ScriptyAccordon has behaved perfectly until this last time, so perhaps something has affected the code adversely - I wouldn’t know. Therefore, any clues from the better informed would be welcome.

Colin


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

Whenever something like this happens, the first thing to try is to
create a new Site Folder (Document Setup dialog, push the button in
the middle of the dialog and use the Finder to create a new folder.)

Then upload your site again. Any Action that creates files can get
confused from time to time and lose track of which file goes where.
Forcing Freeway to generate the entire site over again is a good way
to smack it awake again.

In your case, the page has two references to prototype.js in it, and
it should have one reference to prototype.js and another to
scriptaculous.js. Without the second script, you don’t get any whizzy
effects like slideDown.

Walter

On Aug 14, 2011, at 3:40 PM, ColinJA wrote:

Strangely though, I copied one of the errant pages to another
document and uploaded to a test site and the accordion menu ‘just
works’!


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

Thanks Walter - I knew you’d be quick back with a reply - and it was the one thing I forgot about, but have seen before on this forum. Shouldn’t have gone away for so long!

Colin

On 14 Aug 2011, at 21:17, Walter Lee Davis wrote:

Whenever something like this happens, the first thing to try is to create a new Site Folder (Document Setup dialog, push the button in the middle of the dialog and use the Finder to create a new folder.)

Then upload your site again. Any Action that creates files can get confused from time to time and lose track of which file goes where. Forcing Freeway to generate the entire site over again is a good way to smack it awake again.

In your case, the page has two references to prototype.js in it, and it should have one reference to prototype.js and another to scriptaculous.js. Without the second script, you don’t get any whizzy effects like slideDown.

Walter


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

Just as an update, the problem is fixed. The Site Folder change alone was not enough, but a ‘Save as…’ to a different file name and removal of all ScriptyAccordion Action instances in the Masters showed one page still had it applied (must have become unlinked from its Master at sometime and thus duplicated). Removing that, re-publishing, then reapplying ScriptyAccordion in the Masters, followed by a clean upload did the trick.

Thanks again for pointing me in the right direct, by noting the ‘prototype.js’ duplication.

Colin


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