Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 PHP 的新开发人员。我正在尝试在颜色框弹出窗口上应用 iScroll,但滚动未显示在弹出窗口中。当我按 F12 时,滚动会自动显示在弹出窗口中。我不知道为什么?
尝试在颜色框的完成事件上应用 iScroll。这将解决你的问题。
function onModalComplete()/*: void */ { if(!window.modalScroller) { window.modalScroller = new iScroll('cboxLoadedContent', { hScroll: false, bounce: false, hideScrollbar: true }); } }