php within css?!?!

pendejo

New Member
i am a bit confused with the side nav-bar i am trying to emulate.

never seen anything like that www.gelaskins.com is using....

i looked at their css files and i find this:

.PCLaptopsButton{
background-image:url('../images/buttons/SideMenu.20080828.php?btnname=PC Laptops&btnstate=off');
background-repeat:no-repeat;
height:35px;
width:220px;
font-family:Arial Black, Helvetica Black, Arial, Helvetica;
font-size:16px;
letter-spacing:-0.6px;
color:white;
text-decoration:none;
display:block;



that really bug me and i still can't make out if it uses JS or what to create that effect...

if anybody could shed some light on that php/css part that'll be really cool

and

if anybody could direct me to a JS that achieved the same result that would also very good as i ultimatly would like to have one like that too
 

rarepearldesign

New Member
Well, their PHP file is simply writing an image to the response stream based on the query string parameters, nothing special there.

What effect are you talking about? The images look pretty normal to me.
 
Top