vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Customised scroll bars (https://vborg.vbsupport.ru/showthread.php?t=160814)

majorj0nny 10-22-2007 08:25 AM

Customised scroll bars
 
Hi - a few modules im using brng up scrollbars ... this in itself i dont mind, but they seem to take their colours from the standard windows colour settings for the PC you are on ?

Ive found this code :

Quote:

<STYLE>
<!--
BODY
{ color:black;
background-color:#a0a0a0;
scrollbar-face-color:#903030;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#C0B0B0;
scrollbar-shadow-color:rgb(0,0,0);
scrollbar-highlight-color:rgb(0,0,0);
scrollbar-3dlight-color:#808080;
scrollbar-darkshadow-Color:#202020;
}
-->
</STYLE>
if I slap that into the header template it effects some of my modules but not all ? is there a better way to do this to force scrollbars on my site to a colour scheme that matches my site? and why wouldnt this work for certain modules?

adding

Quote:

{ color:black;
background-color:#a0a0a0;
scrollbar-face-color:#903030;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#C0B0B0;
scrollbar-shadow-color:rgb(0,0,0);
scrollbar-highlight-color:rgb(0,0,0);
scrollbar-3dlight-color:#808080;
scrollbar-darkshadow-Color:#202020;
}
my my additional CSS definitions does not seem to produce any change ?


thanks in advance.

cheat-master30 10-22-2007 08:44 AM

Okay, can you post the full CSS and what ones don't supposedly work? Oh, and secondly... these scroll bar styles are not valid and are Internet Explorer specific since standard styles do not edit the browser interface or anything except the actual page.

majorj0nny 10-22-2007 11:09 AM

Quote:

Originally Posted by cheat-master30 (Post 1365746)
Okay, can you post the full CSS and what ones don't supposedly work? Oh, and secondly... these scroll bar styles are not valid and are Internet Explorer specific since standard styles do not edit the browser interface or anything except the actual page.

is there another way of doing this for vbulletin? Ive asked the same question over at abadvanced because really its portal page modules Im trying to effect with this..

on my homepage Im using vbshout as a module, and also several game monitors... the vbshout seems to be effected if I add this code to the top of my header... though the gamemonitor somes dont for some reason ?

with you saying they will only work in IE - is there another way of doing this that will work in anything ?

I remember a while ago someone altered an old shoutbox code to replace the standard scroll bar with some java style arrows that looked neater?

cheat-master30 10-22-2007 01:44 PM

Quote:

Originally Posted by majorj0nny (Post 1365808)
is there another way of doing this for vbulletin? Ive asked the same question over at abadvanced because really its portal page modules Im trying to effect with this..

on my homepage Im using vbshout as a module, and also several game monitors... the vbshout seems to be effected if I add this code to the top of my header... though the gamemonitor somes dont for some reason ?

with you saying they will only work in IE - is there another way of doing this that will work in anything ?

I remember a while ago someone altered an old shoutbox code to replace the standard scroll bar with some java style arrows that looked neater?

First, you would need to post the code for the part of the template where it's not working to know why it isn't. Maybe the monitor thing is coded differently than the shoutbox for the front end? Because if one is in Flash, Shockwave or Java, there's no hope in trying to alter it.

There is not an alternative that will work in anything.


All times are GMT. The time now is 10: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
  • Page Generation 0.03329 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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