I've noticed a lot of blogs use css to put a giant quote image on the side of their blockquotes.
One thing that has always bugged me with the blockquote tag (or browsers really) is there doesn't seem to be a mechanism for doing anything with the cite attribute. Which would seem to be very important considering its the URL of the source of the quote.
I wrote a little DHTML effect to make it render (but, I should not have had to do so). It just makes a little tooltip displaying the title attribute and the cite attribute (as a hyperlink). The displayed URL gets clipped to make it fit the bubble.
On my html tag page you can see the effect. I stupidly left the demo off the page that shows how to do it. If you want to use it, just rip the code off of my blockquote hover page. The javascript should work if dropped into any page, and you can customize the look and feel with the CSS snippet. There is some explanation of how the code works, too. So, it should be fairly easy if you need to modify it to fit your needs.
LadynRed, please don't kill me for my silly VML IE rounded corner sham
Update: I added a demo of the concept into the blockquote hover page (I should have done it a long time ago).
Last edited by willcode4beer : 06-19-2007 at 09:30 AM.
Reason: more info
|