SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 25th, 2000, 08:15 AM
Errol Errol is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 1999
Location: UK
Posts: 2 Errol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm looking for some script that will ask the user if they want to place a shortcut on their desktop, when they click a particular link. It only needs to work for IE, not for Netscape.

I found this script which allows them to add a link to favourites, so maybe it can be adapted?

//*************************
if ((navigator.appVersion.indexOf("MSIE") > 0) && (parseInt(navigator.appVersion) >= 4))
{
var sFoo = "<SPAN STYLE='cursor:hand;' onclick='window.external.AddFavorite(location.href, document.title);' Class=Text9Link>";
document.write("<IMG SRC='./images/AddFavorites.gif' Border=0 HSpace=2>");
document.write(sFoo + " Add to Favorites</SPAN>");
}
//**********************************
Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Shortcut added to desktop


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway