User:Jiywang3/icn3dwidget.js

$( document ).ready(function {         var cfg = {              divid: 'icn3dwrap',              width: '100%',              height: '100%',              resize: true,              rotate: 'right',              showmenu: true          };          cfg['pdbid'] = '2por';

var icn3dui = new iCn3DUI(cfg);

//communicate with the 3D viewer with chained functions $.when(icn3dui.show3DStructure).then(function {              //icn3dui.setOption('color', 'cyan');          }); });