View node title in mouse over title??
earthguide - April 6, 2007 - 22:30
| Project: | Calendar |
| Version: | 5.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Hey,
Just wanted to say that I got calendar views working properly, and i love it.
But then I thought how could my calendar be even more sexy?
How about pop-up event titles?
What if the module could push the node title(s) for a day into the td title tag, so that when a user hovers over an event date (say in the month-block view or year view) the events would appear in the hover pop-up? That way you could quickly see what's going on without even having to click on anything.
Paul

#1
+1 nice idea
I'm not sure if you can get linebreaks into link mouseover text (as the title attribute of a link) which would be needed if there are multiple event titles ... so I guess something with javascript ?
#2
I think being able to view info about the event when you mouse over the title would be quite nice, but it would definitely (or at least probably) require some javascript. I am completely useless when it comes to writing javascript, so this isn't something I'll be doing, but I'd certainly be open to a patch that would make this possible that I could review.
#3
I am really interested in this; I suppose I will try to code it. If I manage would it be added to the official event module? (it would make updates easier).
thanks
#4
This is the same as http://drupal.org/node/119542. I don't know which is first, but I replied there.
#5
Ok, After some time attempting to get this to work, I came up with an alternative.
Using insert view, in a block, I inserted the calendar view and re-themed via some css to fit the block area.
I also modified the js calendar to re-postion and make the function operate on "mouseover" and "mouseout".
Works well. http://naiad.mulehill.com/
In my calendar view, I added the "view node" link which I display on the day.
#6
Hey brightondesigns this looks great - I tried replacing my jcalendar.js with yours for a calendar month-view page and the popup does not show up on mouseover. Anything I might be missing?
#7
Actually, I figured it out, I had to remove one of the parent functions in line 9, to make it
var ids = $(this).parent().parent().attr('id');
Still struggling with positioning, it only appears for a split second.