Categories :: PageIndex :: RecentChanges :: Login/Register :: Búsqueda:
Cuando querramos agregar un codigo a smarty que no queremos que interprete, usaremos la estructura {literal}{/literal}

Ejemplo:
{literal}
  <SCRIPT LANGUAGE="JavaScript" type="text/javascript">

function mostrarApartado (obj){
        if(obj != undefined){
                if(obj.style.display == "" ){
                        obj.style.display = "none";
                        //location.hash = "inicio";
                }
                else{
                        obj.style.display = "block";
                        //location.hash = ancla;
                }
        }

  return false;
}

</SCRIPT>
{/literal}

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0143 seconds