ez.no / ezpublish / documentation / customization / tips & tricks / insert javascript call inside ezpub document
These documentation pages are no longer maintained. Please visit the new documentation site.
HTML code to be inserted into ezpub document:
<div id="scriptnameDiv" style="position:absolute; z-index:987654321; top:0; left:0;"> <script language='JavaScript' src='script1.js'></script> </div>
It calls a javascript script that is located on the server. This particular script causes an dynamic layer to open on top of the document with this code inside (before the /body in an HTML document).
How and where would I insert into an ezpublish document?
Comments
not like that
Kai Duebbert
Tuesday 12 July 2005 10:09:33 am
You can try, if it works in the administration area, if you embed it in "<html>...</html>" tags. I.e.:
<html>
<div id="scriptnameDiv" style="position:absolute; z-index:987654321; top:0; left:0;">
<script language='JavaScript' src='script1.js'></script>
</div>
</html>
But I'm not sure if that would work.
It doesn't work
Michele Mader
Wednesday 26 May 2004 12:18:29 pm
Body:
Unsupported tag div(removed)
Unsupported tag script(removed)