home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 188 - Disc 1 / dpcs1003a.iso / Extras / WebEasy / wepe-01000.exe / data1.cab / System / Objects / Gadgets / Display Date.TPL < prev    next >
Encoding:
Text File  |  2002-04-26  |  2.2 KB  |  74 lines

  1. ;
  2. ; Template     25/05/2000 15:51:42
  3. ; Copyright (C) 2002   V Communications, Inc.
  4. ; Pages: 1 Photos: 0
  5. ;
  6. begin
  7.     IxlaPhotoAlbum == 0
  8.     push_object IxlaPhotoAlbum
  9.     PG146448020 == 0
  10.     push_object PG146448020
  11.     OBJ146448020 == 0
  12.     push_object OBJ146448020
  13.     def ,`POINT00001`,15,22,
  14.     def ,`POINT00002`,110,41,
  15.     def ,`java_events`,`<SCRIPT LANGUAGE="JavaScript"><!--
  16.     
  17. var ixFontColor = '#000000';                                // Font color
  18. var ixFontFamily = 'arial, helvetica, sans-serif';        // Font family
  19. var ixFontSize = 10;                                                // Font size
  20.  
  21. var ixID='ixID'+Math.round(Math.random()*1000), src='';
  22. if(V4)
  23. {    if(IE || V5)
  24.     {    document.writeln('<style type=\'text/css\'>');
  25.         document.writeln('#'+ixID+' {position: relative;}');
  26.         document.writeln('.ixDateClass {font-family: '+ixFontFamily+'; font-size: '+ixFontSize+'pt; color: '+ixFontColor+';}');
  27.         document.writeln('</style>');
  28.     }
  29.     else
  30.     {    var pfx='';
  31.         if(this == window) pfx='document.';
  32.         eval(pfx+'ids.'+ixID+'.position=\'relative\'');
  33.         eval(pfx+'classes.ixDateClass.all.fontFamily=\''+ixFontFamily+'\';');
  34.         eval(pfx+'classes.ixDateClass.all.fontSize=\''+ixFontSize+'pt\';');
  35.         eval(pfx+'classes.ixDateClass.all.color=\''+ixFontColor+'\';');
  36.         if(this != window)
  37.         {    src='document.layers.'+this.id;
  38.             var p=parentLayer;
  39.             while(p != window)
  40.             {    src='document.layers.'+p.id+'.'+src;
  41.                 p=p.parentLayer;
  42.             }
  43.             src='window.'+src;
  44.         }
  45.         if(src.length > 0) src+='.';
  46.     }
  47. }
  48. var isV4=V4;
  49. if(isV4 && NS && !V5) isV4 = (src.length>0);
  50. document.write('<div id=\'' + ixID + '\'>');
  51. document.write('<span class=\'ixDateClass\'>');
  52. var ixMonths=new Array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
  53. var dd = new Date();
  54. var nn = dd.getDate();
  55. var mm = ixMonths[dd.getMonth()];
  56. var yy = dd.getYear(); if(yy<2000) yy+=1900;
  57. document.writeln(nn+' '+mm+' '+yy);
  58. document.writeln('</span>');
  59. document.writeln('</div>');
  60. //--></SCRIPT>`,yes,
  61.     def ,`name`,`Objects\Gadgets\Display Date.GIF`,yes,
  62.     def ,`type`,`G_IMAGE`,yes,
  63.     pop_current_object
  64.     def ,`10000`,`G_IMAGE`,OBJ146448020,
  65.     def ,`page bgc`,`white`,yes,
  66.     pop_current_object
  67.     def ,`page001`,PG146448020,yes,
  68.     def ,`page_depth`,64,yes,
  69.     def ,`page_width`,128,yes,
  70.     pop_current_object
  71. end
  72.  
  73. ;==EndOfFile==
  74.