Just a comment here. If this is going to be used on tablets, right click is not a option. That also explains why the menu does not work on my iPhone (while using a magnifying glass to see the page!!).
On Jan 2, 2013, at 2:16 PM, Michael Evans <[email protected]> wrote: > Bob, > Thanks for incorporating the popup menu! I get an error in Chrome's console > indicating that a couple of images couldn't be found: > > GET > http://chemapps.stolaf.edu/jmol/jsmol/images/ui-bg_inset-hard_100_fcfdfd_1x100.png > 404 (Not Found) > GET http://chemapps.stolaf.edu/jmol/jsmol/images/ui-icons_469bdd_256x240.png > 404 (Not Found) > > Also, the default context menu is not disabled when right-clicking in Chrome > and Safari. Jmol's menu appears behind Chrome's. To fix this, please add > "return false" at the end of the function in this line in JSmol.js: > > d.bind("contextmenu", function(ev) { > // right-click > ev.preventDefault(); > var xym = Jmol._jsGetXY(ev, canvas); > > canvas.applet._applet.viewer.handleOldJvm10Event(org.jmol.api.Event.MOUSE_UP,xym[0],xym[1],org.jmol.api.Event.MOUSE_RIGHT,System.currentTimeMillis()); > }); > > Cheers, Mike > > > --- > Michael Evans > Organic Chemistry Graduate Student, Moore Group > University of Illinois, Urbana-Champaign > > > On Mon, Dec 31, 2012 at 11:23 AM, Robert Hanson <[email protected]> wrote: > Still the same problem, Phil? Do you get any JavaScript error? I think I > remember having a similar problem early on, but I thought that got fixed. > > > On Tue, Dec 25, 2012 at 8:24 AM, Philip Bays <[email protected]> wrote: > Merry Christmas, Bob and good work. > > However, for me on the Mac, I can open the menu on the first load of a > molecule and can use it for one choice. Thereafter, I can no longer > activate it. > > On Dec 24, 2012, at 11:00 PM, Robert Hanson <[email protected]> wrote: > >> Well, Merry Christmas! >> >> One last bit for the year -- >> >> JSmol now has both a pop-up menu and a console. >> >> I need the likes of Michael Evans to trim the console up a bit. But I think >> it's basically working. See >> >> http://chemapps.stolaf.edu/jmol/jsmol.zip >> >> http://chemapps.stolaf.edu/jmol/jsmol/test2.htm >> >> http://chemapps.stolaf.edu/jmol/jsmol/j2s/core/coreconsole.z.js >> >> >> >> -- >> Robert M. Hanson >> Larson-Anderson Professor of Chemistry >> Chair, Chemistry Department >> St. Olaf College >> Northfield, MN >> http://www.stolaf.edu/people/hansonr >> >> >> If nature does not answer first what we want, >> it is better to take what answer we get. >> >> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 >> >> ------------------------------------------------------------------------------ >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >> Remotely access PCs and mobile devices and provide instant support >> Improve your efficiency, and focus on delivering more value-add services >> Discover what IT Professionals Know. Rescue delivers >> http://p.sf.net/sfu/logmein_12329d2d_______________________________________________ >> Jmol-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jmol-users > > J. Philip Bays > Emeritus Professor of Chemistry > Department of Chemistry and Physics > Saint Mary's College > Notre Dame, IN 46556 > [email protected] > > > > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Jmol-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > -- > Robert M. Hanson > Larson-Anderson Professor of Chemistry > Chair, Chemistry Department > St. Olaf College > Northfield, MN > http://www.stolaf.edu/people/hansonr > > > If nature does not answer first what we want, > it is better to take what answer we get. > > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Jmol-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > Jmol-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jmol-users J. Philip Bays Emeritus Professor of Chemistry Department of Chemistry and Physics Saint Mary's College Notre Dame, IN 46556 [email protected]
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

