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;
|
||||
padding: 5px 20px;
|
||||
display:none;
|
||||
cursor:move;
|
||||
}
|
||||
.closepopup{
|
||||
position:absolute;
|
||||
|
|
|
@ -1204,8 +1204,8 @@ jQuery.fn.center = function () {
|
|||
var v=Math.max($(window).height()-this.height(),200)/2+$(window).scrollTop();
|
||||
var h=Math.max($(window).width()-this.width(),200 )/2+$(window).scrollLeft();
|
||||
this.css("top",h+"px");
|
||||
this.css("bottom",h+"px");
|
||||
this.height($(window).height()-2*h-15);
|
||||
this.css("left",v+"px");
|
||||
this.css("right",v+"px");
|
||||
this.width($(window).width()-2*v-15);
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,9 @@
|
|||
<!-- Popup -->
|
||||
<div id="dragpopup" class="dragpopup ui-corner-all">
|
||||
<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 id="textpopup"></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user