AddThis Button upsets Show/Hide Layer

On this page http://www.lefonddelacour.com/ I have a rollover (contact or book now) which triggers a show/hide layer - opening and closing on a click.

If I insert an AddThis Button it ceases to work properly.
http://www.lefonddelacour.com/home2 (It also ceases to work if I insert an iFrame into the page.)

Can anybody shed light on this?

Richard


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

Hi Richard,
In your Rollover Action change the ‘Find Targets’ setting from ‘top’ to ‘this’.

Feel free to read the remainder of this email only if you are at all interested in why this broke. It really isn’t that important to know. :slight_smile:
What is happening here is that the rollover code is looking for target items to change both in your page and any child frames or iFrames. As it trawls through the page changing these targets the browser will throw an error if the script attempts to access a page outside of your domain (as this could be a security violation). Unfortunately the AddThis Action adds it’s own IFrame to the page which is why things start to break for you.
By setting the Rollover Action to ‘this’ the code tells the browser to look for targets just in the same page (or frame) as the master item. The upshot is that it should hopefully start working for you again. I hope.
Regards,
Tim.

On 15 Apr 2011, at 08:52, Richard Lowther wrote:

On this page http://www.lefonddelacour.com/ I have a rollover (contact or book now) which triggers a show/hide layer - opening and closing on a click.

If I insert an AddThis Button it ceases to work properly.
http://www.lefonddelacour.com/home2 (It also ceases to work if I insert an iFrame into the page.)

Can anybody shed light on this?

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

Hi Tim.
Well I read it all with interest and did what you suggested but it is still broke!
Works on another page though and I guess the client is not too fussed about it not working where I thought I would like it. But any further thoughts would be of interest.

Best wishes Richard


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

Any further thoughts Tim? I am sure this should work no?

Richard


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

Hi Richard,
After spending some time looking at this again this morning I can see that the rollover code (and specifically the FWCallHit function) is having issues with the iFrame in the AddThis button. Unfortunately I don’t completely understand the inner workings of this code although I know others at Softpress do. I’ll raise a bug on the issue and see if there is anything that can be done to either Action to mitigate the issue.
At the moment I see the booking layer appear when the contact us panel is clicked but it instantly fades and flickers as the code (I suspect) is sending multiple messages to it at the in quick succession.
Sorry I can’t be of any more help.
Regards,
Tim.

On 19 Apr 2011, at 09:38, Richard Lowther wrote:

Any further thoughts Tim? I am sure this should work no?


Tim Plumb
Creative Director
Softpress Systems

Follow us on Twitter: http://www.softpress.com/tny/064
Join us on Facebook: Redirecting...
Looking for a webhost? We love these guys: Softpress » Web Hosting Partners


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

Thanks for the info Tim - I will send on the FW doc for to look at - Richard


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