![]() |
Facebook-like tooltip for forum descriptions
1 Attachment(s)
Hello guys,
Someone asked me to write this small mod for him and I decided to release it free for everybody here at vb.org.
I only use very small jquery and css to display it, then it won't do any effect to your site load.
Installation: I. Add the following css in your additional.css Code:
.tip { Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> III. Open template forumhome_forumbit_level2_post Find the following code Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2> Code:
<h2 class="forumtitle"><a title="" class="tip_trigger" style="" href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}<span class="tip"><vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if></span></a></h2> Code:
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if> Pretty simple huh ? If you using it on your site, please mark as installed to show your support. More will come, I promised. Regards, Jeff Ledger |
awesome men, thanks. I'll put it in my web, looks awesome :D thankyou :)
|
I've done the installation but it's not exactly in you demo, I got a green underline in tooltips.
How to remove it? |
Stylevers / linkhover_linkDecoration
text-underline set to no |
Cool!!
|
installed thank you bro
5 stars |
I guess that with a few small changes this can be used for vb3.8.6?
|
wow mate, Im loving this
|
Quote:
Quote:
Quote:
Quote:
Jeff |
As of 4.1.0 (maybe earlier), jquery is included in the vBulletin download in clientscript/jquery.
|
All times are GMT. The time now is 12:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|