mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
fixed fix position of action area (status message and ajax action buttons) in IE6 using javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63488 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ffc40288b5
commit
1d0134db10
@ -107,14 +107,16 @@ body.ModelAdmin #Form_ImportForm_holder dt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body.ModelAdmin #statusMessage {
|
body.ModelAdmin #statusMessage {
|
||||||
position: fixed;
|
position: fixed !important;
|
||||||
left: auto;
|
position: absolute;
|
||||||
bottom: 35px;
|
left: auto !important;
|
||||||
|
bottom: 35px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Form */
|
/* Form */
|
||||||
body.ModelAdmin #right .ajaxActions {
|
body.ModelAdmin #right .ajaxActions {
|
||||||
position: fixed;
|
position: fixed !important;
|
||||||
right: 30px;
|
position: absolute;
|
||||||
bottom: 35px;
|
right: 30px !important;
|
||||||
|
bottom: 35px !important;
|
||||||
}
|
}
|
@ -24,6 +24,25 @@ $(document).ready(function() {
|
|||||||
$(this).addClass('loading');
|
$(this).addClass('loading');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#right").scroll( function () {
|
||||||
|
positionActionArea();
|
||||||
|
});
|
||||||
|
|
||||||
|
$(window).resize( function() {
|
||||||
|
positionActionArea();
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Make the status message and ajax action button fixed
|
||||||
|
*/
|
||||||
|
function positionActionArea() {
|
||||||
|
if ( $.browser.msie && $.browser.version.indexOf("6.", 0)==0 ) {
|
||||||
|
newTopValue = $("#right").scrollTop()+$(window).height()-139;
|
||||||
|
$('.ajaxActions').css('top', newTopValue);
|
||||||
|
$('#statusMessage').css('top', newTopValue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
// Search form
|
// Search form
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user