Splash Page (with Flash) Code:
Top of the Main Header:
<script type="text/javascript"><!--
// Originally created by Peter
// Editted by Charles Stover
var splashFlash = "Flash URL",
splashHeight = "Flash Height",
splashWidth = "Flash Width";
if ((!document.cookie.match(/splash=1/)) && (!location.href.match(/(board|action)=/)))
{
document.cookie = "splash=1;";
document.write("<style type=\"text/css\"><!--\n*.hide, font, table { display : none; }\n*.nohide { display : ; }\n--><\/style>");
var d = document.createElement("div");
with (d)
{
align = "center";
appendChild(document.createElement("embed"));
for (var l = 0; l < 2; l++)
appendChild(document.createElement("br"));
appendChild(document.createElement('a'));
}
with (d.lastChild)
{
href = "/index.cgi?";
appendChild(document.createTextNode("[Enter Site]"));
}
with (d.firstChild)
{
border = '0';
src = splashFlash;
height = splashHeight;
width = splashWidth;
}
document.body.appendChild(d);
}
//--></script>
// Originally created by Peter
// Editted by Charles Stover
var splashFlash = "Flash URL",
splashHeight = "Flash Height",
splashWidth = "Flash Width";
if ((!document.cookie.match(/splash=1/)) && (!location.href.match(/(board|action)=/)))
{
document.cookie = "splash=1;";
document.write("<style type=\"text/css\"><!--\n*.hide, font, table { display : none; }\n*.nohide { display : ; }\n--><\/style>");
var d = document.createElement("div");
with (d)
{
align = "center";
appendChild(document.createElement("embed"));
for (var l = 0; l < 2; l++)
appendChild(document.createElement("br"));
appendChild(document.createElement('a'));
}
with (d.lastChild)
{
href = "/index.cgi?";
appendChild(document.createTextNode("[Enter Site]"));
}
with (d.firstChild)
{
border = '0';
src = splashFlash;
height = splashHeight;
width = splashWidth;
}
document.body.appendChild(d);
}
//--></script>
Code Database:
If you have a Code Database (a forum that serves as a collection of scripts) on your message board, you may paste the following code into that forum to add it your own code list.
[b]Title:[/b] [url=http://proboards.gamingmedley.com/codes/splash-page-flash.html]Splash Page (with Flash)[/url]
[b]Creator:[/b] Peter, editted byCharles Stover (a.k.a. GAMEchief, SegaDragon)
[b]Cross-Browser:[/b] Yes
[b]Placement:[/b] Top of the Main Header
[code]<script type="text/javascript"><!--
// Originally created by Peter
// Editted by Charles Stover
var splashFlash = "Flash URL",
splashHeight = "Flash Height",
splashWidth = "Flash Width";
if ((!document.cookie.match(/splash=1/)) && (!location.href.match(/(board|action)=/)))
{
document.cookie = "splash=1;";
document.write("<style type=\"text/css\"><!--\n*.hide, font, table { display : none; }\n*.nohide { display : ; }\n--><\/style>");
var d = document.createElement("div");
with (d)
{
align = "center";
appendChild(document.createElement("embed"));
for (var l = 0; l < 2; l++)
appendChild(document.createElement("br"));
appendChild(document.createElement('a'));
}
with (d.lastChild)
{
href = "/index.cgi?";
appendChild(document.createTextNode("[Enter Site]"));
}
with (d.firstChild)
{
border = '0';
src = splashFlash;
height = splashHeight;
width = splashWidth;
}
document.body.appendChild(d);
}
//--></script>[/code]
[b]Creator:[/b] Peter, editted byCharles Stover (a.k.a. GAMEchief, SegaDragon)
[b]Cross-Browser:[/b] Yes
[b]Placement:[/b] Top of the Main Header
[code]<script type="text/javascript"><!--
// Originally created by Peter
// Editted by Charles Stover
var splashFlash = "Flash URL",
splashHeight = "Flash Height",
splashWidth = "Flash Width";
if ((!document.cookie.match(/splash=1/)) && (!location.href.match(/(board|action)=/)))
{
document.cookie = "splash=1;";
document.write("<style type=\"text/css\"><!--\n*.hide, font, table { display : none; }\n*.nohide { display : ; }\n--><\/style>");
var d = document.createElement("div");
with (d)
{
align = "center";
appendChild(document.createElement("embed"));
for (var l = 0; l < 2; l++)
appendChild(document.createElement("br"));
appendChild(document.createElement('a'));
}
with (d.lastChild)
{
href = "/index.cgi?";
appendChild(document.createTextNode("[Enter Site]"));
}
with (d.firstChild)
{
border = '0';
src = splashFlash;
height = splashHeight;
width = splashWidth;
}
document.body.appendChild(d);
}
//--></script>[/code]