Quote:
Originally Posted by m0nde
with dhtml anything is possible :devious:
But seriously, just open up photoshop and rotate the button...
- Sid
|
That's the problem buddy.
I have no image to rotate.
PHP Code:
<input type="button" class="button" value="$vbphrase[blunts_whodl_who_downloaded]" onclick="window.open('blunts_whodownloaded_ip.php?$session[sessionurl]attachmentid=$attachment[attachmentid]','blunts_whodownloaded_ip','toolbar=no,scrollbars=yes,resizable=yes,width=$show[blunts_whodl_width],height=450,top=50,left=50'); return false;" />
If I make a gif, then I have to hardcode size, text, color, backround, etc... which I'm trying to avoid.
I'd rather see if I can create a new CSS definition or just insert manual html code to make a vertical button .... so it can still feed off vbulletin's vars.
Here's the CSS code for a "button":
HTML Code:
<template name=".button" templatetype="css" date="1120222838" username="Kier" version=""><![CDATA[
a:4:
{
s:10:"background";
s:0:"";
s:5:"color";
s:0:"";
s:4:"font";
a:3:
{
s:5:"style";
s:0:"";
s:4:"size";
s:4:"11px";
s:6:"family";
s:70:"verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";
}
s:5:"EXTRA";
s:0:"";
}
]]></template>
So I guess what I'm praying for is some s:X value that's preset or that I can declare somehow that will rotate the button for me .... and I'd call it "blunts_verticalbutton" for example.
I notice <box> has an option for orient="vertical" so this is where I got the idea from.