vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   usercss color values (https://vborg.vbsupport.ru/showthread.php?t=214664)

squishi 05-27-2009 12:55 PM

usercss color values
 
In the memberinfo template, is it possible to access a certain hexadecimal color value?

I would like to add the background color of the profile to the following code:
PHP Code:

    controls: { 
        
backgroundColor'#FF0000'
        } 
    } 

It's part of a javascript, and as you can see, I need the exact color value. I cannot just add a class to the html element.

UKBusinessLive 05-27-2009 03:44 PM

Quote:

Originally Posted by squishi (Post 1818078)
In the memberinfo template, is it possible to access a certain hexadecimal color value?

I would like to add the background color of the profile to the following code:
PHP Code:

    controls: { 
        
backgroundColor'#FF0000'
        } 
    } 

It's part of a javascript, and as you can see, I need the exact color value. I cannot just add a class to the html element.

Hi Squishi

I use Pixie Color picker by Nattyware

Pixie is a utility made especially for webmasters and designers. It is a color picker with few extra goodies.

Run it, simply point to a color and it will tell you the hex, RGB, HTML, CMYK and HSV values of that color. You can then use these values to reproduce the selected color in your favorite programs. Pixie will also show the current coordinates of your mouse pointer.

It is the only tool you'll need for working with colors.

Its free and you can download it here http://www.nattyware.com/pixie.php

Once you start it, where ever your cursor goes it will tell you the Hex decimals of the color.

Its excellent when you want to know the hex colors of a color on a site

Let us know how you got on ;)

squishi 05-28-2009 08:59 AM

Well, thanks for the info. But I guess I was not clear enough.

The color value should be inserted dynamically, of course, according to the user's profile settings.


All times are GMT. The time now is 11:43 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.01023 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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