Transition FX JS Error

I am getting a js error with Transition FX on a couple of pages that I have not altered but yet the error has just started appearing - the head has no properties - what does it mean exactly?

David


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

Hi David,
Looking at your screen shot of the error it looks like the action is
breaking because it can’t locate the head tag. The action should
really check for this with something like;

var headTag = fwDocument.fwTags.fwFind("head");
if (headTag){
	...etc

Do you have any other actions applied to these pages that are either
destroying the head tag or converting it to text?
Regards,
Tim.

On 25 Mar 2010, at 21:48, DeltaDave wrote:

I am getting a js error with Transition FX on a couple of pages that
I have not altered but yet the error has just started appearing -
the head has no properties - what does it mean exactly?

David

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


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

One of the pages has Upload Stuff and Remote Resources (as well as TFX) so I removed Remote Resources and that cleared it?

The other page only has CSS Menus and TFX but strangely enough after I removed RR from above then it was OK - go figure!

I am sure you are going to tell me why RR screwed it up.

David


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

No. I’m going to run and hide! :slight_smile:
As I expected the Transition FX action is looking for the head tag in
the page but the Remote Resources action has got there before it,
converted the tag structure to a bunch of text, done it’s thing, and
left the page with a block of corrected code. Although this updates
the paths to your resources as expected it does so in a heavy handed
fashion and, as we’ve seen, blocks actions that run after the RR
action expecting to find tags in the page.
There are several things we can do;

  1. Run away and forget this conversation ever happened,
  2. We can try and get the RR action to run after all of the others
  3. We can update the RR action so it does it’s thing without upsetting
    the rest of the actions it shares a page with

I vote for option 1! :wink:
Both actions run at fwAfterEndBody so try applying the Transition FX
action first and then the Remote Resources action and see if that
helps. I could tell you how to edit a copy of the Transition FX action
so it runs before the Remote Resources action but I suspect i’d be
hunted down by the rest of the folks at Softpress! :slight_smile:

Why is the Remote Resources action on the page? Are you trying to
build an HTML email with script effects or is it something more cunning?
Let me know how you get on with this.
Regards,
Tim.

On 25 Mar 2010, at 23:06, DeltaDave wrote:

I am sure you are going to tell me why RR screwed it up.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


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

No nothing cunning at all

It was purely a test page where I was mucking about - not a fully functional page so the fact that they don’t work together is no big deal.

Lesson learned about what not to mix though.

David


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