All pastes #796339 Raw Edit

Miscellany

public text v1 · immutable
#796339 ·published 2007-11-25 00:07 UTC
rendered paste body
<html>
<head>
<title>NOD's Evo Launch PM Template Creator</title>
<script>
function evoLaunchPMTemplate()
{
	var html;
	var Sep1 = " - "
        var S1 = "<p><table align="center" cellspacing="5"><tr><th align="center" colspan="2" style="font-size: x-large; text-align: center">";
	var evoTime = document.evoForm.evoTime.value;
        var Text1 = "Day ";
        var evoDay = document.evoForm.evoDay.value;
	var LorE = document.evoForm.LorE.value;
	var Text2 = " Launch";
	var S2 = "</th></tr><tr><td align="center" rowspan="4"><img src="";
	var3 Image = document.evoForm.Image.value;
	html = S1 + evoTime + Sep1 + Text1 + evoDay + LorE + Text2 + S2;
	document.evoForm.fred.value = html;
	x = document.getElementById("properHtml");
        x.innerHTML = html;
}
</script>
</head>
<body>
<form name="evoForm" onsubmit="javascript: evoLaunchPMTemplate();">
Time: <input type="text" name="evoTime" /><br />
Day: <input type="text" name="evoDay" /><br />
Late or Early: <input type="text" name="LorE" /><br />
Fleet1: <input type="text" name="Fleet1" /><br />
Fleet2: <input type="text" name="Fleet2" /><br />
Fleet3: <input type="text" name="Fleet3" /><br />
Launch Link: <input type="text" name="Link" /><br />
Launch Image: <input type="text" name="Image" /><br />
<input type="button" name="create" value="create" onclick="javascript: evoLaunchPMTemplate();" /><br />
HTML Output.  Just Copy and Paste into an Alliance PM.<br />
<textarea cols="50 rows="20" name="fred"></textarea>
</form>
<div id="properHtml"></div>
</body>
</html>