vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Using the "css" values (https://vborg.vbsupport.ru/showthread.php?t=180602)

Shane 05-26-2008 07:42 PM

Using the "css" values
 
Hey all! I been writing a new plugin (YAY!) and I need your help since I have now clueless on how to proceed.

Here is what I want to do:
  1. Be able to add my own things to the CSS editor, like the "Forum Jump Menu" section, but it be my own tables, which would be more preferable.
  2. I need to do is be able to access the individual CSS color values of certain things. i.e. $css[.vbmenu_control][background] should output: #738FBF, but it doesn't do so.
That's my problem. :) I will continue to look into it, but I thought I get some help now. :)

Lynne 05-26-2008 07:44 PM

You can add your own css in the bottom box at Admin CP > Styles & Templates > Style Manger > select your Style > Main CSS. .vbmenu_control is defined on that page also under the heading Popup Menu Controls

Shane 05-26-2008 08:02 PM

Ok... not what I am trying to do. I am trying to get the values from the CSS. Not create CSS. I just want to get the CSS color value of .vbmenu_control so I can pipe it to my Java Applet. This is programing.


All times are GMT. The time now is 11:32 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.01036 seconds
  • Memory Usage 1,709KB
  • 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)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