Little image instead of "X" to close popup
This commit is contained in:
parent
0401ff1f42
commit
8909dfb0c1
Binary file not shown.
After Width: | Height: | Size: 661 B |
|
@ -286,6 +286,7 @@ div.category ul {
|
||||||
border-top: solid 20px #f00;
|
border-top: solid 20px #f00;
|
||||||
padding: 5px 20px;
|
padding: 5px 20px;
|
||||||
display:none;
|
display:none;
|
||||||
|
cursor:move;
|
||||||
}
|
}
|
||||||
.closepopup{
|
.closepopup{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
|
|
|
@ -1204,8 +1204,8 @@ jQuery.fn.center = function () {
|
||||||
var v=Math.max($(window).height()-this.height(),200)/2+$(window).scrollTop();
|
var v=Math.max($(window).height()-this.height(),200)/2+$(window).scrollTop();
|
||||||
var h=Math.max($(window).width()-this.width(),200 )/2+$(window).scrollLeft();
|
var h=Math.max($(window).width()-this.width(),200 )/2+$(window).scrollLeft();
|
||||||
this.css("top",h+"px");
|
this.css("top",h+"px");
|
||||||
this.css("bottom",h+"px");
|
this.height($(window).height()-2*h-15);
|
||||||
this.css("left",v+"px");
|
this.css("left",v+"px");
|
||||||
this.css("right",v+"px");
|
this.width($(window).width()-2*v-15);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,9 @@
|
||||||
<!-- Popup -->
|
<!-- Popup -->
|
||||||
<div id="dragpopup" class="dragpopup ui-corner-all">
|
<div id="dragpopup" class="dragpopup ui-corner-all">
|
||||||
<div class="closepopup">
|
<div class="closepopup">
|
||||||
<span onclick="$('#dragpopup').hide();">X</span>
|
<span onclick="$('#dragpopup').hide();">
|
||||||
|
<img src="<TMPL_VAR NAME="DIR">/close_window.png"/>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="textpopup"></div>
|
<div id="textpopup"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user