[Pro] onclick attribute not being properly appended

I have a graphic with a rollover where ‘onclick’ triggers the hide/show target action to hide a layer.

I also want to set a cookie when this graphic is clicked, so I add the call to my setCookie function from the graphic’s ‘Extended’ dialog: onclick=setCookie(‘tester’,'successful,1)

But the code FW generates for the item looks like this:

agree

The second ‘onclick’ attribute is of course not doing anything. If I hand edit the code to append my cookie function call to the first ‘onclick’ attribute with the FW function calls, all works as expected.

Very frustrating. I thought the various actions were designed to place nice with extended attributes set through the FW interface but apparently not.

Is there any other way than having to hand edit every page of this site each time I publish a change (because this cookie setting element is displayed on every page if the cookie does not exist)?


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

Obviously posting html snippets here does not work very well. But you should be able wade through all the added backslashes to see what I am referring to.


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

Nevermind…

BrainFart = typo in function call I inadvertently corrected when hand editing.


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