Re: Change views using javascript

  •  12-05-2006, 5:12 AM

    Re: Change views using javascript

    Hi
     
    Just tried the enablestripscripttags example and yes it does alter the casing when saving via the html window, however when switching to normal it doesnt alter it. Code pasted below. The &&x.oSrc becomes &&x.osrc.
     
    Thanks for the reference to the javascript API, should hopefully be able to use to temporary fix it.
     
    Andy
     
    <html>
        <head>
        </head>
        <body>
            <script language="JavaScript" type="text/JavaScript">
          <!--
     
    function MM_swapImgRestore() { //v3.0

      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=aIdea)&&x.oSrc ;i++) x.src=x.oSrc;
    }
    //-->
        </script>
        </body>
    </html>
View Complete Thread