Login   Register  
PHP Classes
elePHPant
Icontem

File: getstyle.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michael Ettl  >  parseCSS  >  getstyle.php  >  Download  
File: getstyle.php
Role: Example script
Content type: text/plain
Description: used by flash to get style-info
Class: parseCSS
Class for parsing CSS Stylesheets
Author: By
Last change:
Date: 2003-04-17 17:18
Size: 301 bytes
 

Contents

Class file image Download
<?php
include_once("parseCSS.inc");

$oCSS=new CSS();

$oCSS->parseFile("style.css");

$font $oCSS->css["body"]["font-family"];
$bgcolor $oCSS->css["body"]["background-color"];
$txtcolor $oCSS->css["body"]["color"];
print 
"font=$font&bgcolor=$bgcolor&txtcolor=$txtcolor&busy=NO";
?>