diff options
| author | tim b <timb@camcompu.home> | 2010-05-25 01:00:30 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-05-25 01:00:30 -0700 |
| commit | d479c54031401f8e7388c423a33c6d007e1ead1f (patch) | |
| tree | 28d8b212dacc8d06fb1ebb6bbfe80e9c2658a3f5 /static | |
| parent | 64be2d5bfde815751bc152d0b49798865adbaf28 (diff) | |
make webcam bigger, change output filename
Diffstat (limited to 'static')
| -rwxr-xr-x | static/css/dump.css | 6 | ||||
| -rw-r--r-- | static/webcam/webcam.js | 2 | ||||
| -rw-r--r-- | static/webcam/webcam.swf | bin | 18933 -> 23702 bytes |
3 files changed, 5 insertions, 3 deletions
diff --git a/static/css/dump.css b/static/css/dump.css index c6cd068..1aa7668 100755 --- a/static/css/dump.css +++ b/static/css/dump.css @@ -246,11 +246,13 @@ border:1px solid #000; color:#4f4; } +/* webcam was 320x240 + webcam is 480x360*/ #webcam-button-close { /* 16 x 14 */ position: fixed; - bottom: 330px; /* 240 + 68 - (16 / 2) */ - right: 335px; /* 320 - (14 / 2) */ + bottom: 450px; /* 240 + 68 - (16 / 2) */ + right: 495px; /* 320 - (14 / 2) */ z-index: 5001; border:1px solid #000; cursor: pointer; diff --git a/static/webcam/webcam.js b/static/webcam/webcam.js index 411c86d..f7ff5c4 100644 --- a/static/webcam/webcam.js +++ b/static/webcam/webcam.js @@ -56,7 +56,7 @@ window.webcam = { show: function() { var closeHtml = '<img src="/static/webcam/close.gif" onclick="webcam.hide()" id="webcam-button-close" />' - var camHtml = '<div id="webcam-preview">' + webcam.get_html(320, 240) + closeHtml + "</div>" + var camHtml = '<div id="webcam-preview">' + webcam.get_html(480, 360) + closeHtml + "</div>" $("body").append(camHtml) $("#webcam-button-upload").addClass("invisible") $("#webcam-button-snap").removeClass("invisible") diff --git a/static/webcam/webcam.swf b/static/webcam/webcam.swf Binary files differindex ce7b114..122624e 100644 --- a/static/webcam/webcam.swf +++ b/static/webcam/webcam.swf |
