Log In · Register

 
Enter page Script, I need help!!!
angelsfall
post Jul 28 2006, 02:25 PM
Post #1


Newbie
*

Group: Member
Posts: 7
Joined: Jul 2006
Member No: 445,399



I want to have an image that you can press to enter the xanga page, but I can't manage the script! Can someone give me the code?
I have this script, but it won't work:

<!-- 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 = 'PLACE URL 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 -->
 
 
Start new topic
Replies (1 - 14)
Serendipity
post Jul 28 2006, 03:28 PM
Post #2


the bird and the bee sides!
******

Group: Member
Posts: 1,697
Joined: Aug 2005
Member No: 201,280



i don't know if this code is any different... ermm.gif
 
angelsfall
post Jul 31 2006, 05:58 PM
Post #3


Newbie
*

Group: Member
Posts: 7
Joined: Jul 2006
Member No: 445,399



thanks, but it doesn't work.... cry.gif
 
Serendipity
post Jul 31 2006, 06:45 PM
Post #4


the bird and the bee sides!
******

Group: Member
Posts: 1,697
Joined: Aug 2005
Member No: 201,280



hmm...it works for me. you're only using one picture right? not random images, like the code shows. i think you should delete "myimages[2]='http://www.xangaskins.com/modules/02/images/02.jpg';" and all the rest of the options (i think it goes up to 5 images). it worked when i deleted the extra picture options. let me know what happens. _smile.gif
 
angelsfall
post Aug 1 2006, 01:54 PM
Post #5


Newbie
*

Group: Member
Posts: 7
Joined: Jul 2006
Member No: 445,399



Do you put it on the top or the bottom?
 
Serendipity
post Aug 1 2006, 07:12 PM
Post #6


the bird and the bee sides!
******

Group: Member
Posts: 1,697
Joined: Aug 2005
Member No: 201,280



top of the header. before everything.
 
angelsfall
post Aug 1 2006, 08:33 PM
Post #7


Newbie
*

Group: Member
Posts: 7
Joined: Jul 2006
Member No: 445,399



It doesn't work..... cry.gif
 
Serendipity
post Aug 1 2006, 10:14 PM
Post #8


the bird and the bee sides!
******

Group: Member
Posts: 1,697
Joined: Aug 2005
Member No: 201,280



if you could provide some screenshots of the whole code for me, (you probably will have to take several for me to see all parts of the code) that would be helpful, so i can see if there's any problems by comparing it to mine.

[screenshots; press Prnt Scrn > open Paint > press Ctrl V / Paste > Save > upload to an image host like imageshack.us or tinypic.com]

thanks.

ediiiit.
i was looking at the original script you posted and i noticed that you didn't place a URL to the image you want on the splash page. you know where it says 'PLACE URL HERE'? that's where you're supposed to put the URL of the picture you want. i don't know if you just took it out, or you forgot to put the URL. either that, or the code could just be messed up. ...well, just a side note.
 
Serendipity
post Aug 2 2006, 06:58 PM
Post #9


the bird and the bee sides!
******

Group: Member
Posts: 1,697
Joined: Aug 2005
Member No: 201,280



i mean, let's just say that it would be way easier for you to PM me with your username & pw of your xanga so i can take a look at the code, but i respect people's privacy, and of course, you don't have to tell me. it would just make things waaaay easier. and simpler. and faster. but it's okay. i'll just wait for the screenshots if you want.
 
angelsfall
post Aug 3 2006, 05:49 PM
Post #10


Newbie
*

Group: Member
Posts: 7
Joined: Jul 2006
Member No: 445,399



I don't really want to give my password, but I'll make a new account with the code there. I'll PM you, when I'm done. Thanks a lot! I really don't get the screenshot thing, though.
 
Serendipity
post Aug 3 2006, 06:41 PM
Post #11


the bird and the bee sides!
******

Group: Member
Posts: 1,697
Joined: Aug 2005
Member No: 201,280



sure, no problem. that'd be great.

EDIT.

err. i seem to be having problems PMing you, so i don't know if i'll get your msg. please try, though. just so you know, i'll be gone for a week starting tmr, so if you could get the account username&pw to me by TONIGHT, that'd be awesome. otherwise you'll have to wait til next monday. thanks!
 
angelsfall
post Aug 6 2006, 02:04 AM
Post #12


Newbie
*

Group: Member
Posts: 7
Joined: Jul 2006
Member No: 445,399



I don't have a lot of time...so I should be able to make it before you come back. Thanks a bunch!
 
angelsfall
post Aug 9 2006, 02:43 PM
Post #13


Newbie
*

Group: Member
Posts: 7
Joined: Jul 2006
Member No: 445,399



i got it finished! Thanks a lot! Check my site out, please! By the way...do you know how to add those smiley thingies on the posting part?
 
x_curse_of_the_c...
post Aug 13 2006, 06:52 PM
Post #14


Senior Member
******

Group: Member
Posts: 1,480
Joined: Jul 2006
Member No: 444,349



Its called a Splash Page
 
Serendipity
post Aug 14 2006, 02:14 PM
Post #15


the bird and the bee sides!
******

Group: Member
Posts: 1,697
Joined: Aug 2005
Member No: 201,280



err...do you mean customizing the smilies on the comments?
 

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