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:
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)?
Update your subscriptions at: