User:Caleb Cooper/sandbox: Difference between revisions
Appearance
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 44: | Line 44: | ||
line four |
line four |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{Get|this|<pre> |
|||
JSFX.FireSpark.prototype.changeColour = function() |
|||
{ |
|||
var colour=""; |
|||
r2= Math.random()*255; |
|||
g2= r2; |
|||
b2= 0; |
|||
if(!(r2 | g2 | b2)) |
|||
{ |
|||
r2=255; |
|||
g2=255; |
|||
b2=0; |
|||
} |
|||
colour = "#" + dec2hex(r2) + dec2hex(g2) + dec2hex(b2); |
|||
this.setBgColor(colour); |
|||
} |
|||
</pre>}} |
|||
Revision as of 09:14, 16 July 2020
- one
- some stuff
- some more stuff
- two
line one
line two
line three
line four
line one
line two
line three
line four
line one
line two
line three
line four
line one
line two
line three
line four
line one
line two
line three
line four