fixed fullscreen switch;

This commit is contained in:
unknown
2011-06-28 14:45:39 +02:00
parent ab9a4a2b59
commit d7cbff59d4
22 changed files with 996 additions and 19 deletions
+1 -1
View File
@@ -4,4 +4,4 @@
= link_to image_tag("icons/player/forward.png"), "javascript:void(0);", :class=>"forward"
= link_to image_tag("icons/player/volume.png"), "javascript:void(0);", :class=>"volume"
= link_to image_tag("icons/player/repeat.png"), "javascript:void(0);", :class=>"repeat"
= link_to image_tag("icons/player/fullscreen.png"), "javascript:void(0);", :id=>"full"
= link_to image_tag("icons/player/fullscreen.png"), "javascript:void(0);", :class=>"full"
-13
View File
@@ -8,19 +8,6 @@
= favicon_link_tag
= favicon_link_tag "9minutes-logo.png", :rel=>"icon", :type=>"image/png"
= csrf_meta_tag
:plain
<meta name="msapplication-task"
content="name=Home;action-uri=http://www.beautyoftheweb.com/#/startdeveloping;icon-uri=favicon.ico" />
<meta name="msapplication-task"
content="name=Charts;action-uri=http://www.beautyoftheweb.com/#/camps;icon-uri=favicon.ico" />
<meta name="msapplication-task"
content="name=Register;action-uri=http://www.beautyoftheweb.com/#/download;icon-uri=favicon.ico" />
<meta name="msapplication-task"
content="name=About;action-uri=http://www.beautyoftheweb.com/#/download;icon-uri=favicon.ico" />
%body
#loading Loading
#error Error
+3 -3
View File
@@ -1,5 +1,5 @@
$(document).ready(function() {
$('#full').live("click",function(){
$('.full').live("click",function(){
if($(this).hasClass("open")) {
$("#fullscreen").animate({
marginTop: -300,
@@ -12,7 +12,7 @@
}, 500);
$("#fullscreen_wrap").fadeTo(500, 0, function(){$(this).hide();});
});
$(this).removeClass("open");
$('.full').removeClass("open");
}
else {
$("#site, #bg_stripe").animate({
@@ -27,7 +27,7 @@
init_playlist_scrollbar();
$("#fullscreen_wrap").fadeTo(1000, 0.5);
});
$(this).addClass("open");
$('.full').addClass("open");
}
});
});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -14,7 +14,7 @@
width: 32px;
height: 32px;
}
.volume, .repeat, #full {
.volume, .repeat, .full {
margin: -5px 0 0 20px;
}
}