demoFramelessNodes.js
上传用户:jdr1jdr
上传日期:2013-05-07
资源大小:68k
文件大小:2k
源码类别:

JavaScript

开发平台:

JavaScript

  1. // You can find instructions for this file at http://www.treeview.net
  2. //Environment variables are usually set at the top of this file.
  3. USETEXTLINKS = 1
  4. STARTALLOPEN = 0
  5. USEFRAMES = 0
  6. USEICONS = 0
  7. WRAPTEXT = 1
  8. PRESERVESTATE = 1
  9. foldersTree = gFld("<b>Tree Options</b>", "demoFrameless.html")
  10.   aux1 = insFld(foldersTree, gFld("Expand for example with pics and flags", "javascript:undefined"))
  11.     aux2 = insFld(aux1, gFld("United States", "demoFrameless.html?pic=%22beenthere_unitedstates%2Egif%22"))
  12.   insDoc(aux2, gLnk("S", "Boston", "demoFrameless.html?pic=%22beenthere_boston%2Ejpg%22"))
  13.   insDoc(aux2, gLnk("S", "Tiny pic of New York City", "demoFrameless.html?pic=%22beenthere_newyork%2Ejpg%22"))
  14.   insDoc(aux2, gLnk("S", "Washington", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
  15.     aux2 = insFld(aux1, gFld("Europe", "demoFrameless.html?pic=%22beenthere_europe%2Egif%22"))
  16.       insDoc(aux2, gLnk("S", "London", "demoFrameless.html?pic=%22beenthere_london%2Ejpg%22"))
  17.       insDoc(aux2, gLnk("S", "Lisbon", "demoFrameless.html?pic=%22beenthere_lisbon%2Ejpg%22"))
  18.   aux1 = insFld(foldersTree, gFld("Types of node", "javascript:undefined"))
  19.     aux2 = insFld(aux1, gFld("Expandable with link", "demoFrameless.html?pic=%22beenthere_europe%2Egif%22"))
  20.       insDoc(aux2, gLnk("S", "London", "demoFrameless.html?pic=%22beenthere_london%2Ejpg%22"))
  21.     aux2 = insFld(aux1, gFld("Expandable without link", "javascript:undefined"))
  22.   insDoc(aux2, gLnk("S", "NYC", "demoFrameless.html?pic=%22beenthere_newyork%2Ejpg%22"))
  23.     insDoc(aux1, gLnk("B", "Opens in new window", "http://www.treeview.net/treemenu/demopics/beenthere_pisa.jpg"))
  24.