# JSP Page with JS Functions called from Flash

**URL:** <https://forum.kirupa.com/t/jsp-page-with-js-functions-called-from-flash/192130>\
**Category:** web dev\
**Created:** [June 26, 2006, 1:46pm UTC](https://forum.kirupa.com/t/jsp-page-with-js-functions-called-from-flash/192130 "2006-06-26T13:46:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dewey](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dewey](https://forum.kirupa.com/u/dewey)\
**Post date:** [June 26, 2006, 1:46pm UTC](https://forum.kirupa.com/t/jsp-page-with-js-functions-called-from-flash/192130/1 "2006-06-26T13:46:19Z")

</div>

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…

```auto

<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
