I have a flash movie on my a JSP page of mine, the movie plays and functions just fine. However, on the same page I have a hyperlink that performs a javascript history.go command. The presense of the Flash movie on the page, seems to prevent the browser from executing the command.
Here is my javaScript method:
function cancelFormBack( form_pointer )
{
var count = form_pointer.numberSubmits.value;
count = 0 - count;
alert( window.history.length );
window.history.go( count );
}
here is the generated object and embed tags that I use for my movie:
<OBJECT classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="760" HEIGHT="86" id="GlobalNav" ALIGN="">
<PARAM NAME=movie VALUE="GlobalNav.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="GlobalNav.swf" quality=high bgcolor=#FFFFFF WIDTH="760" HEIGHT="86" NAME="GlobalNav" ALIGN=""
TYPE="application/x-shockwave-flash"></EMBED>
</OBJECT>
here is the call on the html page:
<a href="javascript:cancelFormBack( document.myForm );">Go Back</a>
I can't image that this functionality is simply not available, but I have conducted a test using three basic html pages, and definitely with the movie, the history.go does not work, without the movie it does.
I'm using IE 6 for my browser, and it also is a problem with IE 5.5, however, there is no trouble with IE 5.0.
Thanks to anyone who has seen this before.
Here is my javaScript method:
function cancelFormBack( form_pointer )
{
var count = form_pointer.numberSubmits.value;
count = 0 - count;
alert( window.history.length );
window.history.go( count );
}
here is the generated object and embed tags that I use for my movie:
<OBJECT classid="clsid

WIDTH="760" HEIGHT="86" id="GlobalNav" ALIGN="">
<PARAM NAME=movie VALUE="GlobalNav.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="GlobalNav.swf" quality=high bgcolor=#FFFFFF WIDTH="760" HEIGHT="86" NAME="GlobalNav" ALIGN=""
TYPE="application/x-shockwave-flash"></EMBED>
</OBJECT>
here is the call on the html page:
<a href="javascript:cancelFormBack( document.myForm );">Go Back</a>
I can't image that this functionality is simply not available, but I have conducted a test using three basic html pages, and definitely with the movie, the history.go does not work, without the movie it does.
I'm using IE 6 for my browser, and it also is a problem with IE 5.5, however, there is no trouble with IE 5.0.
Thanks to anyone who has seen this before.