Help - Search - Members - Calendar
Full Version: Splash
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
BeyondElite
what's the code for a picture thing when you come to your site and if you click on it you will enter. Because Micron's code is not working.
sherryvu
i use this and it works...

CODE
<!-- begin code provided by createblog.com -->
<script type='text/javascript'>
var image = 'IMG 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>
<!-- end code provided by createblog.com -->
BeyondElite
Thks a lot!
sherryvu
QUOTE(azn_pnoy_boi @ May 30 2004, 7:16 PM)
Well, it's not working, maybe that's Microns........ my image is this:
http://www.xanga.com/private/home.aspx

blink.gif ?

That's not an image but if you fixed that part, did you get it to work?
waccoon
problem solved, topic closed. i deleted a lot of your spam, azn pnoi.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.