User e34a92cce5
17-03-2005 16:10:45
Hi,
I have been using the Javascript utility to provide controls on the Marvin applet, that will take users to new sites. I use a jpg image for the control item, which when clicked will open a new window in another site that will have relevant information. My code:
mview_param("param", ":M:150:150:L:10:L:10:L:10:L:10");
mview_param("cell0", "|<% cd_structure %>|NCI ID:648480|C13H12N2O5S2|MW: 340.38|SIM: 87.3%|view.jpg|js:window.open(\'http://nci.nih.gov?count=0',\'ccgwindow\',\'width=750 height=550 fullscreen=no,toolbar=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,location=no left=0,top=0\')|");
It seems to work well on IE, but gives me netscape.javascript.JSException error when I use Mozilla.
I have been using the Javascript utility to provide controls on the Marvin applet, that will take users to new sites. I use a jpg image for the control item, which when clicked will open a new window in another site that will have relevant information. My code:
mview_param("param", ":M:150:150:L:10:L:10:L:10:L:10");
mview_param("cell0", "|<% cd_structure %>|NCI ID:648480|C13H12N2O5S2|MW: 340.38|SIM: 87.3%|view.jpg|js:window.open(\'http://nci.nih.gov?count=0',\'ccgwindow\',\'width=750 height=550 fullscreen=no,toolbar=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,location=no left=0,top=0\')|");
It seems to work well on IE, but gives me netscape.javascript.JSException error when I use Mozilla.