在浏览器中发出哔声 [英] Beep in browser

查看:76
本文介绍了在浏览器中发出哔声的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果发生错误,如何在浏览器中创建一个简单的蜂鸣声?

-

Arne Garvander

(我编程VB .Net用于娱乐和C#获得报酬。)

How can I create a simple beep in the browser when an error occured?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)

推荐答案

你可以制作一个带声音的flash电影并用
$ b调用它$ b function:document.write("< flash implementation goes here ...>");


// Michael


Arne Garvander < Ar *********** @ discussion.microsoft.com写信息

新闻:3E ***************** ***************** @ microsof t.com ...
You could create a flash movie with sound and call it with
function:document.write("<flash implementation goes here...>");

//Michael

"Arne Garvander" <Ar***********@discussions.microsoft.comwrote in message
news:3E**********************************@microsof t.com...

如何创建一个简单的蜂鸣声浏览器发生错误?

-

Arne Garvander

(我编程VB.Net以获得乐趣,C#编程获得付款。)
How can I create a simple beep in the browser when an error occured?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)



非常空洞的解释。

我给你半个柠檬来回答。

-

Arne Garvander

(我为了娱乐而编程VB.Net,为了获得报酬而编写C#。)

" Mike"写道:
Pretty empty explanation.
I give you half a lemon for the answer.
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)
"Mike" wrote:

你可以创建一个带声音的flash电影,并用

函数调用它:document.write("< flash implementation)去这里...>");


// Michael


" Arne Garvander" < Ar *********** @ discussion.microsoft.com写信息

新闻:3E ***************** ***************** @ microsof t.com ...
You could create a flash movie with sound and call it with
function:document.write("<flash implementation goes here...>");

//Michael

"Arne Garvander" <Ar***********@discussions.microsoft.comwrote in message
news:3E**********************************@microsof t.com...

如何创建一个简单的蜂鸣声浏览器发生错误?

-

Arne Garvander

(我编程VB.Net以获得乐趣,C#编程获得付款。)
How can I create a simple beep in the browser when an error occured?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)






你好,


Arne Garvander写道:
Hi,

Arne Garvander wrote:

如果发生错误,如何在浏览器中创建简单的蜂鸣声?
How can I create a simple beep in the browser when an error occured?



您可以发出...


Response.Write("< script> alert(''错误!'');< / script>")

Response.End()


....,显示JR生成的消息方式。 JS没有内置的

功能,但会发出一声简短的哔声(至少不是我知道的b $ b)。然而,由于这是一个客户端的东西,你必须这样做客户端,因此JS将是最有前途的方法。


干杯,

奥拉夫

-

我的.02: www.Resources.IntuiDev.com


这篇关于在浏览器中发出哔声的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆