469,923 Members | 1,777 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,923 developers. It's quick & easy.

Create a Desktop Icon with proper icon name, not URL name

Hello,
Could someone please tell me if there is a way, or how do I change my
html/javascript so that if I drag and drop a link from a webpage to
the desktop in such a way that the name of the shortcut created is not
the URL of the link but the link itself?
any help is greatly appreciated.

e.g. if the link is

<a href="http://www.microsoft.com"> MS </a>

then the name of the desktop icon should be 'MS' and not
http://www.microsoft.com

thanks again..
ravi.
Jul 20 '05 #1
1 3652
ra**********@documentum.com (Bodi) writes:
Could someone please tell me if there is a way, or how do I change my
html/javascript so that if I drag and drop a link from a webpage to
the desktop in such a way that the name of the shortcut created is not
the URL of the link but the link itself?


Cannot be done. The browser decides what it does with a drag-n-drop
operation. It is not controlled by the page.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Eskimo Joe | last post: by
3 posts views Thread by Michael D. Murphy | last post: by
13 posts views Thread by Lou | last post: by
reply views Thread by Steve | last post: by
1 post views Thread by laredotornado | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.