SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member nuphipsi's Avatar
    Join Date
    Oct 2001
    Location
    Cleveland
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anyone know Javascript Menu shortcuts?

    Hey guys,

    I was wondering if you all know the short cuts to options such as copy, view source, save as, etc

    in other words what i am looking for is the javascript strings like this:

    "
    if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=1.6; else window.parent.document.body.style.zoom=1.6; "

    if anyone can furnish links or andthing it would be greatly appreciated.

  2. #2
    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,

    If you mean a DOM, there are none.

    view source: window.location = 'view-source:' + window.location.href;

    the rest are accessed through Microsoft activeX objects. see msdn.microsoft.com

    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
  •