Splash Screen plus text...??? |
![]() ![]() |
Splash Screen plus text...??? |
Apr 15 2006, 11:51 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Apr 2006 Member No: 393,983 |
I'd like to add text underneath the picture on my Splash Screen but I don't know how. could someone help me out? Thanks in advance....Patty
|
|
|
|
Apr 15 2006, 12:58 PM
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
Where it says TEXT HERE. Just try it, 'cause I'm not entirely sure it will work.
CODE <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><tr><td>TEXT HERE</td></tr></table><center><span>'); } </script> |
|
|
|
Apr 15 2006, 01:17 PM
Post
#3
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Apr 2006 Member No: 393,983 |
Thank you very much. The text showed up but was small & over to the left side. I tried using html to get it centered, larger, & the font & color changed but it disappeared. Could I be using the wrong format or something? Again thanks, Patty
|
|
|
|
Apr 15 2006, 01:59 PM
Post
#4
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
May I see what you did? Just the ver bottom section of the code. This part:
CODE 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><tr><td>TEXT HERE</td></tr></table><center><span>'); } </script> |
|
|
|
Apr 15 2006, 03:49 PM
Post
#5
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Apr 2006 Member No: 393,983 |
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><tr><td> The stone is rolled away....<br> The tomb is empty....<br>HE IS RISEN!</td></tr></table><center><span>'); } </script> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I took the html off because it wasn't working. But the text you see is over to the left of the page....I'll post it below, take a look. Many thanks for any help you can give. Patty http://www.xanga.com/MamaLambNC |
|
|
|
![]() ![]() |