[img]http://i266.photobucket.com/albums/ii242/pipito21/jay-1.gif[/img]
i want to share the codes here.. would you permit me to do that..
tnx bro. i'll wait..
BTW.. great code!
[b]Thanks[/b]
-[b]bobcbar[/b]
-[b]pulasara[/b]
-[b]pipito21[/b]
-[b]burnok[/b]
-[b]anoer[/b]
-[b]nimiel[/b]
Last edited by --Enricko-- (2008-03-14 20:37:02)
Last edited by pipito21 (2008-03-14 20:56:15)
[b]lilprincess950[/b]
esp. if you already have some uploaded sound effects if not just go to
some sound effects site and just get the sounds url and if you have proper
plugins already in your pc... so to net shop users hope your internet shop
have already installed proper plugins in their pc's..
first make a new folder/file name it. ex: [b]sounds.js[/b] then put this inside.
[quote][b]//background sounds[/b]
if (navigator.appName == "Microsoft Internet Explorer") {
document.write('<bgsound src="http://www.8notes.com/school/midi/piano/moonlight_sonata.mid" LOOP="false">');
}
else {
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="http://www.8notes.com/school/midi/piano/moonlight_sonata.mid" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="-1" HEIGHT="1" WIDTH="1" loop="false"><br>');
}
[b]//button sounds[/b]
function PitMosh(solemnobj) {
var thisclaimer=document.getElementById(solemnobj);
thisclaimer.Play();
}
document.write('<embed src="http://h1.ripway.com/lifenomore/sounds/make_my_day.wav" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" autostart=false width=0 height=0 id="[b]solemn1[/b]" enablejavascript="true">');
document.write('<embed src="http://h1.ripway.com/lifenomore/sounds/standing_by.wav" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" autostart=false width=0 height=0 id="[b]solemn2[/b]" enablejavascript="true">');
document.write('<embed src="http://h1.ripway.com/lifenomore/sounds/toiletflush.wav" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" autostart=false width=0 height=0 id="[b]solemn3[/b]" enablejavascript="true">');
document.write('<embed src="http://h1.ripway.com/lifenomore/sounds/evil_laugh.wav" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" autostart=false width=0 height=0 id="[b]solemn4[/b]" enablejavascript="true">');[/quote]
then get the direct url and put this format in your .htm or html file
sample format:
[quote]<script src="[b]http://h1.ripway.com/username/foldername/sounds.js[/b]" language="javascript" type="text/javascript"></script>[/quote]
IMPORTANT: put the code [b]outside/below further[/b] of your page tables arrangement: what i mean is make it [b]unseen[/b]... heheh
WHY: coz in firefox it's ok if you put it anywhere in your tables but in IE you'll see a note and small dots when
viewing your page even if you set these ShowStatusBar="0" ShowControls="0" ShowDisplay="0" width=0 height=0
all in zero's.
button sample:
[quote]<center><a href="http://profiles.friendster.com/user.php?uid=FRIENDSTER ID" onmouseover=[b]"PitMosh('solemn1')" onmouseout="PitMosh('solemn2')"[/b]>ENTER MY PAGE</a></center>[/quote]
you have my permission to add this in your post coz those codes are very useful in many fun stuff...
especially on firefox users... on IE it works if you'll use it on your main page but sometimes it
will hang your browser... i'm not good enough to make a way around it on IE but in FF.. no problem..
hope someone can solve a better way to use it on IE browsers.. using it on the main friendster page.
keep it up kid!! Last edited by Refresh/Reload (2008-03-15 03:13:04)
[b]Refresh/Reload[/b] THanks For The help... and Tricks Too
[/b]
I have also mine but Auto Images Changer only..... @ my Signature below......
Ciao.... Keep on Sharing..... ROCKKKKK !!!!!!........