localhost8080
Well-known member
Hello,
I need to have a simple javascript in my header to do some things.
On my template, I have the following code:
The function is never been called, even it should. not even the first alert-call.
is there an other way to call js-functions within hooks?
thank you.
I need to have a simple javascript in my header to do some things.
On my template, I have the following code:
Code:
<xen:hook name="ad_header_above_logo">
<div class="logo" style="text-align:center;margin-top:5px;margin-bottom:1px;">
<span>
<script type="text/javascript">
<!--
function changeDuo() {
alert('1');
window.setTimeout("changeDuo();",10000);
}
//-->
</script>
</span>
</div>
</xen:hook>
The function is never been called, even it should. not even the first alert-call.
is there an other way to call js-functions within hooks?
thank you.