T
Timmy
Hi,
I have an iframe src which is a dhtml <div> which includes a
javascript function, what I want to do is appendchild the <div id=xxx>
to the parent webpage, I am able to import and append the image to the
parent page. However the script function does not seem to get
recognized via the browser.
E.g when I go mouseover on the image in the parent page it throws the
error "object expected".
Does anyone know how I can import and execute the scriupt functions
too?
Thanks,
Tim
<div id="xxx" style="position:absolute;visibility: hidden;">
<script>
function actionMe(action) {
alert(action);
}
</script +>
<div id="Layer1" style="width:276; height:110; visibility: visible;
z-index=3;" onmouseover="actionMe('alert')">
<a target="_top" href="http://google.com.au"><img
src="http://www.google.com.au/intl/en_au/images/logo.gif" border=0
height=110 width=276 alt=""></a>
</div>
</div>
I have an iframe src which is a dhtml <div> which includes a
javascript function, what I want to do is appendchild the <div id=xxx>
to the parent webpage, I am able to import and append the image to the
parent page. However the script function does not seem to get
recognized via the browser.
E.g when I go mouseover on the image in the parent page it throws the
error "object expected".
Does anyone know how I can import and execute the scriupt functions
too?
Thanks,
Tim
<div id="xxx" style="position:absolute;visibility: hidden;">
<script>
function actionMe(action) {
alert(action);
}
</script +>
<div id="Layer1" style="width:276; height:110; visibility: visible;
z-index=3;" onmouseover="actionMe('alert')">
<a target="_top" href="http://google.com.au"><img
src="http://www.google.com.au/intl/en_au/images/logo.gif" border=0
height=110 width=276 alt=""></a>
</div>
</div>