Forums | Email a Colleague | FAQ

Dr. Website Archives

Dr. Website® Archives 2002

Jan 3, 2002
    Question:
    Dear Dr. Website:
    We are developing this site for our organisation employees.We want to check if employee visited our site has installed PMS or not.To do this we want to search on client machine using javascript for pms.exe.

    Is there any way in javascript to search for a file?We will provide a link.If he clicks,it'll search for pms.exe on client m/c and run it. Is it possible in javascript,sir?
    Thankx,

    Answer:
    Unfortunately, without express permission (as in an intranet), JavaScript is unable to probe a visitor's system for specific files. As you can imagine, this was built into the language to prevent security abuses.
    Thanks

    --Dr.Website

    Question:
    Dear Dr. Website:
    In an unframed site, how do I get links in a pop-up window to load into the main window the pop-up originate from?

    example: http://www.mikeblinder.com/

    click on Frank Dorf in upper right to get pop-up click on Mike Blinder graphic at top left to get (back) to home page right now uses target="_blank" (because it was the last thing I tried!), but obviously doesn't do the trick.
    thanks,

    Answer:
    In the page you open, use this code in the header:

    <SCRIPT LANGUAGE="JavaScript"> function orig(URL){ window.opener.location=URL; } </SCRIPT> and for your link, use this: <a href="javascript:orig('http://www.internet.com/');">

    That'll do the job! Of course you'll need to change the URL in the link to whatever you want.
    Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:
    What's the difference between an active page and an active server page?

    Answer:
    I've never heard of an "active page." An Active Server Page is simply an ASP-based page. That is, it's a page that uses ASP technology (or these days, ASP.NET). ASP pages use scripting, either in VBScript, JavaScript, to dynamically display the web page.

    This can involve a database, images, shopping carts, or just some basic HTML. For more info about ASP, you can visit the following sites: http://www.15seconds.com/ http://www.4guysfromrolla.com http://www.asp101.com/
    Thanks

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

ForumsEmail a Colleague · FAQ

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs