vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Highlight Thread with over mouse (https://vborg.vbsupport.ru/showthread.php?t=211313)

Devanand 04-15-2009 09:20 PM

Highlight Thread with over mouse
 
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:
HTML Code:

.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!


All times are GMT. The time now is 07:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01095 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete