Splash Page (with Image) Code:
Top of the Main Header:
<script type="text/javascript"><!--
// Originally created by Peter
// Editted by Charles Stover
var splashImage = "IMAGE URL";
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('a'));
}
with (d.lastChild)
{
href = location.href;
appendChild(document.createElement("img"));
}
with (d.lastChild.lastChild)
{
alt = "Click to Enter";
border = '0';
src = splashImage;
}
document.body.appendChild(d);
}
//--></script>
// Originally created by Peter
// Editted by Charles Stover
var splashImage = "IMAGE URL";
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('a'));
}
with (d.lastChild)
{
href = location.href;
appendChild(document.createElement("img"));
}
with (d.lastChild.lastChild)
{
alt = "Click to Enter";
border = '0';
src = splashImage;
}
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-image.html]Splash Page (with Image)[/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 splashImage = "IMAGE URL";
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('a'));
}
with (d.lastChild)
{
href = location.href;
appendChild(document.createElement("img"));
}
with (d.lastChild.lastChild)
{
alt = "Click to Enter";
border = '0';
src = splashImage;
}
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 splashImage = "IMAGE URL";
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('a'));
}
with (d.lastChild)
{
href = location.href;
appendChild(document.createElement("img"));
}
with (d.lastChild.lastChild)
{
alt = "Click to Enter";
border = '0';
src = splashImage;
}
document.body.appendChild(d);
}
//--></script>[/code]