Welcome Guest [Log In] [Register]
Viewing Single Post From: [CODE] Advanced SOTW
HolySavior
Member Avatar
if( holy + alcohol){ happycoding()}
[ *  *  *  *  *  *  * ]
Here is a more advanced SOTW for you guys. instead of always retyping no winner and stuff like that. it does it for you :D

red=title
blue=image of winner
green=name of winner
purple = if you put a 1 (one) it will show the winner, but if you put a 0 (zero) it will show no winner this week.

Quote:
 

<script language="javascript">
/*Created by HolySavior of ifsupport.net */
var title = "Signature of the Week"
var pic = "http://img157.exs.cx/img157/559/ppfnew4fn.gif"
var name = "Holy"
var yes = 0

if (yes >= 1){
document.write("<div class='tableborder' align='center'>")
document.write("<div class='maintitle' align='center'>"+title+"</div>")
document.write("<div class='row4' align='center'><img src='"+pic+"'></div>")
document.write("<div class='darkrow2' align='center'>This Weeks Winner is " +name+"</div></div>")
}
else if (yes < 1){
document.write("<div class='tableborder' align='center'>")
document.write("<div class='maintitle' align='center'>"+title+"</div>")
document.write("<div class='row4' align='center'>NO WINNER THIS WEEK</div>")
document.write("<div class='darkrow2' align='center'> &nbsp; </div> </div>")
}
</script>

Added
Code:
 
//AS [/color]
Online Profile Quote Post
[CODE] Advanced SOTW · Code Snippets