home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / dhtmlunl / dhtml.exe / CD Content / Chap26 / dun26_6.txt < prev    next >
Encoding:
Text File  |  1997-12-18  |  2.0 KB  |  61 lines

  1. function positionLayers() {
  2.  
  3.     arrowImg = eval(doc + '["arrowLyr"]' + '.document');
  4.  
  5.     arrowObj = eval(doc + '["arrowLyr"]' + sty);
  6.  
  7.     arrowObj.left = (screen_width-270);
  8.  
  9.     arrowObj.top = (screen_height-140);
  10.  
  11.  
  12.  
  13.     pageObj = eval(doc + '["pageLyr"]' + sty);
  14.  
  15.     pageObj.left = 10;
  16.  
  17.     pageObj.top = 10;
  18.  
  19.  
  20.  
  21.     coreObj = eval(doc + '["coreLyr"]' + sty);
  22.  
  23.     coreObj.left = (screen_width-180);
  24.  
  25.     coreObj.top = (screen_height-408);
  26.  
  27.  
  28.  
  29.     flareObj = eval(doc + '["flareLyr"]' + sty);
  30.  
  31.     flareObj.left = (screen_width/2);
  32.  
  33.     flareObj.top = (screen_height-280);
  34.  
  35.  
  36.  
  37.     logoImg = eval(doc + '["pageLyr"]' + '.document');
  38.  
  39.  
  40.  
  41.     guruObj = eval(doc + '["guruLyr"]' + sty);
  42.  
  43.     guruObj.left = (screen_width-785);
  44.  
  45.     guruObj.top = (screen_height-338);
  46.  
  47.  
  48.  
  49.     infoObj = eval(doc + '["infoLyr"]' + sty);
  50.  
  51.     infoObj.visibility = "hidden";
  52.  
  53.     infoObj.left = (screen_width-230);
  54.  
  55.     infoObj.top = (screen_height-430);
  56.  
  57.  
  58.  
  59.     legsObj = eval(doc + '["legsLyr"]' + sty);
  60.  
  61.     legsObj.left = (screen_width-165);
  62.  
  63.     legsObj.top = (screen_height-160);
  64.  
  65.  
  66.  
  67.     mainmenuImg = eval(doc + '["mainmenuLyr"]' + '.document');
  68.  
  69.     mainmenuObj = eval(doc + '["mainmenuLyr"]' + sty);
  70.  
  71.     mainmenuObj.left = (screen_width-258);
  72.  
  73.     mainmenuObj.top = (screen_height-375);
  74.  
  75.  
  76.  
  77.     submenuImg = eval(doc + '["submenuLyr"]' + '.document');
  78.  
  79.     submenuObj = eval(doc + '["submenuLyr"]' + sty);
  80.  
  81.     submenuObj.left = (screen_width-125);
  82.  
  83.     submenuObj.top = 40;
  84.  
  85.  
  86.  
  87.     sunObj = eval(doc + '["sunLyr"]' + sty);
  88.  
  89.     sunObj.left = -120;
  90.  
  91.     sunObj.top = (screen_height-280);
  92.  
  93.  
  94.  
  95.     titleImg = eval(doc + '["titleLyr"]' + '.document');
  96.  
  97.     titleObj = eval(doc + '["titleLyr"]' + sty);
  98.  
  99.     titleObj.left = (screen_width-600)/2;
  100.  
  101.     titleObj.top = (screen_height-95);
  102.  
  103.  
  104.  
  105.     coreObj.visibility = "visible";
  106.  
  107.     flareObj.visibility = "visible";
  108.  
  109.     guruObj.visibility = "visible";
  110.  
  111.     legsObj.visibility = "visible";
  112.  
  113.     sunObj.visibility = "visible";
  114.  
  115.  
  116.  
  117.     lensFlare();
  118.  
  119. }
  120.  
  121.