View Full Version : page etering


winterfreshgrl
08-04-2004, 06:58 PM
does anyone have the code for the picture to be clickd before entering the xanga page.. or whatever you call it hehe..

Shirl
08-04-2004, 07:09 PM
Do you have a picture uploaded...and a page to use it on? Fill in the bold areas with your own urls:

<a href="URL You want image to click to"title="Click here to see my page"><img src="url of image">

The "title" part isnt needed, but its always nice to know where your going when you click on an image link. :)

C.J
08-05-2004, 04:47 AM
Eh.. that's not it.


<!-- 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 -->