ID:2465219
 
(See the best response by Multiverse7.)
Code:
var/skin_input = list(
"html" = {"
<html>
<style>
html, body, img { margin:0px; padding:0px; overflow:hidden; }
</style>
<script type="text/javascript">
function replace(v) {
document.body.innerHTML = v; }
</script>
<body>
"}
,

"buttoncommand" = {"
<img style='cursor:pointer; position:absolute; left:0px; top:0px;' src=http://s3.postimg.org/xtrsg1tun/buttoncommand1.png onmouseover=this.src='http://s7.postimg.org/i2i850dzr/buttoncommand2.png' onmouseout=this.src='http://s3.postimg.org/xtrsg1tun/buttoncommand1.png' onclick=window.location='byond://?value=buttonsay'>
"}
,

"buttonsay" = {"
<img style='cursor:pointer; position:absolute; left:0px; top:0px;' src=http://s24.postimg.org/iod0waa3l/buttonsay1.png onmouseover=this.src='http://s18.postimg.org/thibqno3p/buttonsay2.png' onmouseout=this.src='http://s24.postimg.org/iod0waa3l/buttonsay1.png' onclick=window.location='byond://?value=buttonroleplay'>
"}
,

"buttonroleplay" = {"
<img style='cursor:pointer; position:absolute; left:0px; top:0px;' src=http://s29.postimg.org/5rfc6hp0j/buttonroleplay1.png onmouseover=this.src='http://s27.postimg.org/tq95cr0f3/buttonroleplay2.png' onmouseout=this.src='http://s29.postimg.org/5rfc6hp0j/buttonroleplay1.png' onclick=window.location='byond://?value=buttonwhisper'>
"}
,

"buttonwhisper" = {"
<img style='cursor:pointer; position:absolute; left:0px; top:0px;' src=http://s22.postimg.org/uiyyoquj1/buttonwhisper1.png onmouseover=this.src='http://s22.postimg.org/q0wnwneh9/buttonwhisper2.png' onmouseout=this.src='http://s22.postimg.org/uiyyoquj1/buttonwhisper1.png' onclick=window.location='byond://?value=buttoncommand'>
"}
,

"current" = "buttoncommand")


Problem description: When the game loads the IC,ALL,OOC toggle buttons are missing. A white box and "x" is all that show without the png

http://www.byond.com/docs/ref/skinparams.html

toggletoocc()
++winset(src,"wind.butname1","image='upocc.jpg'")
++winset(src,"wind.butname2","image='downic.jpg'")
++winset(src,"wind.butname2","image='downall.jpg'")

u can do more actions with ;
++winset(src,"wind.butname2","image='downall.jpg';command='change-ic-icon'")
Best response
Klogaum, the OP is working with a browser-based interface, not a Dream Seeker interface. It's probably the built-in browser control, or it might even be the Webclient. Also, what is that ++ in front of winset()? You can't really increment it.


Alex, those links are actually dead. At some point, postimg.org changed their domain to .cc. Replace all instances of .org with .cc and you might find that it still works. I have never heard of that host though. You might not want to rely on an image host that suddenly switches domains like that.