PDA

View Full Version : JSP Page with JS Functions called from Flash



dewey
June 26th, 2006, 09:46 AM
Howdy!

I am having a bit of problems at the moment with JS and JSP on the same page...

I have created a couple of functions to dyanmically change some elements of a few <DIV> tags...


<script language="javascript" type="text/javascript">
<!--
function expand(){
document.getElementById("inner").style.bottom = "87";
document.getElementById("menu").style.height = "192px";
}
function collapse(){
document.getElementById("inner").style.bottom = "218";
document.getElementById("menu").style.height = "62px";
}
-->
</script>

I have a Flash document which is calls these functions. I am displaying this Flash document on a JSP Page, and now my these functions do not work... can anyone help me?

Thanks,

--D