selicon.ssc

来自「PowerBuilder8.0开发分散式应用所帶的例程」· SSC 代码 · 共 24 行

SSC
24
字号
<!--SCRIPT // {{ SCRIPT()
/*
 * Select an icon image based on the document type.
 */
function SelectIcon( docType )
{
  if( docType == 'directory' ) {
    document.write( 'folder.gif' );
  } else if( docType == 'directorylink' ) {
    document.write( 'linked.gif' );
  } else if( docType == 'image' ) {
    document.write( 'image.gif' );
  } else if( docType == 'text' ) {
    document.write( 'document.gif' );
  } else if( docType == 'script' ) {
    document.write( 'script.gif' );
  } else {
    document.write( 'document.gif' );
  }
}
// }}
-->

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?