Enter page Script, I need help!!! |
Enter page Script, I need help!!! |
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 --> |
|
|
|
![]() |
Aug 1 2006, 10:14 PM
Post
#2
|
|
![]() 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. |
|
|
|
angelsfall Enter page Script Jul 28 2006, 02:25 PM
minixchopstix i don't know if this code is any different... Jul 28 2006, 03:28 PM
angelsfall thanks, but it doesn't work.... Jul 31 2006, 05:58 PM
minixchopstix hmm...it works for me. you're only using one p... Jul 31 2006, 06:45 PM
angelsfall Do you put it on the top or the bottom? Aug 1 2006, 01:54 PM
minixchopstix top of the header. before everything. Aug 1 2006, 07:12 PM
angelsfall It doesn't work..... Aug 1 2006, 08:33 PM
minixchopstix i mean, let's just say that it would be way ea... Aug 2 2006, 06:58 PM
angelsfall I don't really want to give my password, but I... Aug 3 2006, 05:49 PM
minixchopstix sure, no problem. that'd be great.
EDIT.
err... Aug 3 2006, 06:41 PM
angelsfall I don't have a lot of time...so I should be ab... Aug 6 2006, 02:04 AM
angelsfall i got it finished! Thanks a lot! Check my ... Aug 9 2006, 02:43 PM
beach. Its called a Splash Page Aug 13 2006, 06:52 PM
minixchopstix err...do you mean customizing the smilies on the c... Aug 14 2006, 02:14 PM![]() ![]() |