![]() |
Retrieve STYLE CSS Info
Hello,
i want to retrieve some info from active style into a php file. Example : I want to take the : Normal Links CSS Color Normal Links CSS Font Hover Links CSS Color Hover Links CSS Font from Popup Menu Option Row (vbmenu_option) Any way to do that? Thanks SorentoUltimate |
you want to add this in a php file or you want a php file to use it?
key words of the day { firebug } |
Quote:
Example : $linkcolor = ......; $linkfont = ......; $linkhovercolor = ......; $linkhoverfont = ......; what i have to put?? |
look man this is what i know you can have your php file connect to style.css file but to have a css code in a php file i never see it before...
use the vbseo for an Example... |
Quote:
|
am going to need to see the code that you playing with to help you man....
|
Quote:
in Global Start Plugin put in some variables (Used in Javascript) colors defined at Settings. I want to put to that variables values from css (depent on style, because i have 8 styles) Code:
$invtedfonsiz = $vbulletin->options['tabbar_with_dropdown_fonsiz']; |
try adding
Code:
class="alt1" Code:
class="alt2" |
Hi all,
i found the solution to my problem. Here the solution : $vbmenu_option_template = fetch_template('.vbmenu_option', 0, false); $vbmenu_option_css = unserialize( $vbmenu_option_template ); $dropdown_back_color = $vbmenu_option_css['background']; $dropdown_font_color = $vbmenu_option_css['color']; $dropdown_font_size = $vbmenu_option_css['font']['size']; $dropdown_font_style = $vbmenu_option_css['font']['style']; $dropdown_font_family = $vbmenu_option_css['font']['family']; $dropdown_extra = $vbmenu_option_css['EXTRA']; $dropdown_link_normal = $vbmenu_option_css['LINK_N']['color']; $dropdown_link_hover = $vbmenu_option_css['LINK_M']['color']; |
All times are GMT. The time now is 08:36 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|