Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
HI,,

I have a simple onclick image change function (from exterior to interior of an aircraft)

Code: Select all
<tr>
<td><a href="" onclick="document.getElementById('myImage2').src='images/fleet/400XP/400interior.jpg'">INTERIOR</a></td>
<td>&nbsp;</td>
<td><a href="" onclick="document.getElementById('myImage2').src='images/fleet/beachcrafthawker400xp.jpg'">EXTERIOR</a></td>
</tr>


In the CMS (and on the site) it shows the html, and not the button, so it doesn't work.

Any ideas how to get it to show the button and click to just change the image.

thanks in advance
Hi,

It is not clear from your post exactly how you are trying to input the button.
Are you trying to put it directly within the type "richtext" editable region? If so, it will 'neutralize' all JS code (as a security measure) and that would explain the problem.

Please post the original static HTML/JS for the button and we can discuss ways of retrofitting Couch into it.
2 posts Page 1 of 1
cron