SHEINLINE Posted August 13, 2010 Share Posted August 13, 2010 感觉原先的 thickbox 显示显示有点小,我想把它做成可以容纳 600px * 600px 大小图片的显示方式,具体要怎么修改 ??好像是 thickbox-modified.js 在控制这种效果。原先显示的截图如下: Link to comment Share on other sites More sharing options...
SHEINLINE Posted August 13, 2010 Author Share Posted August 13, 2010 通过修改 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now