Sunday, February 13, 2011

drag & drop images from a HTA file

Hi everyone, From a html application (.hta file) you can drag any image and drop it into the desktop for example. Does anybody know how to disable this capability? I want the .hta files have the same behaviour than the .html files.

Thanks in advance

  • You can add an ondragstart="return false;" event handler to your images and see if that helps.

    From Tomalak
  • Anyone who renames your HTA file to an HTML file will be able to save the images.

    From mcandre

0 comments:

Post a Comment