Index: eventblock.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/event/eventblock.js,v
retrieving revision 1.3
diff -u -r1.3 eventblock.js
--- eventblock.js	2 Dec 2007 10:29:18 -0000	1.3
+++ eventblock.js	31 Dec 2007 13:52:59 -0000
@@ -1,6 +1,7 @@
 // Global killswitch
 if (Drupal.jsEnabled) {
   $(document).ready(eventAutoAttach);
+  $(document).ready(eventAutoAttachLink);
 }
 
 /**
@@ -11,7 +12,49 @@
     this.blockUpdater = new blockUpdater( $(this).parents(".content"), $(this).href().replace("month", "block"), eventAutoAttach); 
     return false; 
     });
+}
 
+/**
+ * Attaches the link tooltip behaviour to day cells.
+ */
+function eventAutoAttachLink() {
+    var dlnk, dspan, dtd, wcalendar, offset;
+    dlnk = $("#block-event-0 div.content td a");
+    wcalendar = $("#block-event-0 .event-calendar").width() / 2;
+    offset = $("#block-event-0 .event-calendar")[0].offsetLeft;
+    for(i=0; i<dlnk.length; i++) {
+	dtd = dlnk[i].parentNode;
+	dtd.onmouseover = function(){blockTooltip(this);};
+	dtd.onmouseout = function(){blockTooltip(this, 1);};
+	dspan = document.createElement("span");
+	dspan.style.width = wcalendar + "px";
+	//IE6 needs explicit position.
+	dspan.style.left = ((dtd.offsetLeft + offset > wcalendar ) ? wcalendar : dtd.offsetLeft) + offset + 'px';
+	dtd.appendChild(dspan);
+    }
+}
+
+/**
+ * Attaches the link tooltip behaviour to links tagged with 'cday' class.
+ */
+function blockTooltip(element,hide) {
+    if (hide) {
+	element.className = element.className.replace('event-tooltip', '');
+    } else {
+	var dtd = element.lastChild;
+	element.className += " event-tooltip";
+	if (dtd.innerHTML == '') {
+	    var progress = new Drupal.progressBar('updateprogress');
+	    dtd.appendChild(progress.element);
+	    $.ajax({
+	     type: "GET",
+	     url: element.firstChild.href.replace("day", "block/day"),
+	     success: function(msg){
+	      dtd.innerHTML = msg;
+	     }
+	    });
+	}
+    }
 }
 
 /**
@@ -56,6 +99,7 @@
  $.get(url,function(data){
      blockUpdate.update(data)});
 }
+
 blockUpdater.prototype.update = function (xmlHttp) {
   var blockUpdate=this;
   if(!blockUpdate.dontUpdate) {
@@ -69,6 +113,7 @@
      blockUpdate.dontUpdate = true;
    }
     blockUpdate.dontUpdate = true;
+    eventAutoAttachLink();
     if(blockUpdate.callback != undefined)
       blockUpdate.callback();
   }
Index: event.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/event/event.css,v
retrieving revision 1.16
diff -u -r1.16 event.css
--- event.css	25 Mar 2007 22:24:59 -0000	1.16
+++ event.css	31 Dec 2007 13:52:59 -0000
@@ -272,3 +272,25 @@
 .event div.form-item {
   white-space: normal;
 }
+
+.event-calendar td span { 
+  background: #ECECEC none repeat scroll 0%;
+  border: 1px solid #CCCCCC;
+  display: none;
+  position: absolute;
+  text-align: left;
+  z-index: 100;
+  overflow-y: auto;
+  overflow-x: hidden;
+  max-height: 50%;
+  background-color: #FFF;
+  border: 1px solid #555555;
+}
+
+.event-calendar td.event-tooltip span, .event-calendar td.event-tooltip a {
+ display: block;
+}
+.event-calendar td.event-tooltip span { 
+ line-height: 101%;
+ max-width: 60%;
+}
Index: event.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/event/event.module,v
retrieving revision 1.346
diff -u -r1.346 event.module
--- event.module	20 Dec 2007 20:25:34 -0000	1.346
+++ event.module	31 Dec 2007 13:53:00 -0000
@@ -428,7 +428,13 @@
         $date['month'] = (arg(2) ? arg(2) : $time['month']);
         $date['day'] = (arg(3) ? arg(3) : $time['day']);
       }
-      print event_calendar_month('block', $date);
+      if (arg(5) == 'day') {
+       	event_calendar_data($date, 'block', $types, $terms, 'prepopulate');
+	print event_render_day($date, 'month', $types, $terms);
+      }
+      else {
+	print event_calendar_month('block', $date);
+      }
       break;
   }
 
