<script type="text/javascript">
var ... ;...
Book_Image_Sources=new Array(...);
function carousel() {...}
</script>
I want to (i hope it`s possible) call the script above in a css class like
#carouse
{
... somehow call the script above
}
then in my html code
<img src="./images/placeholder.gif" class="carouse" />
I am using a WYSIWYG editor (tinyMCE) within openrealty(a real estate mg`t System) and apparently it comments out the javascript and displays the js code in the frontend.
so am trying to find a work around this and am hoping the above approach will do it.
Or how else can i get this to work. am a little new to js.
Thanx