Google Answers Logo
View Question
 
Q: HTML code ( No Answer,   3 Comments )
Question  
Subject: HTML code
Category: Computers > Programming
Asked by: colinthedog-ga
List Price: $10.00
Posted: 11 Sep 2005 06:30 PDT
Expires: 11 Oct 2005 06:30 PDT
Question ID: 566746
I need some code that can be used on a multi media CD that will
automatically send an icon onto the users desktop with a link to my
website.
Answer  
There is no answer at this time.

Comments  
Subject: Re: HTML code
From: pmmbala1976-ga on 11 Sep 2005 08:07 PDT
 
Hi

This below javascript will do. Include this script code into your HTML Page.

<script language="Javascript"> 

var WshShell = new ActiveXObject("WScript.Shell"); 
strDesk = WshShell.SpecialFolders("Desktop"); 
var oShellLink = WshShell.CreateShortcut(strDesk + "\\Myshorcut.url"); 
oShellLink.TargetPath = "http://yahoo.com";
oShellLink.Save(); 
</script>

Thanks
bala
Subject: Re: HTML code
From: fredericanand-ga on 20 Sep 2005 05:49 PDT
 
The above code is correct write this script on click of a button in
your html file or seperate file (ex: sample.js) and run the file
sample.js when the multi media cd starts running.
Subject: Re: HTML code
From: kicozaninetti-ga on 30 Sep 2005 13:44 PDT
 
this code will work only with IExplorer.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy