Tarea #976 -> Visualización de las dedicatorias enviadas por email a pantalla completa
Rectificación para que se vea los controles del reproductor cuando está a pantalla completa. git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@81 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
585fa967b2
commit
057bb977bb
@ -1,6 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
|
calc_video_height();
|
||||||
jQuery('.controls_fullscreen').css('cursor', 'pointer');
|
jQuery('.controls_fullscreen').css('cursor', 'pointer');
|
||||||
|
|
||||||
_fullscreen = jQuery('.controls_fullscreen').children('img');
|
_fullscreen = jQuery('.controls_fullscreen').children('img');
|
||||||
@ -12,14 +13,27 @@ jQuery(document).ready(function(){
|
|||||||
jQuery('.mediaWrapper').css('width', '');
|
jQuery('.mediaWrapper').css('width', '');
|
||||||
jQuery('.youtubeHolder').css('width', '');
|
jQuery('.youtubeHolder').css('width', '');
|
||||||
jQuery('.vimeoHolder').css('width', '');
|
jQuery('.vimeoHolder').css('width', '');
|
||||||
_fullscreen.attr('src', _srcimg.replace('fullscreen_exit.png', 'fullscreen.png'));
|
|
||||||
} else {
|
} else {
|
||||||
jQuery('#the_slider').addClass('fullscreen_div');
|
jQuery('#the_slider').addClass('fullscreen_div');
|
||||||
_fullscreen.attr('src', _srcimg.replace('fullscreen.png', 'fullscreen_exit.png'));
|
_fullscreen.attr('src', _srcimg.replace('fullscreen.png', 'fullscreen_exit.png'));
|
||||||
}
|
}
|
||||||
|
calc_video_height();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
jQuery(window).resize(function(){calc_video_height()});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function calc_video_height() {
|
||||||
|
if (jQuery('#the_slider').hasClass('fullscreen_div')) {
|
||||||
|
jQuery('#componentWrapper').css('height', '100%').css('height', '-=115px');
|
||||||
|
} else {
|
||||||
|
console.log(jQuery('#componentWrapper').css('height'));
|
||||||
|
if (jQuery('#componentWrapper').css('height') != '500px') {
|
||||||
|
jQuery('#componentWrapper').css('height', '500px');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
jQuery(document).ready(function(){
|
jQuery(document).ready(function(){
|
||||||
jQuery('.home-page .wp-pagenavi a').live('click', function(e){
|
jQuery('.home-page .wp-pagenavi a').live('click', function(e){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user