Bob, Geoff's question brings to mind a question that a meant to raise a while back. I was using the menu command to try to get the menu to work on an iPad. At the time I notice that this command raises the menu at the last clicked position in the window. I think I understand why this is so. But I have a question:
In general, is there any reason that the menu should not always open at 0,0 rather than at the click position? I see that there is a certain intuitive interface appeal to having it jump up at the click position, but it seems to me that the most functional location of the menu would be 0,0, particularly with JSmol. The iPad thing did not work out because the menu is unresponsive to touch, so I just forgot to raise the above question. Otis -- Otis Rothenberger [email protected] http://chemagic.com >> >> Hi folks >> >> In some situations, it can be really useful to embed a JSmol instance in an >> inline frame. Particularly when using JSmol with, say, CMS systems that use >> JavaScript libraries that conflict with JSmol. Note that this use-case does >> not involve cross-domain issues. Just using an iframe to 'insulate' JSmol >> from JavaScript on the parent page. >> >> However, although an iframe can be easily sized to a JSmol instance, it can >> restrict the visibility of the right-click popup JSmol menu. Of course, the >> menu can, to some extnt, be dragged around and an iframe can be set up to >> use scrollbars for larger content, but this is not very elegant and can be >> unwieldy to use. >> >> This is not a issue with the Jmol Java applet as the right-click menu >> 'floats' over the iframe. >> >> Anyone have any 'cunning' suggestions on how to improve this for JSmol in an >> iframe? - apart from just using a bigger iframe! Perhaps a way of >> dynamically resizing the iframe to accommodate the popup menu. >> >> Cheers >> >> Geoff >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Jmol-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jmol-users > ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

