Forums | Email a Colleague | FAQ

Dr. Website Archives

Dr. Website® Archives 2002

May 16, 2002
    Question:
    Dear Dr. Website: yo doc. what is the html code for music i think i have it but my music wont play send me a e-mail wit the code and where i can upload some song to play on my website. Thanks

    Answer:
    The easiest way to do this is by using the EMBED tag: <bgsound src="ole.mid" loop="-1">

    This works with MSIE and NS. Set loop to be 0 if you want it to play once, and -1 if you want it to loop.
    Thanks

    --Dr.Website

    Question:
    Dear Dr. Website:
    I want to run an executable on the users computer triggered by an event from the browser.

    How do I do that? Is there a shell command in javascript that will shell out to an executable?

    Answer:
    Essentially it can't be done...this was built into JavaScript as a security measure. You may be able to get it to work on an intranet, but even there it takes specific permissions for each machine.
    Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:
    Hello, O know this isn't a web questions but. I run a wap site and was wondering if there is any way of rumming a voting poll on a wap site like the ones seen on many web sites.
    Thanks

    Answer:
    WAP has a limited feature set, but it does include the use of forms. Hence, you'd still have to set up a server side script to handle the form contents, but it shouldn't be too difficult to have it output as WAP instead of HTML.

    Just remember that the screen is small, so you won't want much there but the poll, then the results screen. You can find many types of poll scripts at ScriptSearch.com.
    Thanks

    --Dr.Website ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ForumsEmail a Colleague · FAQ