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

Discussion in 'Javascript' started by Bodi, Nov 18, 2003.

  1. Bodi

    Bodi Guest

    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.
     
    Bodi, Nov 18, 2003
    #1
    1. Advertisements

  2. (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 -
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
    'Faith without judgement merely degrades the spirit divine.'
     
    Lasse Reichstein Nielsen, Nov 18, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. TC
    Replies:
    4
    Views:
    926
    JohnnyAppleseed
    Feb 7, 2005
  2. Replies:
    1
    Views:
    553
    Andrew Thompson
    Jan 5, 2005
  3. rakesh
    Replies:
    0
    Views:
    476
    rakesh
    Feb 7, 2006
  4. Rene Grothmann

    Desktop icon with Java Web Start

    Rene Grothmann, Mar 12, 2007, in forum: Java
    Replies:
    1
    Views:
    738
    Andrew Thompson
    Mar 13, 2007
  5. Rene Grothmann

    Desktop icon with Java Web Start

    Rene Grothmann, Mar 12, 2007, in forum: Java
    Replies:
    0
    Views:
    412
    Rene Grothmann
    Mar 12, 2007
  6. JB
    Replies:
    1
    Views:
    7,391
    Jason Keats
    Sep 29, 2010
  7. Nik
    Replies:
    3
    Views:
    149
    Andrew DeFaria
    Nov 15, 2003
  8. iMath
    Replies:
    7
    Views:
    2,495
    iMath
    Nov 10, 2013
Loading...