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.
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.
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.
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.
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.
On 19 Apr 2011, at 09:38, Richard Lowther wrote:
Any further thoughts Tim? I am sure this should work no?