mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Make Media-Manager navigation feel more responsive.
This commit is contained in:
parent
f564d360e5
commit
51fa56339b
@ -8,7 +8,7 @@ a.media-select-image:hover { border:1px solid red; }
|
||||
|
||||
|
||||
a.media-select-image,
|
||||
a.media-select-none { margin:5px; text-decoration:none; width:80px; height:80px; box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.8) inset; background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);}
|
||||
a.media-select-none { margin:5px; margin-left:0; text-decoration:none; width:80px; height:80px; box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.8) inset; background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);}
|
||||
|
||||
@media (min-height: 500px){
|
||||
a.media-select-image,
|
||||
|
@ -485,24 +485,22 @@ $(document).ready(function()
|
||||
$('#e-modal-loading', window.parent.document).show();
|
||||
$('iframe', window.parent.document).attr('scrolling', 'no'); // hide the scrollbar.
|
||||
|
||||
|
||||
$(id).hide('slide', { direction: outDir }, 1500, function(){ });
|
||||
|
||||
$.get(src, function( data ) {
|
||||
|
||||
$(id).hide('slide', { direction: outDir }, 500, function(){
|
||||
|
||||
// alert('done');
|
||||
// alert('done');
|
||||
$(id ).html( data );
|
||||
newVal = $('#admin-ui-media-select-count-hidden').text();
|
||||
$('#admin-ui-media-select-count').text(newVal).fadeIn();
|
||||
|
||||
$(id).show('slide', { direction: inDir },700,function(){
|
||||
$(id).show('slide', { direction: inDir },500,function(){
|
||||
$('#e-modal-loading', window.parent.document).hide();
|
||||
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user