Index: eventblock.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/event/eventblock.js,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 eventblock.js
--- eventblock.js	13 Jul 2007 13:22:06 -0000	1.1.2.1
+++ eventblock.js	31 Dec 2007 14:10:13 -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;
+	     }
+	    });
+	}
+    }
 }
 
 /**
@@ -77,6 +120,7 @@
     if (result!=undefined && result!="abort") {
       blockUpdate.element.html(xmlHttp.responseText);
       blockUpdate.dontUpdate = true;
+      eventAutoAttachLink();
     }
     else if (result == "abort") {
       blockUpdate.element.html(this.oldHTML);
Index: event.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/event/event.css,v
retrieving revision 1.14.2.1
diff -u -r1.14.2.1 event.css
--- event.css	29 Mar 2007 21:23:18 -0000	1.14.2.1
+++ event.css	31 Dec 2007 14:10:13 -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.215.2.16
diff -u -r1.215.2.16 event.module
--- event.module	12 Jul 2007 14:54:59 -0000	1.215.2.16
+++ event.module	31 Dec 2007 14:10:14 -0000
@@ -408,7 +408,12 @@
         else {
           $stamp = _event_user_date();
         }
-        print event_calendar_month('block', $stamp);
+	if (arg(5) == 'day') {
+	  print event_render_day($year, $month, $day, 'month', $types, $terms);
+	}
+	else {
+	  print event_calendar_month('block', $stamp);
+	}
       break;
   }
 
