Hi
I’m trying to get a accordion script to work (I did not write that code myself)
The odd thing is that the Template outside EE works as expected. But once the page get processed, EE completely strips some parts of the HTML, and of the script code.
In the Template is this:
On line 15:
html { height:100% }
On line 27-33:
var params = {duration:0.2};
if (this.next('div')) {
Effect.toggle(this.next('div'),'blind',params);
}else{
if(this.up().next('div')){
Effect.toggle(this.up().next('div'),'blind',params);
}
And on line 39:
heads.invoke('setStyle',{cursor:'pointer'});Parsed comes out this:
On line number 15:
html
On line number 27-28-29
var params = ;
if (this.next('div')) {Effect.toggle(this.next('div'),'blind',params);}else{
if(this.up().next('div')){Effect.toggle(this.up().next('div'),'blind',params);}
On line number 35
heads.invoke('setStyle',);
Thanks.