By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,286 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,286 IT Pros & Developers. It's quick & easy.

. beep

P: 5
i know this beep issue has been discussed around bytes.com before,
but i have not seen a simple technique, yet.


the Problem

How to generate a beep
say every time an image is loaded

ASCII encoding is part of every www page ?
ASCII 7 is beep

so
why none of the following tecniques works:

1- directly embeding ASCII 7 in a web page ( control-G )
2- image:after {content: "\7" }
3-<img onload="document.write( '\7' ) " ....

???

-

000baaa000
Sep 27 '08 #1
Share this Question
Share on Google+
1 Reply


drhowarddrfine
Expert 5K+
P: 7,435
That's just crazy talk. 'beep' is operating system generated. The browser does not generate commands to the OS except through installed apps, ActiveX, XUL and the like and only if they're installed. html and css are markup languages for display and content, not programming languages, so telling it to display that control code causes it to display it, period.

Your third option is javascript, which is a programming language. But that's a question for hte javascript board.
Sep 27 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.