paulmc87 — 2010-10-14T06:47:04-04:00 — #1
Anyone have any idea how i can make the following textbox called rfidentry produce a beep noise upon a string of numbers being input into it?
workorder = Request.Form("workorder")
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title> ############### </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content=" add page description... " />
<meta name="keywords" content=" add keywords... " />
<link href="_layout/style.css" rel="stylesheet" type="text/css" />
<div class="logo" onclick="document.location='default.asp';">
<div id="content" class="fixed">
<div id="maincontent" class="fixed">
<h2>Shop Floor Data System </h2>
<h3 class="maincontent" style="margin-top:15%">Please swipe your <bold>T & A fob</bold> at the reader.
<form name="rfidentry" action="works_order.asp" method="POST">
<input type="password" name="rfid" style="width: 321px; height: 26px"/>
<input type="hidden" name="workorder" value="<%=workorder%>"/>
<img class="img-center" src="_layout/images/rfid.gif" style="width: 210px; height: 210px"/>
paulmc87 — 2010-10-15T04:22:22-04:00 — #2
so which browsers support HTML 5?
paul_wilkins — 2010-10-15T04:14:30-04:00 — #3
If you want to start making use of some HTML5 features, you can access the audio API directly.
var snd = new Audio("beep.mp3");
paulmc87 — 2010-10-15T03:03:59-04:00 — #4
thanks for the replies. The system we have created is basically an interface for our ERP system. It is an electronic traveller system. Everyone employee has an RFID tag and this is how we are identifying who works on what job.
It would be helpful for the people working on the shop floor if it simply beeped when they scanned there tag, this is because when you actually swipe your tag it is not always clear that it has swiped ok, i know it has and it works fine , however its just re assurance for the user more than anything.
If it is too much of a faff we will probably just leave it, but it has turned out to be not as simple as we first thought
omnicity — 2010-10-14T15:26:41-04:00 — #5
This is possible, though maybe not practical.
I'll post again if I find a sensible reference.
paul_wilkins — 2010-10-15T05:17:37-04:00 — #6
There are other solutions, but you should test them out to ensure that they work as best as possible for you.
Demonstration of Different Ways to Play a Sound from a Web Page
rguy84 — 2010-10-14T15:30:33-04:00 — #7
Paul, I am guessing it will beep because of error. What will you do for deaf people or people at work w/o sound? Just a thought
paulmc87 — 2010-10-15T05:05:35-04:00 — #8
unfortuantely i can only use IE8
i am thinking maybe flash may offer a solution
paul_wilkins — 2010-10-15T05:03:31-04:00 — #9
Most of them now. Here's a comparison of how different web browsers stack up.