You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

overlay breaks when object tag just above in IE8 Created Sep 24, 2009

This thread is solved

Views: 1017     Replies: 2     Last reply Oct 5, 2009  
You must login first before you can use this feature

mrtwice99

Posts: 2

Registered:
Sep 24, 2009

overlay breaks when object tag just above in IE8

Posted: Sep 24, 2009

Take this example:

http://flowplayer.org/tools/demos/overlay/modal-dialog.htm

and adjust the HTML to be:


<object id="flash_player" >
</object>
<div class="modal" id="yesno">
	<h2>This is a modal dialog</h2>

	<p>
		You can only interact with elements that are inside this dialog.
		To close it click a button or use the ESC key.
	</p>

	<!-- yes/no buttons -->
	<p>
		<button class="close"> Yes </button>
		<button class="close"> No </button>
	</p>
</div>

The modal dialog doesn't show up then in IE 8. The reason is because the generated styles on the overlay are wrong:


position: absolute; top: 90px; left: 627px;

The user input overlay still works and the yes/no overlay will work if you move the object tag below the overlay div.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» overlay breaks when object tag just above in IE8

Posted: Oct 5, 2009

Reply to: overlay breaks when object tag just above in IE8, from mrtwice99
ok. thanks. do you think this is a bug on the jQuery Tools library or a bug on the demo page?

mrtwice99

Posts: 2

Registered:
Sep 24, 2009

» » overlay breaks when object tag just above in IE8

Posted: Oct 5, 2009

Reply to: » overlay breaks when object tag just above in IE8, from tipiirai
I think its a bug in the library as I initially discovered it on my own project. I just used the project page as an example since it was easier to understand than my code.