![]() |
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.
|
Thanks 4 your good work
|
Quote:
"I'm using google api for jquery". anw, thank you for your information. Quote:
Jeff |
for threads, does it display thread description than only thread title ??
|
Quote:
|
Waiting for it ... :)
|
Can someone PLEASE convert this for use on the forumdisplay? :)
|
Noone can convert it for use on the thread display? It should not be a difficult modification to the code.
:( |
Noone? :( :(
|
:( Is there really noone who could make this for the thread display?
|
Really?
lol |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=256440 |
I dont know why, but after everything I just see a opacity line with no round corners and no text..
I even tried to change the jquery version from google that is on the script from the 1.4.2 to 1.7.1 and still no luck, same problem... |
All times are GMT. The time now is 07:40 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:
|