| Forums | Email a Colleague | FAQ |
|
Dr. Website® Archives 2002Jan 3, 2002
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?
Answer: --Dr.Website Question: 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.
Answer: <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.
--Dr.Website
Question: Answer: 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/
--Dr.Website ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|