Log In · Register

 
splash page, not working...
warriors1035
post Nov 7 2005, 03:30 PM
Post #1


Argh?
*****

Group: Member
Posts: 745
Joined: Mar 2005
Member No: 109,836



i tryed both of the codes and they didnt work
 
 
Start new topic
Replies (1 - 7)
Jeng
post Nov 7 2005, 04:19 PM
Post #2


Senior Member
*******

Group: Official Member
Posts: 7,149
Joined: Aug 2005
Member No: 213,509



did you try putting them in where they belong..like webstats or heading..before all the codes...after all the codes..or did you make a mistake in the code when using it....post your code of your code..that didnt make sense but ya know
 
Kenado
post Nov 7 2005, 09:18 PM
Post #3


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



I thought there was only one splash code....mellow.gif

Err try this one.

CODE
<script type='text/javascript'>
// intro splash page by micron

// change this url to an image of your choice
var image = 'URL OF YOUR IMAGE HERE';

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>
 
lilphoenix
post Nov 7 2005, 10:25 PM
Post #4


I'm just a little bit crazy...
******

Group: Member
Posts: 1,119
Joined: Jun 2004
Member No: 19,760



QUOTE(Kenado @ Nov 7 2005, 9:18 PM)
I thought there was only one splash code....mellow.gif

Err try this one.

CODE
<script type='text/javascript'>
// intro splash page by micron

// change this url to an image of your choice
var image = 'URL OF YOUR IMAGE HERE';

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>

*


REMEMBER TO PUT IT IN THE BEGINNING/TOP OF THE WEBSTATS BOX!
 
warriors1035
post Nov 8 2005, 09:07 AM
Post #5


Argh?
*****

Group: Member
Posts: 745
Joined: Mar 2005
Member No: 109,836



ooooo... webstats?

in the xanga scripts ones that i used it said to put it in the header..

//edit\\

um.. i put it in the webstats... and when i click preview the xanga is all white with nothing there except the ad at top with nopicture
 
Kenado
post Nov 8 2005, 09:36 AM
Post #6


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



It worked for me when I put it in my header.
http://www.xanga.com/home.aspx?user=cb_test
Can you paste your code?
 
warriors1035
post Nov 8 2005, 10:45 AM
Post #7


Argh?
*****

Group: Member
Posts: 745
Joined: Mar 2005
Member No: 109,836



er... i forgot to update.. um ya... i put in the beginning of custom header and it worked
 
Kenado
post Nov 8 2005, 12:04 PM
Post #8


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



Topic Closed.
 

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