We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在最新版0.4: if (arrweebox.length > 0) { var box = self.getTopBox(); if (box.options.position == "center") { box.setCenterPosition(); } if (box.mh) { box.mh.css({ width: box.bwidth(), height: box.bheight() }); } } 当窗口resize时,也只能最上层的box,而且还要position=="center"的才 会调整位置. 我按照上面scroll的样式改成这样,不知道为什么你scroll那改了, 下面resize不改呢?还有if (arrweebox.length > 0) 这句不是多余吗?for的时候也会判断. for(i=0;i<arrweebox.length;i++) { var box = arrweebox[i]; if (box.options.position == "center"){ box.setCenterPosition(); }else{ box.setElementPosition(); } if (box.mh) { box.mh.css({ width: box.bwidth(), height: box.bheight() }); } }
Original issue reported on code.google.com by [email protected] on 9 Aug 2010 at 2:46
[email protected]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Original issue reported on code.google.com by
[email protected]
on 9 Aug 2010 at 2:46The text was updated successfully, but these errors were encountered: