I put this html code in...
and when I save it, tinymce editor changes it to thisHTML Code:<html> <head> <script type="text/javascript"> <!-- var image1=new Image() image1.src="firstcar.gif" var image2=new Image() image2.src="secondcar" var image3=new Image() image3.src="thirdcar.gif" //--> </script> </head> <body> <img src="firstcar.gif" name="slide" width="100" height="56" /> <script> <!-- //variable that will increment through the images var step=1 function slideit(){ //if browser does not support the image object, exit. if (!document.images) return document.images.slide.src=eval("image"+step+".src") if (step<3) step++ else step=1 //call function "slideit()" every 2.5 seconds setTimeout("slideit()",2500) } slideit() //--> </script> </body> </html>
IT'S CHANGING MY CODE!! HOW AM I SUPPOSED TO GET IT WORK!!HTML Code:<script type="text/javascript">// <![CDATA[ var image1=new Image() image1.src="firstcar.gif" var image2=new Image() image2.src="secondcar" var image3=new Image() image3.src="thirdcar.gif" // ]]></script> <p><img src="/lfs/admin/firstcar.gif" alt="" width="100" height="56" /></p> <script type="text/javascript">// <![CDATA[ //variable that will increment through the images var step=1 function slideit(){ //if browser does not support the image object, exit. if (!document.images) return document.images.slide.src=eval("image"+step+".src") if (step<3) step++ else step=1 //call function "slideit()" every 2.5 seconds setTimeout("slideit()",2500) } slideit() // ]]></script>
In editors folder I changed my .htaccess to say this:
HTML Code:# but now allow just *certain* necessary files: <FilesMatch "\.(gif|jpe?g|png|js|css|html?|xml)$"> Order Allow,Deny Allow from all </FilesMatch>



