Log In · Register

 
 
Closed TopicStart new topic
Splash Page Error, I think it's an error..
blitz
post Oct 22 2004, 04:27 PM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Aug 2004
Member No: 43,276



Hello, I have recently added a splash page code and I have made my enter image. Everything works well, but when I load my xanga, the rest of my xanga like the posts, profiles, etc. are already loaded at the bottom! Basically it's a splash page with the rest of the site thats supposed to appear already loaded at the bottom. I know this sounds confusing, so go to my xanga here and scroll down...

This is the code:
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://www.createblog.com/images/huddled.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 -->


Basically there's no point of my splash page if my site is already there...

Any help would be greatly appeciated.

p.s. Sorry if this has been answered already.
 
shortvi3tlaydee
post Oct 22 2004, 06:33 PM
Post #2


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



make sure you put it in the very top of your custom header
 

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