vb.org Archive

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

Makaveli105 07-03-2004 09:40 PM

scrollbar
 
where can i put the code to change the scrollbar colors. i tried putting it in headerinclude and numerous other places and it does nothing. can anyone help me?

Thanks

Zachery 07-03-2004 09:43 PM

Quote:

Originally Posted by Makaveli105
where can i put the code to change the scrollbar colors. i tried putting it in headerinclude and numerous other places and it does nothing. can anyone help me?

Thanks

Youll need to add it to the CSS area of vBulletin. in the Aditional CSS box at the very bottom of the style manager

The scrollbar colors must now be defined in HTML not body

HTML {

}

Makaveli105 07-03-2004 11:12 PM

Worked, Thanks Zack!

Ghanem 04-19-2005 03:19 AM

Hi,

How can I change the scrollbar side to be to the right..
I am running an arabic forum, the scrollbar is on the left side while I want it to be on the right side..
http://www.la7odood.com/vb

Regards.

Ghanem 04-27-2005 09:03 AM

Up :rolleyes:

Telkman 04-27-2005 09:24 AM

The right to left direction is currently defined in the html tag by the the dir definition:

PHP Code:

<html dir="rtl" lang="ar-sa"

In IE (and others?) that will position the scrollbar on the left hand side.

To return the scrollbar to the right hand side, you simply need to remove the dir definition and set the text direction without applying it to the entire document or by using CSS.

This could be done by using the dir definition to surround all the content but without applying it to the html/body tags e.g. use the below code within the body tags but surrounding all other content.
PHP Code:

<bdo dir="rtl"></bdo

Or you could apply the direction through the CSS more easily in the CSS editor by adding the below definition to the CSS for the body tag for example, but this may not effect everything (column orders etc):
PHP Code:

directionrtol


Ghanem 04-27-2005 09:42 AM

Hi,

thank you for the answer..

just wanted to know:

Quote:

Originally Posted by Telkman
PHP Code:

<bdo dir="rtl"></bdo


Where to apply that..

and
Quote:

Originally Posted by Telkman
but this may not effect everything (column orders etc):
PHP Code:

directionrtol


I need only the main scroll bar to be to the right, is that gona solve it, and should I put the code any where in the CSS..

Kind Regards.

Telkman 04-27-2005 10:23 AM

This will become more complicated if you have different direction languages that use the same templates.


Admin CP > Languages & Phrases > Language Manager > *Your Language* > Edit Settings

Change "Right to Left" to "Left to Right".

The scrollbar will now be on the right hand side, but your text will also not be going in the direction you require.


Admin CP > Styles & Templates > Style Manager > *Your Style* > All Style Options > Go > Body > Extra CSS Attributes

Add:
PHP Code:

directionrtol


This will change the text direction, but the order of the columns will still be left to right, e.g. Forum, Last Post, Threads, Posts.

If you wish to have the columns from right to left as well (e.g. Posts, Threads, Last Post, Forum) then remove the previous CSS change to the body and do the following:

Admin CP > Styles & Templates > Style Manager > *Your Style* > All Style Options > Go > Common Templates > Header

At the top, add:
PHP Code:

<bdo dir="rtl"

Then:

Admin CP > Styles & Templates > Style Manager > *Your Style* > All Style Options > Go > Common Templates > Footer

At the bottom, add:
PHP Code:

</bdo


You could also do this manually through the Style Manager. If you have multiple styles where the values in question aren't inherited, you would need to edit them for each.

Ghanem 04-27-2005 11:18 AM

Hi,

Thanks again for your fast reply.

That did change the scroll to right and corrected the table directions..
but all the forum text was to the left..

seems I will stick to the left side bar :)

Thanks again for your support..

Kind Regards.


All times are GMT. The time now is 07:40 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.01747 seconds
  • Memory Usage 1,739KB
  • 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
  • (8)bbcode_php_printable
  • (3)bbcode_quote_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