I have added avatar on my page and I have applied my own CSS to the avatar. But now face movement of the avatar on mouse movement is not proper. The movement reference is not with respect to the current position of avatar but rather the reference point for mouse movement is at the right side of the page see "Here" text on the image below.
I have already reported the problem by email but I have not had an answer.
The script does not work on the site, even the previews.
I attach a screen
I escaped the text so that sayText() works.
KPMG's page entitled "Italy - Overview and introduction"
KPMG\'s page entitled \"Italy - Overview and introduction\"
In cases with the single quote ' it works fine, but it does not work with the double quote "
what do I need to do to make this work?
Hi Tora -
I think your question is more of a JS question that a sayText specific question.
I tried your text - as is, without adding any foreslashes - in our sayText example page -
It worked fine.
So - sayText has no problem with this input.
But in our example page the text is not included as a literal within the code, but entered by the user and provided to sayText as a variable.
In your own test page I am guessing you have the text hard coded in the page - and JS has rules about the syntax of single and double quotes in literal strings and how to encode them.
Try adding the text dynamically (text input field ) as in our example - or, please post a link to your page and we'll take a look.
The SitePal Team
Customer support service by UserEcho