Hi All,

I am embedding a java applet  into one of the div elements in a page.

<div id="appletHere"></div>
and jquery function is
$(document).ready(function(){
    $('#appletHere').append('
          <script type="text/javascript">

             jmolApplet("load somefile.pdb");
          </script>
    ');
});

The applet loads fine but it is not getting embedded into the div element as
required- instead ,
the applet loaded page has  only html > body > object elements  (with
applet).
(the div element is gone and other styling is gone)

so how do i make sure that the applet loads in the specified div element
without messing up with the page styling ?

thanks in advance.
regards,
Krishna

Reply via email to