PDA

View Full Version : Forum



Sergio leonardo Correa
May 2, 2015, 02:31 PM
Hello, hit and break this code any label. (PHP) (HTML) (CODE)

http://pastebin.com/smQHSLfk#

Curtis
May 4, 2015, 03:06 AM
Hello, hit and break this code any label. (PHP) (HTML) (CODE)

http://pastebin.com/smQHSLfk#

Please clarify your problem.

Sergio leonardo Correa
May 4, 2015, 10:39 PM
publish breaks the code labels:

[ QUOTE ][ /QUOTE ]
[ CODE ][ /CODE ]
[ HTML ][ /HTML ]

test:
and under the code I'm going to put "Hello". It removes the save.
CODE copy and paste:


[CODE]
<script type="text/javascript">
OCULTO="none";
VISIBLE="block";
function mostrar1(blo) {
document.getElementById(blo).style.display=VISIBLE ;
document.getElementById('ver_off1').style.display= VISIBLE;
document.getElementById('ver_on1').style.display=O CULTO;
}
function ocultar1(blo) {
document.getElementById(blo).style.display=OCULTO;
document.getElementById('ver_off1').style.display= OCULTO;
document.getElementById('ver_on1').style.display=V ISIBLE;
}
</script>
<div id="bloque1" style="display: none;"><span style="color: rgb(0, 0, 0);">

Curtis
May 5, 2015, 03:10 AM
For javascript and css styles you need use the {literal}{/literal} tags in smarty.

Example:

<script>
{literal}

... your code ...

{/literal}
</script>