Skip to content

Instantly share code, notes, and snippets.

@cadorn
Last active December 12, 2015 06:28

Revisions

  1. cadorn revised this gist Feb 7, 2013. 2 changed files with 4 additions and 4 deletions.
    6 changes: 3 additions & 3 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,12 @@
    <html>
    <head>
    <style>
    button {
    -webkit-app-region: no-drag;
    HTML, BODY {
    background-color: transparent;
    }
    </style>
    </head>
    <body style="-webkit-user-select: none; -webkit-app-region: drag">
    <body>
    ss
    </body>
    </html>
    2 changes: 1 addition & 1 deletion package.json
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@
    "width": 400,
    "height": 700,
    "resizable": false,
    "show": false,
    "show": true,
    "frame": false,
    "transparent": true
    }
  2. cadorn revised this gist Feb 7, 2013. 2 changed files with 27 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    <html>
    <head>
    <style>
    button {
    -webkit-app-region: no-drag;
    }
    </style>
    </head>
    <body style="-webkit-user-select: none; -webkit-app-region: drag">
    ss
    </body>
    </html>
    15 changes: 15 additions & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    {
    "name": "nw-test",
    "main": "index.html",
    "window": {
    "title": "Window Test",
    "toolbar": false,
    "position": "center",
    "width": 400,
    "height": 700,
    "resizable": false,
    "show": false,
    "frame": false,
    "transparent": true
    }
    }
  3. cadorn created this gist Feb 7, 2013.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    https://github.com/rogerwang/node-webkit/issues/132