Jahia and Javascript

Sebastian Schardt <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <23285302.1102062676748.JavaMail.ngmail@webmail-07.arcor-online.net>
Hello, 

I have made a template with a little javascript function that shows or hides a layer depending on the state of a checkbox. It is already working in pure HTML. But unfortunately in Jahia not, what do I have to use instead of "document.all.["idoftheLayer"].style.display". Is there any way to implement in a similar way like this.  How do i access on elements of javascript like "document".

Thanks 

Sebastian 


Arcor-DSL: die echte Flatrate für alle Bandbreiten. Jetzt ohne Einrichtungspreis
einsteigen oder wechseln. Arcor-DSL ist in vielen Anschlussgebieten verfügbar.
http://www.arcor.de/home/redir.php/emf-dsl-1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.