Hi!

We've just started to use jQuery in a project where we use it to load
an external plugin based on what kind of browser the user is on. When
loading the plugin we insert <object>-tags via JavaScript etc.
Everything is working as expected regarding the loading and usage of
the plugin except for one small thing. In Chrome, Safari and IE the
page content is displayed before the plugin dialog is popped up (it's
a plugin used to authenticate), but in Firefox the page content is
displayed after the user has pressed submit or cancel in the plugin
dialog.

Maybe this has something to do with the behaviour regarding to when
the DOM is ready or not. I've searched this mailing list and the
internet and tried a couple of solutions. Putting the <script>-tag
that loads our JavaScript at the bottom of the page, changed $
(document).ready() to jQuery(function() {} etc. None of those
solutions seem to work.

Does anyone have a clue how to solve this? It would be much
appreciated!

Tanks,
Christer

Reply via email to