View previous topic :: View next topic |
Author |
Message |
two7
Joined: 05 Nov 2002 Posts: 2
|
Posted: Tue Nov 05, 2002 2:17 am Post subject: Calendar mouseover |
|
|
I hope nobody thinks I'm an idiot for asking this, but I can't figure out how to configure the calendar so that when you mouse over a link for a post on the calendar, it shows a tooltip withe the title of the post as if you put a title="blah" in the <a href> So what i'm saying is that I want to but can't do this: Code: | <a href="link for post" title="title of post">date</a> | Could someone please fill me in? |
|
Back to top |
|
 |
alex_t_king
Joined: 09 Oct 2002 Posts: 194
|
Posted: Fri Nov 22, 2002 2:29 am Post subject: |
|
|
I worked a previous hack that did something similar - it was pretty easy to modify it to do this.
Example
I'll package up a zip file and make it available on my site.
It should be noted that IE and Mozilla/Netscape handle line breaks in the title attribute differently. IE will wrap the tooltip at line breaks which is very convenient but against the HTML standard. Netscape/Mozilla shows a funny character where the line break is so I put in a ", " for non-IE browsers to separate the post titles from the same day.
More info on Tooltips _________________ Yahoo! Messenger ID: alex_t_king
Last edited by alex_t_king on Sun Nov 24, 2002 7:03 pm; edited 1 time in total |
|
Back to top |
|
 |
.Chris
Joined: 30 Apr 2002 Posts: 186 Location: Hawaii
|
Posted: Fri Nov 22, 2002 4:01 am Post subject: |
|
|
I took parts of your hack and stuck them in the new caledar.. |
|
Back to top |
|
 |
alex_t_king
Joined: 09 Oct 2002 Posts: 194
|
Posted: Fri Nov 22, 2002 4:10 am Post subject: |
|
|
Yep, that is what I did as well - I think it makes the calendar a really nice part of the blog instead of just kind of being there, looking nice, but adding nothing of real value.
I guess I should package THAT up at some point too... ugh  _________________ Yahoo! Messenger ID: alex_t_king |
|
Back to top |
|
 |
alex_t_king
Joined: 09 Oct 2002 Posts: 194
|
Posted: Sat Nov 23, 2002 1:10 am Post subject: |
|
|
Ok, posted a "Calendar Plus" that has both hacks, plus more steamlined code and options to turn the features on and off. _________________ Yahoo! Messenger ID: alex_t_king |
|
Back to top |
|
 |
dtdgoomba
Joined: 05 Aug 2002 Posts: 179 Location: Cambridge, MA
|
Posted: Sat Nov 23, 2002 1:59 am Post subject: |
|
|
Thanks Alex, I grabbed it for my site. I could have sworn I had it before but i guess upgraded to 0.6.1, i forgot about it
cool hack.. |
|
Back to top |
|
 |
two7
Joined: 05 Nov 2002 Posts: 2
|
Posted: Sun Nov 24, 2002 6:40 pm Post subject: Thanx |
|
|
Dude Alex, Thanx, I appreciate this a lot! I'm going to try this out right now  |
|
Back to top |
|
 |
|