Angel, Well, I'm no expert on this - just had seen that it is possible. I did a quick look and found the following:
http://www.twinhelix.com/javascript/dragresize/ An external javascript library. Resize and drag. About 350 lines of code some of which is comments and whitespace. http://www.webmasterworld.com/forum91/2030.htm About 40 lines of javascript half of which is comments plus some CSS. Only resizes vertically by dragging the bottom edge. http://www.daniweb.com/forums/thread70959.html# About 40 lines of javascript. Looks like only adjusts height. Should be able to adapt to do width too. http://www.faqts.com/knowledge_base/view.phtml/aid/6844/fid/53 50+ lines of javascript. Looks like it dynamically resizes in every direction. http://aspalliance.com/1077_CodeSnip_How_to_Create_a_Resizable_Div_Layer.all Looks like about 40-50 lines of javascript including some comments. Resizes vertically by dragging the bottom edge. http://www.javascriptjunkie.com/?p=8 About 65 lines of javascript plus some CSS for draggable divs. IE only but probably could be adapted. I'm glad you are looking at this. I think if it works out it would be a better solution than a new window. Hope this helps. Jeff *********************************************** Jeff Hansen Department of Chemistry and Biochemistry DePauw University 602 S. College Ave. Greencastle, IN 46135 jhan...@depauw.edu *********************************************** On Jun 8, 2009, at 4:27 AM, Angel Herráez wrote: > El 26 May 2009 a las 9:05, Jeff Hansen escribió: > >> It seems more aesthetically >> pleasing to me to put the Jmol in a new div with a z-index that puts >> it in front of the rest of the page. The div can be made draggable >> and resizable. > > Jeff, I saw this as too farfetched for a wiki environment. But now I > am doing some work on the Jmol Wiki Extension, and I already have > implemented a div that gets inserted into the page (rather than > popped up). Therefore, I can give a try to your idea. Can you provide > example code for a resizable, draggable div? The only examples I've > seen rely on a complex, third-party javascript library, which I see > as too hard for MediaWiki (apart from the licensing issues). > > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users