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.     arrowImg = eval(doc + '["arrowLyr"]' + '.document');
  3.     arrowObj = eval(doc + '["arrowLyr"]' + sty);
  4.     arrowObj.left = (screen_width-270);
  5.     arrowObj.top = (screen_height-140);
  6.  
  7.     pageObj = eval(doc + '["pageLyr"]' + sty);
  8.     pageObj.left = 10;
  9.     pageObj.top = 10;
  10.  
  11.     coreObj = eval(doc + '["coreLyr"]' + sty);
  12.     coreObj.left = (screen_width-180);
  13.     coreObj.top = (screen_height-408);
  14.  
  15.     flareObj = eval(doc + '["flareLyr"]' + sty);
  16.     flareObj.left = (screen_width/2);
  17.     flareObj.top = (screen_height-280);
  18.  
  19.     logoImg = eval(doc + '["pageLyr"]' + '.document');
  20.  
  21.     guruObj = eval(doc + '["guruLyr"]' + sty);
  22.     guruObj.left = (screen_width-785);
  23.     guruObj.top = (screen_height-338);
  24.  
  25.     infoObj = eval(doc + '["infoLyr"]' + sty);
  26.     infoObj.visibility = "hidden";
  27.     infoObj.left = (screen_width-230);
  28.     infoObj.top = (screen_height-430);
  29.  
  30.     legsObj = eval(doc + '["legsLyr"]' + sty);
  31.     legsObj.left = (screen_width-165);
  32.     legsObj.top = (screen_height-160);
  33.  
  34.     mainmenuImg = eval(doc + '["mainmenuLyr"]' + '.document');
  35.     mainmenuObj = eval(doc + '["mainmenuLyr"]' + sty);
  36.     mainmenuObj.left = (screen_width-258);
  37.     mainmenuObj.top = (screen_height-375);
  38.  
  39.     submenuImg = eval(doc + '["submenuLyr"]' + '.document');
  40.     submenuObj = eval(doc + '["submenuLyr"]' + sty);
  41.     submenuObj.left = (screen_width-125);
  42.     submenuObj.top = 40;
  43.  
  44.     sunObj = eval(doc + '["sunLyr"]' + sty);
  45.     sunObj.left = -120;
  46.     sunObj.top = (screen_height-280);
  47.  
  48.     titleImg = eval(doc + '["titleLyr"]' + '.document');
  49.     titleObj = eval(doc + '["titleLyr"]' + sty);
  50.     titleObj.left = (screen_width-600)/2;
  51.     titleObj.top = (screen_height-95);
  52.  
  53.     coreObj.visibility = "visible";
  54.     flareObj.visibility = "visible";
  55.     guruObj.visibility = "visible";
  56.     legsObj.visibility = "visible";
  57.     sunObj.visibility = "visible";
  58.  
  59.     lensFlare();
  60. }
  61.