Log in

View Full Version : Highlight Thread with over mouse


Devanand
04-15-2009, 09:20 PM
How to highlight thread with over mouse like on this forum:

http://tech6.com/f51-vbulletin/

Thank you

D

snakes1100
04-15-2009, 09:32 PM
If you mean "mouse over" preview of a thread.

admincp --> vbulletin options --> Forum Display Options (forumdisplay) -->

Length of Thread Preview Text
This setting allows you to specify how many characters of the first post in a thread to display in the 'title' tag of the thread title on the forumdisplay page.

Set this value to 0 to disable thread previews.

Devanand
04-16-2009, 01:51 AM
No.
Try to go on this page in my first post and with mouse over threads. You will see they are changing color.

Devanand
04-17-2009, 11:51 AM
Anyone?

TomJames
04-17-2009, 12:34 PM
That's just a CSS trick, if you look in your CSS definitions you should be able to add (or if it's already there) change link:hover to another colour.

Example:

link:hover {color: #FFFFFF; background-color:000000; text-decoration: none}

You change the text colour to white (color) and the background to black when someone hovers over it.

At least I believe that would be the easiest and quickest way of doing it.

nexialys
04-17-2009, 12:40 PM
actually it is:

.alt1Active:hover {
background-color: #FFFFF1;
}
.alt2Active:hover {
background-color: pink;
}

these are examples, you see how it goes...

there was an old javascript acting on hovering effect, but was incompatible with the new browsers, so it was abandonned. using CSS like shown in the code here is good.

Devanand
04-17-2009, 12:54 PM
Ok, but where I should add this?

nexialys
04-17-2009, 01:37 PM
AdminCP >> Styles & Templates >> Style Manager >> Main CSS of the style you want to edit

put that code in the last block you see on that page, named Advanced Users:... put it in the bottom field, to avoid breaking anything... :)

change the colors, btw, these are crap.

Devanand
04-17-2009, 02:10 PM
Thank you :)
This is great!