Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > General Discussion > General Conversation Archives (11/2000 - 01/2005)
FAQ Calendar Arcade Today's Posts Search

 
 
Thread Tools Search this Thread
Old 11-24-2002, 04:51 PM   #1
Sir Krustin
Symbol of Cyric
 

Join Date: September 15, 2002
Location: Peterborough, ON, CANADA
Age: 60
Posts: 1,394
1) What's the html code play a sound, like a .wav file (eg, a beep)

2) (Used to know this one) How do you redirect a page?

Thanks for any help...
__________________
If I say \"Eject!\" and you say \"Huh?\" - you\'ll be talking to yourself! - Maj. Bannister, <b>Steel Tiger</b>
Sir Krustin is offline  
Old 11-24-2002, 05:32 PM   #2
adam warlock
Ma'at - Goddess of Truth & Justice
 

Join Date: January 7, 2001
Location: I live inside of my mind.....
Age: 53
Posts: 3,234
it depends how you want the sound played. as a background sound? (shudders) or a button sound?

2)it involves one of the special META tags. Adjust the time (In seconds) and URL to fit your needs:

meta http-equiv="refresh" content="5; url=http://www.spankme.com"

edited to get the code to show

[ 11-24-2002, 05:34 PM: Message edited by: adam warlock ]
__________________
[url]\"http://motdw.comicgenesis.com\" target=\"_blank\"><br /> [img]\"http://motdw.keenspace.com/images/lymanimaca.txt\" alt=\" - \" /></a><br /><br />my karma ran over your dogma
adam warlock is offline  
Old 11-24-2002, 08:11 PM   #3
/)eathKiller
Dracolisk
 

Join Date: January 5, 2002
Location: Guantanamo Bay, Cuba
Age: 38
Posts: 6,043
*imagines what IWs would be like with people posting wav files*

*shudder*
__________________
[img]\"http://membres.lycos.fr/th8or/ZeroSigForIronworks.gif\" alt=\" - \" /> o.o;
/)eathKiller is offline  
Old 11-24-2002, 08:46 PM   #4
adam warlock
Ma'at - Goddess of Truth & Justice
 

Join Date: January 7, 2001
Location: I live inside of my mind.....
Age: 53
Posts: 3,234
*shudders* yeah terrible indeed
__________________
[url]\"http://motdw.comicgenesis.com\" target=\"_blank\"><br /> [img]\"http://motdw.keenspace.com/images/lymanimaca.txt\" alt=\" - \" /></a><br /><br />my karma ran over your dogma
adam warlock is offline  
Old 11-24-2002, 09:05 PM   #5
Djinn Raffo
Ra
 

Join Date: March 11, 2001
Location: Ant Hill
Age: 49
Posts: 2,397
There are many ways to redirect a page.

Here is a good one:
code:
put this in between your <head></head> tags...
<script language="JavaScript">
function change(url){
document.location.replace(url);
}
</script>

<script type="text/javascript">

switch(screen.width)
//this would be used to detect screen resolution but without any
//other 'cases' it doesnt matter what the res is.. you
//get redirected..originally this script is used for that.. redirecting to
//an appropriate page based on the users screen resolution...
{

default : change('the_weburl_you_are_re-dircecting_to_goes_here.htm');

break;

}
</script>
[/QUOTE]This redirects without any intravention at all.. If you click on a webpage with this code in it.. then you go to the new url.. no exceptions..

[ 11-24-2002, 09:06 PM: Message edited by: Djinn Raffo ]
Djinn Raffo is offline  
Old 11-24-2002, 09:40 PM   #6
Sir Krustin
Symbol of Cyric
 

Join Date: September 15, 2002
Location: Peterborough, ON, CANADA
Age: 60
Posts: 1,394
Quote:
Originally posted by adam warlock:
it depends how you want the sound played. as a background sound? (shudders) or a button sound?
Exactly, an event driven sound. Or maybe a blurb as a page is opened.

Quote:
2)it involves one of the special META tags. Adjust the time (In seconds) and URL to fit your needs:

meta http-equiv="refresh" content="5; url=http://www.spankme.com"

edited to get the code to show
ahh, I remember now. thanks!

Raffo: That's a good one, I'll have to file it.

[ 11-24-2002, 09:41 PM: Message edited by: Sir Krustin ]
__________________
If I say \"Eject!\" and you say \"Huh?\" - you\'ll be talking to yourself! - Maj. Bannister, <b>Steel Tiger</b>
Sir Krustin is offline  
Old 11-25-2002, 02:15 AM   #7
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
For a background sound, use:
code:
<!--
<embed src="musicURL" loop="value" hidden="true">
<noembed>
<bgsound src="musicURL" loop="TRUE/FALSE">
</noembed>
-->
[/QUOTE]value can be any positive integer, and it will loop that number of times. Use "-1" for it to loop infinately.
TRUE/FALSE can be either true or false. True means it will loop, false means it will play once only. [img]smile.gif[/img]


[ 11-25-2002, 02:18 AM: Message edited by: LennonCook ]
LennonCook is offline  
Old 11-25-2002, 06:31 PM   #8
Sir Krustin
Symbol of Cyric
 

Join Date: September 15, 2002
Location: Peterborough, ON, CANADA
Age: 60
Posts: 1,394
Thanks LC. That looks like two different ways to do this, or am I misinterpreting what you wrote...?

Is it possible to use this code in ana event (eg, a mouseover or a button click)?
__________________
If I say \"Eject!\" and you say \"Huh?\" - you\'ll be talking to yourself! - Maj. Bannister, <b>Steel Tiger</b>
Sir Krustin is offline  
Old 11-25-2002, 11:39 PM   #9
LordKathen
Ma'at - Goddess of Truth & Justice
 

Join Date: September 15, 2002
Location: Kennewick, WA
Age: 52
Posts: 3,166
Whats with the porn?
__________________
LordKathen is offline  
Old 11-26-2002, 01:43 AM   #10
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 37
Posts: 5,452
Quote:
Originally posted by Sir Krustin:
Thanks LC. That looks like two different ways to do this, or am I misinterpreting what you wrote...?

Is it possible to use this code in ana event (eg, a mouseover or a button click)?
Yes, 2 different ways, it`s best to use both for maximum browser support [img]smile.gif[/img]
As for using sound for an event, try www.jsmadeeasy.com - to do *anything* on mouseover, you need Jscipt, so I`d recomend you go easy on it a bit, for browser support. [img]smile.gif[/img]
LennonCook is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Vedran General Conversation Archives (11/2000 - 01/2005) 9 02-05-2003 03:43 AM
HTML-help! Or something like that... Sir Exxon General Conversation Archives (11/2000 - 01/2005) 10 11-07-2002 06:27 AM
HTML Help please? Moni General Conversation Archives (11/2000 - 01/2005) 5 08-27-2002 05:53 AM
HTML help Willard General Conversation Archives (11/2000 - 01/2005) 5 07-08-2002 10:46 PM
Some HTML help, please Sir ReGiN General Conversation Archives (11/2000 - 01/2005) 5 04-05-2002 04:38 AM


All times are GMT -4. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved