fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code layout change.
[wolnelektury.git]
/
src
/
catalogue
/
static
/
player
/
openplayer.js
diff --git a/src/catalogue/static/player/openplayer.js
b/src/catalogue/static/player/openplayer.js
new file mode 100644
(file)
index 0000000..
4fe27bd
--- /dev/null
+++ b/
src/catalogue/static/player/openplayer.js
@@ -0,0
+1,18
@@
+(function($) {
+ $(function() {
+
+
+
+$('.open-player').click(function(event) {
+ event.preventDefault();
+ window.open($(this).attr('href'),
+ 'player',
+ 'width=422, height=500, scrollbars=1'
+ );
+});
+
+
+
+ });
+})(jQuery);
+