View Full Version : tooltip css?
Chadi
04-18-2013, 09:34 PM
When viewing forum display (listing of threads in forum) and you hover your mouse over the thread title, that little pop-up preview window - what's the css class / template for this? I'd like to spruce it up a bit.
Thank you
Chadi
04-22-2013, 01:45 AM
Anyone please?
tbworld
04-23-2013, 01:31 AM
What you are referring to is a 'title' element on template 'threadbit'. Title elements can not be styled directly therefore there is no CSS for this element.
<div class="threadinfo" title="{vb:raw thread.preview}">
What can be done is to use javascript/jquery for a tooltip and unlink this one from the title element. vBulletin might already have javascript hooked into its title elements, but I am not seeing one being fired off. Still I could be missing something.
I know this doesn't help, but at least you can stop searching for the CSS! :)
If you google javascript tooltip you will get lots of information. I would use a jquery solution if you are a beginner.
Chadi
04-24-2013, 12:28 AM
Thanks for trying to help me. I'd prefer not adding more javascript to keep the load minimal.
Hopefully someone else knows about this
tbworld
04-24-2013, 12:45 AM
Because of what it does and where it does it, you really will not find another solution. You just have a 50-100 bytes of JavaScript (uncompressed) which you could add to the template, or combine with another JavaScript file (I prefer this method for other reasons) -- to avoid the HTTP request. There should be almost no measurable difference in load.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.