Jump to content

改善 thickbox 显示方式


SHEINLINE

Recommended Posts

通过修改 js/jquery/thickbox-modified.js 中的:

var pagesize=tb_getPageSize();var x=pagesize[0]-150;var y=pagesize[1]-150;

To:

var pagesize=tb_getPageSize();var x=pagesize[0]+150;var y=pagesize[1]+150;


修改css/thickbox.css 中的:

#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
color:#000000;
display:none;
border: 4px solid #525252;
text-align:left;
top:50%;
left:50%;
}


To:

#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
color:#000000;
display:none;
border: 4px solid #525252;
text-align:left;
top:80%;
left:50%;
}


这个修改方法来自:http://www.prestashop.com/forums/viewthread/64983/configuring___using_prestashop/solved_bigger_thickbox_and_scroll_with_background/


如果,你有更好方法,请跟帖下去...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...