Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Play a sound when a category is opened?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

funinbc
Junior Member

245 Posts

Posted - 31 March 2004 :  18:55:14  Show Profile
Is there a way to play a sound when a member open up a category?
I run a 4x4 website and one of the category's is called Carnage. It would be funny as hell to have Nelson from the simpsons say "HA HA" when the section is opened up.

I've done a search but didn't find anything.

funinbc
Junior Member

245 Posts

Posted - 02 April 2004 :  19:45:29  Show Profile
sorry if I wasted your time or posted in the wrong room
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 02 April 2004 :  20:08:38  Show Profile
<EMBED SRC="YourSoundFile.wav" HIDDEN="true" AUTOSTART="true" LOOP="false" volume="100"></EMBED>

That'll play a sound, if you're confident enough, add a column to the categories table and you could play a differnt sound for each category

The UK MkIVs Forum
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 08 April 2004 :  14:37:39  Show Profile
Thank you!!! I still new at this which file would I put that code into?
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 13 April 2004 :  18:50:28  Show Profile
Would I put this in the topic file?
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 29 April 2004 :  16:48:20  Show Profile
anyone has any thoughts on this yet?
Go to Top of Page

bballillirt
New Member

USA
94 Posts

Posted - 30 April 2004 :  12:45:05  Show Profile  Visit bballillirt's Homepage  Send bballillirt an AOL message
Can i point out that it would be irritating as hell to have sound not to mention slower. But obviously thats your choice

<<Will install mods for food--email me!!!>>

Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 30 April 2004 :  13:34:15  Show Profile
it would only be a 4 sec song and non looping
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 07 September 2004 :  22:32:33  Show Profile
could someone help me by letting me know where to insert into what script ?
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 08 September 2004 :  14:20:06  Show Profile  Visit MaD2ko0l's Homepage
i dont know if this will work or evne if this is what u want but try this.

find this (Line 447 on my default.asp):

Response.Write	"<a href=""" & ScriptName & "?" & HideForumCat & "=N"">" & getCurrentIcon(strIconPlus,"Expand This Category","") & "</a>"


then replace it with somthign like this:

Response.Write	"<a href=""" & ScriptName & "?" & HideForumCat & "=N"" onMouseOver=""document.all.music.src='YourWavHere.wav'"">" & getCurrentIcon(strIconPlus,"Expand This Category","") & "</a>"


then find this (a few lines down):

					       			Response.Write	"<a href=""" & ScriptName & "?" & HideForumCat & "=Y"">" & getCurrentIcon(strIconMinus,"Collapse This Category","") & "</a>"
							end if


then add this under the "end if" part:

						        	Response.Write	"<bgsound src=""#"" id=""music"" loop=""1"" autostart="""true""">"


i dont know if this will work but i got this code from [url=http://javascript.internet.com/user-details/click-sound.html]Here[/url]

hope this helps

© 1999-2010 MaD2ko0l
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 09 September 2004 :  01:18:14  Show Profile
thanks for that but I need it to play a sound when the catagory is opened.
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 09 September 2004 :  05:38:41  Show Profile  Visit MaD2ko0l's Homepage
uummm try changing the "onMouseOver" to "onMouseClick" without the quotes

© 1999-2010 MaD2ko0l
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07