Tal_Dara
Feb 2 2004, 10:59 AM
does anyone have any idea as to how you can put music in the splash screen of your xanga (aka the enter page) I have really great music for an intro but need to know how. If someone can help then that would be fantastic.
hey tal_dara, sup.....just dropped down here since i needed places to spread my evil in....heh.....anyhow, here:
QUOTE
<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><embed src="INSERT URL HERE" autoplay="true" loop="true" hidden="true"></embed><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>
i bolded where to add the url of the song......i'll be coming up with a tool where to can have html for the splash page, not just an image.
later
-Nay
Tal_Dara
Feb 2 2004, 11:41 AM
hey thnx i really appreciate it a whole lot. thx for all of your help. keep me posted on the HTML stuff for the splash page as well, that would be awesome to know.
yer sure will, i've got a nice black list of scripts to write for xanga.......in psuedo code right now. i'll be lucky if i can read my handwriting on that poor little paper. covered up with coke marks and ketchup stains.......heh, i've got to stop living in front of my computer.....
oh...so......yea, i'll keep you updated.....heh
-Nay
Tal_Dara
Feb 2 2004, 04:13 PM
i have it to work but the problem now is this, how do i get it the music to just play on the splash page. when i click the splash page to enter my site the music carries on into the main page, i dont want it to do that. is there a way to not have it do that?
here:
CODE
<!-- 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';
}
document.getElementById("music").src = '';
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><embed src="INSERT URL HERE" autoplay="true" loop="true" hidden="true" id="music"></embed><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 -->
Hope it works...
-Nay
Tal_Dara
Feb 2 2004, 11:37 PM
i dont think it works at all. it keeps doin the same thing. i dunno what to tell you. if i could show you i would but i cant

so yea. thnx for all your help tho. you are still awesome in my book nay. you have the patience of a saint
CODE
<!-- 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';
}
document.music.stop();
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><embed src="INSERT URL HERE" loop="true" hidden="true" name="music" id="music" autostart=TRUE MASTERSOUND></embed><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 -->
hmm, thought no. How about this one? :)
-Nay
x3vil nightmarEx
Feb 3 2004, 12:05 AM
wow nay u sure know a lot about this stuff
good work helping noobies like myself!
Tal_Dara
Feb 3 2004, 12:15 AM
Nay=God yes you def. are because it works. I guess as the old saying goe, "third time is a charm." thnx for all your help. i wish i could give you something in return for all your help. i feel bad now, there has got to be something. well you think of something and I will see what I can do. thnx a bunch again.
Tal_Dara aka Steve
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.