calling javascript from message text
-
(in order to present a quicktime audio player I say…)
<script language=”JavaScript” type=”text/javascript”>
QT_WriteOBJECT_XHTML(‘/ljud/quicktimeplayer.jpg’, ‘300’, ’30’, ”,
‘href’, ‘https://www.farm.se/wps/wp-content/mitt/highland_1.mp3’,
‘autoplay’, ‘false’,
‘align’, ‘middle’,
‘target’,’myself’,
‘controller’,’false’);
</script>This is what WordPress does with it (copied from the source view of the finnished page. NOTE what it did to the quotes…
<script language=”JavaScript” type=”text/javascript”>
QT_WriteOBJECT_XHTML(’/ljud/quicktimeplayer.jpg’, ‘300′, ‘30′, ‘’,
‘href’, ‘https://www.farm.se/wps/wp-content/mitt/highland_1.mp3′,
‘autoplay’, ‘false’,
‘align’, ‘middle’,
‘target’,’myself’,
‘controller’,’false’);
</script>and this does not work… How can I persuade WordPress to leave my ASCII quote chars (“) (‘) alone?
Lars
- The topic ‘calling javascript from message text’ is closed to new replies.