diff options
| author | root <root@lalalizard.com> | 2012-11-26 12:05:40 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-11-26 12:05:40 -0500 |
| commit | ef51b60c6481254d88c5fc3c34f4127b7f881a58 (patch) | |
| tree | 42a9596a7d53951d2a10f60fea4c2854fc9348af /frontend/static/tumblrplay/input.html | |
| parent | ddc5b25b4a47ef8175aced9c06fc1767d004e826 (diff) | |
Frontend static/ folder
Diffstat (limited to 'frontend/static/tumblrplay/input.html')
| -rw-r--r-- | frontend/static/tumblrplay/input.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/frontend/static/tumblrplay/input.html b/frontend/static/tumblrplay/input.html new file mode 100644 index 0000000..4bd5802 --- /dev/null +++ b/frontend/static/tumblrplay/input.html @@ -0,0 +1,55 @@ +<html> +<head> + + + +</head> + + + +<body> +<div style='position:fixed; top:30px; right:50%; font-size:40px; text-transform:uppercase;' id='callback'></div> +<input type='text' id='urlinput' style='width:700px; font-size:20px; position:fixed; top:50%; right:50%;'></input> +<button id='inputbutton' style="position:fixed; top:60%; right:50%">CLICK AND CZECH IT OUT</button> +<div><a href="http://www.scannerjammer.com/tumblrplay/play.html" target="_blank">the end result</a></div> +<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script> +<script type='text/javascript'> +function callback() + { + $('#callback').html('DONE') + } +function hitit() + { + value = $('#urlinput').val() + url = {url:value} + if(value == "") + { + $('#callback').html('ENTER A URL') + } + else if(value.indexOf('tumblr.com') == -1) + { + $('#callback').html('TUMBLRS ONLY PLEASE') + } + else + { + $('#callback').html('entered'+value) + $.post('/cgi-bin/tumblrplay/playcgi',url,callback) + } + } +$('#inputbutton').click(function(){hitit()}); +</script> +</body> + + + + + + + + + + + + + +</html> |
