mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Popup UI changed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9214 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
251e5ec87e
commit
f57a582b95
4 changed files with 5 additions and 35 deletions
|
|
@ -449,17 +449,8 @@ function zbxe_folder_close(id) {
|
|||
**/
|
||||
function setFixedPopupSize() {
|
||||
var $ = jQuery;
|
||||
var $header = $('#popHeader');
|
||||
var $body = $('#popBody');
|
||||
|
||||
if ($body.length) {
|
||||
if ($body.height() > 400) {
|
||||
$body.css({ overflow:'auto', overflowX:'hidden', height:400+'px' });
|
||||
}
|
||||
}
|
||||
|
||||
var $win = $(window);
|
||||
var $pc = $('#popup_content');
|
||||
var $pc = $('body>.x');
|
||||
var w = Math.max($pc[0].offsetWidth, 600);
|
||||
var h = $pc[0].offsetHeight;
|
||||
var dw = $win.width();
|
||||
|
|
|
|||
|
|
@ -736,17 +736,8 @@ function zbxe_folder_close(id) {
|
|||
**/
|
||||
function setFixedPopupSize() {
|
||||
var $ = jQuery;
|
||||
var $header = $('#popHeader');
|
||||
var $body = $('#popBody');
|
||||
|
||||
if ($body.length) {
|
||||
if ($body.height() > 400) {
|
||||
$body.css({ overflow:'auto', overflowX:'hidden', height:400+'px' });
|
||||
}
|
||||
}
|
||||
|
||||
var $win = $(window);
|
||||
var $pc = $('#popup_content');
|
||||
var $pc = $('body>.x');
|
||||
var w = Math.max($pc[0].offsetWidth, 600);
|
||||
var h = $pc[0].offsetHeight;
|
||||
var dw = $win.width();
|
||||
|
|
|
|||
11
common/js/xe.min.js
vendored
11
common/js/xe.min.js
vendored
|
|
@ -734,17 +734,8 @@ function zbxe_folder_close(id) {
|
|||
**/
|
||||
function setFixedPopupSize() {
|
||||
var $ = jQuery;
|
||||
var $header = $('#popHeader');
|
||||
var $body = $('#popBody');
|
||||
|
||||
if ($body.length) {
|
||||
if ($body.height() > 400) {
|
||||
$body.css({ overflow:'auto', overflowX:'hidden', height:400+'px' });
|
||||
}
|
||||
}
|
||||
|
||||
var $win = $(window);
|
||||
var $pc = $('#popup_content');
|
||||
var $pc = $('body>.x');
|
||||
var w = Math.max($pc[0].offsetWidth, 600);
|
||||
var h = $pc[0].offsetHeight;
|
||||
var dw = $win.width();
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
<!--%import("../../modules/admin/tpl/css/admin.css")-->
|
||||
<div id="xeAdmin">
|
||||
<div id="popup_content">
|
||||
<load target="../../modules/admin/tpl/css/admin.css" />
|
||||
<div class="x">
|
||||
{$content}
|
||||
<button class="xButton" type="button" onclick="window.close();return false;"><span>{$lang->cmd_close}</span></button>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
jQuery(window).load(setFixedPopupSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue