Log In · Register

 
splash page help
andymanutd7
post Nov 3 2005, 02:03 PM
Post #1


Senior Member
***

Group: Member
Posts: 67
Joined: Aug 2005
Member No: 205,153



Is there a way to change the position of my splash page?? because i want to move it to the left instead of the center. Below is my code:





<script type='text/javascript'>

// change this url to an image of your choice
var image = 'http://i16.photobucket.com/albums/b34/andymanutd7/v.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:0px solid #000000;} </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>
 
 
Start new topic
Replies (1 - 3)
hi-C
post Nov 3 2005, 02:23 PM
Post #2


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



My guess would be to change the part that says "Center" to left. If that doesn't work, wrap the code in a left tag.
 
Dick_and_Jane
post Nov 4 2005, 02:28 PM
Post #3


Senior Member
***

Group: Member
Posts: 31
Joined: Oct 2005
Member No: 266,798



am I allowed to post a similar problem as the topic is still the same?? If not I'm sure you will move it accordingly. This blogsite xanga.com/wendyhubbard I am working on, and wish to make a splash screen to cover the entire front page just as andymanutd7 has............but I can't seem to get it to work. Do you need my codes to check it out?? If not can you give me a code that will put any picture in the middle with a background to cover entirely? Thanks
 
hi-C
post Nov 4 2005, 03:14 PM
Post #4


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



^ It is most definitely allowed.

I'd say your image would have to be big enough to cover the whole screen.
 

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