Log In · Register

 
 
Closed TopicStart new topic
splash 'enter' page code!, any that actually WORK?
cewinee
post Mar 16 2005, 11:59 AM
Post #1


Senior Member
****

Group: Member
Posts: 237
Joined: Jan 2005
Member No: 86,951



hey ive tried like 3 codes from different users on createblog n none of them really work? like nothin actually happens. i put the code as the first thing on my custom header.. replaced the URL with my own image URL.. and nothin? anyone who actually has a splash ('enter') page care to offer me their code please? cry.gif thanks! muah! ^_^

edit---

incase its jus me.. check if i did anything wrong with the code??which i doubt anyway cuz ALL i did was replace the URL of the old image to my OWN.. thats it.. maybe i put another code that affects the splash page to work? i dunno.. HELP

<script type='text/javascript'>
// intro <span class='searchlite'>splash</span> page by micron
// for more xanga scripts and help go to createblog.com

// change this url to an image of your choice
var image = 'http://img.photobucket.com/albums/v239/cewinee2/entr.jpg';

function enterSite() {
document.getElementById('<span class='searchlite'>splash</span>').style.display = 'none';
var content = document.getElementsByTagName("center");
for (var i=0; i<content.length;i++) {
content[i].style.display = 'block';
}
return false;
}

if (document.title.slice(-10) == 'Xanga Site') {
document.write('</span></center><style type="text/css"> center {display:none;} .image {border:1px solid white;} </style><table height="100%" width="100%" id="<span class='searchlite'>splash</span>"><tr><td align="center" valign="middle" style="text-align:center !important;"><a href="#" onclick="return enterSite();"><img src="'+ image +'" border="0" class="image"></a></td></tr></table><center><span>');
}
</script>
 
xbrokenheartz
post Mar 16 2005, 03:09 PM
Post #2


i need more affection than you know.
***

Group: Member
Posts: 95
Joined: Nov 2004
Member No: 63,249



i can honestly say i have no clue what you did wrong, but i fixed it.

CODE
<!-- begin code provided by createblog.com -->

<script type='text/javascript'>
// intro splash page by micron
// for more xanga scripts and help go to createblog.com

// change this url to an image of your choice
var image = 'http://img.photobucket.com/albums/v239/cewinee2/entr.jpg';

function enterSite() {
document.getElementById('splash').style.display = 'none';
var content = document.getElementsByTagName("center");
for (var i=0; i<content.length;i++) {
content[i].style.display = 'block';
}
return false;
}

if (document.title.slice(-10) == 'Xanga Site') {
document.write('</span></center><style type="text/css"> center {display:none;} .image {border:1px solid #dcdcdc;} </style><table height="100%" width="100%" id="splash"><tr><td align="center" valign="middle" style="text-align:center !important;"><a href="#" onclick="return enterSite();"><img src="'+ image +'" border="0" class="image"></a></td></tr></table><center><span>');
}
</script>

<!-- end code provided by createblog.com -->


edit:

i found out what you did wrong. you added " ('<span class='searchlite'>splash</span>') " which messed up the whole code. =)
 
lawmaniac_98
post Mar 17 2005, 01:28 AM
Post #3


«¤gïé#02¤»©
****

Group: Member
Posts: 294
Joined: Mar 2005
Member No: 110,871



Recheck your codes properly and follow the tutorial in this page carefully
Splash Page Tutorial

Copy and paste the code and only change the ones u need to change don't change the other codes. hope that helps
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: