WordPress is altering my Javascript
-
This all very strange. My Javascript roll-overs were working perfectly and now they not. The odd thing is that they’re correct in the admin-side when I look at a page in the editor, but they’re being outputted to the web incorrectly.
Here’s a sample:
in editor:<a href="javascript:MM_swapImage('itemImg', '', 'https://www.chassecheer.com/images/accessories/AC336/AC336-Black.jpg',1);void(0);">
on web:
<a href="javascript:MM_swapImage('itemImg', '', 'https://www.chassecheer.com/images/accessories/AC336/AC336-Black.jpg" ,1);void(0);">
Note the closing single quote on the image url. On the web, it’s been changed to a double quote.
Here’s the sample web page: Sample Page
Can anyone tell me why this is happening and how to fix it?
Thanks, Sandra
- The topic ‘WordPress is altering my Javascript’ is closed to new replies.