Log In · Register

 
 
Closed TopicStart new topic
splash music, help please for ideas
Tal_Dara
post Feb 2 2004, 10:59 AM
Post #1


I run this town.
*****

Group: Member
Posts: 582
Joined: Jan 2004
Member No: 1,867



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.
 
Nay
post Feb 2 2004, 11:17 AM
Post #2


Senior Member
***

Group: Member
Posts: 67
Joined: Feb 2004
Member No: 2,477



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
post Feb 2 2004, 11:41 AM
Post #3


I run this town.
*****

Group: Member
Posts: 582
Joined: Jan 2004
Member No: 1,867



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.
 
Nay
post Feb 2 2004, 12:02 PM
Post #4


Senior Member
***

Group: Member
Posts: 67
Joined: Feb 2004
Member No: 2,477



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
post Feb 2 2004, 04:13 PM
Post #5


I run this town.
*****

Group: Member
Posts: 582
Joined: Jan 2004
Member No: 1,867



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?
 
Nay
post Feb 2 2004, 10:38 PM
Post #6


Senior Member
***

Group: Member
Posts: 67
Joined: Feb 2004
Member No: 2,477



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
post Feb 2 2004, 11:37 PM
Post #7


I run this town.
*****

Group: Member
Posts: 582
Joined: Jan 2004
Member No: 1,867



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 sad.gif so yea. thnx for all your help tho. you are still awesome in my book nay. you have the patience of a saint
 
Nay
post Feb 3 2004, 12:01 AM
Post #8


Senior Member
***

Group: Member
Posts: 67
Joined: Feb 2004
Member No: 2,477



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
post Feb 3 2004, 12:05 AM
Post #9


Newbie
*

Group: Member
Posts: 9
Joined: Jan 2004
Member No: 1,895



wow nay u sure know a lot about this stuff
good work helping noobies like myself! biggrin.gif
 
Tal_Dara
post Feb 3 2004, 12:15 AM
Post #10


I run this town.
*****

Group: Member
Posts: 582
Joined: Jan 2004
Member No: 1,867



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
 

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