The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Rimshot"

From ATITD5
Jump to navigationJump to search
(Created page with "=== Full Calendar === 500px")
 
Line 1: Line 1:
 
=== Full Calendar ===
 
=== Full Calendar ===
[[File:Mwcalendar_ss1.PNG|500px]]
+
function calendar (ID,eventID,genre,jumpto,add_day) {
 +
    http.open('get', 'show_calendar.php?ID=' + ID + '&eventID=' + eventID + '&genre=' + genre + '&jumpto=' + jumpto + '&add_day=' + add_day);
 +
 
 +
    http.onreadystatechange = function() {
 +
      if (http.readyState == 4) {
 +
          document.getElementById('somediv').innerHTML = http.responseText;
 +
          tinyMCE.execCommand('mceAddControl', false, 'mce_event');
 +
      }
 +
    };
 +
 +
    http.send(null);
 +
}

Revision as of 23:54, 21 December 2010

Full Calendar

function calendar (ID,eventID,genre,jumpto,add_day) {

   http.open('get', 'show_calendar.php?ID=' + ID + '&eventID=' + eventID + '&genre=' + genre + '&jumpto=' + jumpto + '&add_day=' + add_day);
   http.onreadystatechange = function() {
      if (http.readyState == 4) {
          document.getElementById('somediv').innerHTML = http.responseText;
          tinyMCE.execCommand('mceAddControl', false, 'mce_event');
      }
   };

   http.send(null);

}