Log In · Register

 
enter signs. *splash*
bogalgirl
post Aug 22 2004, 05:14 AM
Post #1


work hard. play hard.
****

Group: Member
Posts: 266
Joined: Jul 2004
Member No: 32,940



my xanga is - www.xanga.com/bogalgirl but why is it i've put da splash code in my xanga but it duznt relli work as in lyke i wanted it like this - www.xanga.com/golden_senerity like only da enter sign shows on da screen but in my xanga, u can scroll down n see my syte without pressin da enter sign. y is it plz help! watz wrong wif da code?
 
 
Start new topic
Replies
sherryvu
post Aug 25 2004, 07:52 AM
Post #2


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



okay i foudn the problem.. you had an extra </center> tag that you didn't need.. replace your header with this here :
CODE
<script type='text/javascript'>
var image = 'http://www.smileylanz.com/entersign.gif';

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>

<center><img src="http://images.google.com/images?q=tbn:c0j3Bs41BA8J:www.traitor-records.com/img/enchantcover.jpg"> <img src="http://p2.xanga.com/2d/98/2d98a1a93675bf6901575430c3e4d14a3477754.gif">  <img src="http://ashleemeekis.myknet.org/graphiczforppl/honey.gif"> <img src="http://pics.greatestjournal.com/userpic/7268227/326566"> <img src="http://userpic.livejournal.com/17190969/2695817"></center>


<MARQUEE behavior=alternate direction=left scrollAmount=3 width="4%">
<font face=Webdings size="3">4</font></MARQUEE>
<MARQUEE scrollAmount=1 direction=left width="3%"><font size="3"> | | |</font></MARQUEE> [LeT YouR SpEaKeRs RocK] </FONT></B><FONT color=#FF99CC size="3"><MARQUEE scrollAmount=1 direction=right width="3%"> | | |</MARQUEE><MARQUEE behavior=alternate direction=right scrollAmount=3 width="4%"><font face=Webdings size="3">3</font></MARQUEE>

<div align="center">

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

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

<!--
//blink boxes - xanga.com/add_ons
//by sean f http://www.xanga.com/seanmeister

//fixed to work with new security measures by
//hotaru_01 http://www.xanga.com/hotaru_01

// customize by changing the values below
// these are the various colors, in quotes, seperated by commas
var blinkColors = new Array("#FF0099","#000000","#ffffff");
// the border color
var blinkBorderColor = "#000000"
// the border width, in pixels
var blinkBorderWidth = 1;
// the # of rows
var blinkRows = 1;
// the # of columns
var blinkCols = 40;
// the width of the entire box, in pixels or %
var blinkWidth = 500;
// the height of each row, in pixels
var blinkRowHeight = 10;
// speed of blinking, in milliseconds
var blinkRate = 8;

// do not edit below this line
st=setTimeout;
document.write("<table id='blinkbox' width='" + blinkWidth +"' border = 0 cellspacing='" + blinkBorderWidth + "' cellpadding=0 bgcolor='" + blinkBorderColor +"'>");
for (r = 0; r < blinkRows; r++){
document.write("<TR>");
for (c = 0; c < blinkCols; c++){
document.write("<TD height='" + blinkRowHeight + "'></TD>");
}
document.write("</TR>");
}
document.write("</table>");
// ... and this makes it blink
function blinkIt() {
changecell = Math.floor(Math.random() * (blinkCols * blinkRows));
changecolor = Math.floor(Math.random() * blinkColors.length);
bb = document.getElementById("blinkbox");
bbtd = bb.getElementsByTagName("td");
bbtd[changecell].style.backgroundColor = blinkColors[changecolor];
st('blinkIt()', blinkRate);
}
blinkIt();
//-->

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

Posts in this topic


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