Table,lines And Gb Sound For Funmobile

Started on the old forum in July 2007 · view the original in the archive · old links redirect here

10 replies · 1,016 views · started 19 years ago · 1 min read

2 participants
Guest #1

hey guys i had been tryn to add tables and bgsound etc, in funmobile script but somethin or the other thing goes wrong could anyone of you share some ideas how to make that possible? would be really greatful

thanks

WhiteWarrior Principal · 1,419 posts #2

background sound?.. if its for the web use javascript

<script TYPE="text/javascript"> <!-- var filename="hazy_shade_of_winter.mid"; if (navigator.appName == "Microsoft Internet Explorer") document.writeln ('<BGSOUND SRC="' + filename + '">'); else if (navigator.appName == "Netscape") document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60> '); // --> </SCRIPT> <NOSCRIPT> <BGSOUND SRC="hazy_shade_of_winter.mid"> </NOSCRIPT>
XXX #3

Or just use plain html and add the bg sound in the header just like this other wap site i rememba seing..think it was http://s60.org

wizard Senior · 493 posts #6

background sound?.. if its for the web use javascript

<script TYPE="text/javascript"> <!-- var filename="hazy_shade_of_winter.mid"; if (navigator.appName == "Microsoft Internet Explorer") document.writeln ('<BGSOUND SRC="' + filename + '">'); else if (navigator.appName == "Netscape") document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60> '); // --> </SCRIPT> <NOSCRIPT> <BGSOUND SRC="hazy_shade_of_winter.mid"> </NOSCRIPT>

the script doesnt work in internet explorer

WhiteWarrior Principal · 1,419 posts #7

the script doesnt work in internet explorer

change var filename="hazy_shade_of_winter.mid"; to the the song you want to play that has been uploaded then change <BGSOUND SRC="hazy_shade_of_winter.mid"> to the song name aswel...

It should work fine... if not then i'll have to study javascript a bit more lol

WhiteWarrior Principal · 1,419 posts #8

or another way

<script Language="JavaScript"> <!-- if (document.all) document.write('<script Language="JavaScript" Src="amphtml.js"></Script><script Language="JavaScript" Src="amp.js"></Script>')

else var start=""; //--> </Script>

<script> <!-- if (document.all){ audiodiv.style.posTop=0; audiodiv.style.posLeft=0; autostart=true //Add below your song entries songurl[0]="song1.mid" songtitle[0]="Song title 1" songurl[1]="song2.mid" songtitle[1]="Song title 2" } //--> </Script> <script for="jsaudio" event="OpenComplete()" Language="JavaScript"> <!-- if (document.all){ if (start) loaded() } //--> </Script> <script for="jsaudio" event="Error(a,b,c,d)" Language="JavaScript"> <!-- if (start) if (document.all){ err=b+""; if(err.match('Cannot open')) f404() } //--> </Script>
Guest #9

thanx guys but somethin isnt supportn on the funmobile script any idea why? and hey how abt addin table lines etc on the script?

Guest #10

how wud u add thses codes on funmobile index? man i try addin marquee and i have to add it like echo "<marquee>jghasdiuftgs</marquee>"; and it works but if i try somethin more then it dnt work im unable to change text color etc on the marquee loop

Guest #11

pmpl ok i did it myself in a different way for those ppl who wants to add bgsound on ur funmobile script add it this way

echo "<BGSOUND SRC="http://geocities.com/milukicksass/sound.wav" />";

its the only way i found if u have more than share it, say like playin sound Repeatedly or randomly or turn sound off etc.

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close