Old 19th November 2003, 22:39   #1
Plague
f(caffeine){
return wasabi;
}
(Forum King)
 
Plague's Avatar
 
Join Date: Jul 2001
Location: Sweden
Posts: 3,984
$polygon, anyone messed with those?

I have this:
<bitmap id="video.button.play" file="$polygon" points="5,5;15,10;5,15;5,5=248,248,248"/>
which is supposed to be a white'ish triangle, but nothing shows up.
What am I doing wrong here?

-Plague
Plague is offline   Reply With Quote
Old 20th November 2003, 01:21   #2
Plague
f(caffeine){
return wasabi;
}
(Forum King)
 
Plague's Avatar
 
Join Date: Jul 2001
Location: Sweden
Posts: 3,984
incase someone else might need the answer to this one, I found out what was wrong.
it should've looked like this to work:
<bitmap id="video.button.play" file="$polygon" points="5,5;15,10;5,15;5,5=248,248,248" w="20" h="20"/>

-Plague
Plague is offline   Reply With Quote
Old 20th November 2003, 13:31   #3
Bizzeh
Forum Pirate
Beta Team
 
Bizzeh's Avatar
 
Join Date: Oct 2001
Posts: 2,032
have you tryed it without the h and w? they may be skrewing it up since your triange is only 10px high
Bizzeh is offline   Reply With Quote
Old 20th November 2003, 16:42   #4
Plague
f(caffeine){
return wasabi;
}
(Forum King)
 
Plague's Avatar
 
Join Date: Jul 2001
Location: Sweden
Posts: 3,984
in my first post, it was without the w and h and that was the reason it didn't work, the w and h is neccesary for it to work, as it does now..

yes the triangle is 10px high and 10px wide, BUT if you check it starts 5px from the left and 5px from the top, so in a rectangle of 20x20px, it will result in a centered 10x10px triangle, which is exactly what I wanted..

-Plague
Plague is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump