[ Index ]
 

Code source de WebCalendar 1.0.5

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables | Statistiques

title

Body

[fermer]

/includes/js/ -> export.php (source)

   1  <script type="text/javascript">
   2  <!-- <![CDATA[
   3  function selectDate ( day, month, year, current, evt ) {
   4    // get currently selected month/year
   5    monthobj = eval ( 'document.exportform.' + month );
   6    curmonth = monthobj.options[monthobj.selectedIndex].value;
   7    yearobj = eval ( 'document.exportform.' + year );
   8    curyear = yearobj.options[yearobj.selectedIndex].value;
   9    date = curyear;
  10    if (document.getElementById) {
  11      mX = evt.clientX   + 40;
  12      mY = evt.clientY  + 120;
  13    }
  14    else {
  15      mX = evt.pageX + 40;
  16      mY = evt.pageY +130;
  17    }
  18      var MyPosition = 'scrollbars=no,toolbar=no,left=' + mX + ',top=' + mY + ',screenx=' + mX + ',screeny=' + mY ;    
  19          if ( curmonth < 10 )
  20      date += "0";
  21    date += curmonth;
  22    date += "01";
  23    url = "datesel.php?form=exportform&fday=" + day +
  24      "&fmonth=" + month + "&fyear=" + year + "&date=" + date;
  25    var colorWindow = window.open(url,"DateSelection","width=300,height=200," + MyPosition);
  26  }
  27  
  28  <?php //see the showTab function in includes/js/visible.php for common code shared by all pages
  29      //using the tabbed GUI.
  30  ?>var tabs = new Array();
  31  tabs[0] = "import";
  32  tabs[1] = "export";
  33  //]]> -->
  34  </script>


Généré le : Fri Nov 30 19:09:19 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics