SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Jules
    SitePoint Community Guest
    When you right click on a link you get the option to save target as...(ie) and save link as...(netscape). Is there some JavaScript to call this function like the JavaScript to open a new window?



  2. #2
    SitePoint Co-founder Matt Mickiewicz's Avatar
    Join Date
    Jul 1999
    Location
    Vancouver, Canada
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Jules

    You might try asking your question in the WSAbstract.com Forums if nobody here knows the answer. They have quite a number of JavaScript gurus hanging out there.
    Matt Mickiewicz - Co-Founder
    SitePoint.com - Empowering Web Developers Since 1997
    Follow me on Twitter.

  3. #3
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Javascript has no capabilities to write to the client machine except under signed scripts from Netscape.

    Since this is the case, I would say that you can't do that with a normal script... In IE you could use ActiveX to do so.
    Wayne Luke
    ------------


  4. #4
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    The simple answer: no. As Luke implies, javascript has no real i/o capabilities. You cannot call up the save as dialogs since they are part of the operating system (windows) and javascript doesn't let you fiddle with other people's machines. Yes, you can do it with vb and activeX, but that implies the user must download the activeX control -- and I really don't see most people doing so from an unknown, unsecure site (fear of viruses, which are often transmitted through visual basic applications).

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •