Javascript Issue In Code
Check the attached files
Description:
The main JSP page has a Flash Quiz that sends JavaScript function to the page. This function adjusts the vertical (y) position of the <div> block placed below it, & moves it up/down on the click of the buttons in the Flash file relative to it.
What is required:
The <div> movement works fine according to Flash interaction. But when the page is loading, the <div> block shows up at the top of page & then adjusts to its correct position once the browser has loaded all the page content & Flash file. We want the <div> content below the Flash file on the web page to remain on the webpage at the same position as it would come on the initial frame when the flash loads. Once the page has loaded, it should work as it is currently (shift according to how the flash expands and contracts).
Post similar project on sosexpert.com
