Skip to content

Instantly share code, notes, and snippets.

@KirinDave
Created August 27, 2008 06:37
Show Gist options
  • Save KirinDave/7441 to your computer and use it in GitHub Desktop.
Save KirinDave/7441 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Welcome to Oatmeal Homeland!</title>
<meta name="description" content="">
<meta name="keywords" content="Private server, WoW, World of Warcraft">
<STYLE>
:link {color: #666633; font-weight: normal;}
:visited {color: #666633; font-weight: normal;}
:hover {color: #666633; font-weight: normal; background-color: #CCCC99; font-weight: normal;}
<!--
body { color:#333300;}
p { color: #333300;}
td { color: #333300;}
-->
input.btn {
color:#050;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background-color:#fed;
border:1px solid;
border-top-color:#696;
border-left-color:#696;
border-right-color:#363;
border-bottom-color:#363;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=0,StartColorStr='#ffffffff',EndColorStr='#ffeeddaa');}
input.btnn {
color:#333300;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:100%;
font-weight:bold;
background-color:#CCCC99;
border:1px solid;
border-top-color:#CCCC99;
border-left-color:#CCCC99;
border-right-color:#CCCC99;
border-bottom-color:#CCCC99;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=0,StartColorStr='#ffffffff',EndColorStr='#ffeeddaa');}
input.btnhov{
border-top-color:#c63;
border-left-color:#c63;
border-right-color:#930;
border-bottom-color:#930;}
</STYLE>
<style type="text/css">
.popup {
border: double 3px #000000;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
display: none;
position: absolute;
background-color: #999966;
width: 300px;
z-index: 60;
}
.popuptitle {
background-color: #CCCC99;
color: #666633;
font-weight: bold;
height: 15px;
padding: 5px;
}
     
.popupbody {
padding: 5px;
text-align: center;
}
#popup { top: 200px; left: center; }
</style>
<script type="text/javascript">
//----------
function addEvent(obj ,evt, fnc)
{
if (obj.addEventListener)
obj.addEventListener(evt,fnc,false);
else if (obj.attachEvent)
obj.attachEvent('on'+evt,fnc);
else
return false;
return true;
}
function removeEvent(obj ,evt, fnc)
{
if (obj.removeEventListener)
obj.removeEventListener(evt,fnc,false);
else if (obj.detachEvent)
obj.detachEvent('on'+evt,fnc);
else
return false;
return true;
}
//----------
function appendElement(node,tag,id,htm)
{
var ne = document.createElement(tag);
if(id) ne.id = id;
if(htm) ne.innerHTML = htm;
node.appendChild(ne);
}
//----------
function showPopup(p)
{
greyout(true);
document.getElementById(p).style.display = 'block';
}
function hidePopup(p)
{
greyout(false);
document.getElementById(p).style.display = 'none';
}
//----------
function greyout(d,z)
{
var obj = document.getElementById('greyout');
if(!obj)
{
appendElement(document.body,'div','greyout');
obj = document.getElementById('greyout');
obj.style.position = 'absolute';
obj.style.top = '0px';
obj.style.left = '0px';
obj.style.background = '#111';
obj.style.opacity = '.5';
obj.style.filter = 'alpha(opacity=50)';
}
if(d)
{
if(!z){ z - 50 }
obj.style.zIndex = z;
obj.style.height = Math.max(document.body.scrollHeight,document.body.clientHeight)+'px';
obj.style.width = Math.max(document.body.scrollWidth,document.body.clientWidth)+'px';
obj.style.display = 'block';
addEvent(window,'resize',greyoutResize);
}
else
{
obj.style.display = 'none';   
removeEvent(window,'resize',greyoutResize);
}
}
     
function greyoutResize()
{
var obj = document.getElementById('greyout');
obj.style.height = document.body.clientHeight+'px';
obj.style.width = document.body.clientWidth+'px';
obj.style.height = Math.max(document.body.scrollHeight,document.body.clientHeight)+'px';
obj.style.width = Math.max(document.body.scrollWidth,document.body.clientWidth)+'px';
}
//----------
</script>
</head>
<body bgcolor="#BDB76B">
<table align="center" width="900" height="900" cellpadding="0" cellspacing="0" style="border-style:double; border-width:3px; border-color: #000000;" background="http://somethinganime.atspace.com/How%20To/flowergoldwpfu7.jpg">
<tr width="900" height="250">
<td valign="top"><a href="http://somethinganime.atspace.com/How%20To/Index.htm"><img src="http://img390.imageshack.us/img390/6407/bannertempls0.jpg" width="900" height="250" border ="0"></a>
<table width="900" height="650" cellspacing="0" cellpadding="0">
<tr><td height="10"> </td></tr>
<tr width="900" height="400">
<td width="10" rowspan="3"> </td>
<td valign="top" width="270" height="390" bgcolor="#999966" style="border-style: solid; border-width:1px; border-color: #000000">
<img src="http://somethinganime.atspace.com/How%20To/Linksbutton.jpg" width="270" height="30" border="0">
<table cellspacing="0" cellpadding="0"><tr><td width="9"> </td><td width="250">
 <br>
<b>These will link to the forums, etc.</b><br>
<a href="http://somethinganime.atspace.com/How%20To/Index.htm">- This link goes back to this page</a><br>
<a href="http://somethinganime.atspace.com/How%20To/Index.htm">- So does this one</a>
</td><td width="9"> </td></tr></table>
</td>
<td width="10" rowspan="3"> </td>
<td rowspan="3" valign="top" width="600" height="630" bgcolor="#999966" style="border-style: solid; border-width:1px; border-color: #000000">
<img src="http://somethinganime.atspace.com/How%20To/Newsbutton.jpg" width="600" height="30" border="0">
<table cellspacing="0" cellpadding="0"><tr><td width="9"> </td><td width="580">
<p>Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party
Now is the time for all good men to come to the aid of the party</p>
<input type ="button" value="Show Popup" onClick="showPopup('popup')" class="btn" onmouseover="this.className='btn btnhov'" onmouseout="this.className='btn'"/>
<div id="popup" class="popup">
<div class="popuptitle">Replace</div>
<div class="popupbody">
<p style="text-align: center;">To vote for us,<br>
please click on Mudkips <br>
<input type="image" src ="http://somethinganime.atspace.com/How%20To/mudkip.gif" alt="submit" value="Close" onClick="hidePopup('popup')" align="center"><br>
<input type ="button" value="Close" height="25" onClick="hidePopup('popup')" class="btnn"/></p>
</div>
</div>
</td><td width="9"> </td></tr></table>
</td>
<td width="10" rowspan="3"> </td>
</tr>
<tr width="270" height="100">
<td valign="top"><p style="text-align: center;"> <br>
DONATION BUTTON GOES HERE<br>
FOR NOW, ENJOY A MUDKIPS</p><br>
<img src="http://somethinganime.atspace.com/How%20To/mudkip.gif" width="80" height="80" border="0" hspace="95">
</td>
</tr>
<tr width="270" height="330"><td> </td></tr>
<tr><td height="10"> </td></tr>
</table>
</td>
</tr>
</table>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment