GWT sliding side panel

断了今生、忘了曾经 提交于 2019-12-23 03:19:20

问题


I am interested in how would you approach creating sliding side panel in GWT? (i.e. social networks sliding panel on the left of this page: http://www.inc.com/articles/2011/03/how-19-year-old-daniel-gross-is-taking-on-google-with-greplin.html)

What kind of events should I handle?

Regards


回答1:


This kind of stuff can be done entirely with CSS. Have a look at the css properties position: relative (for the initial position), position: fixed as well as top and left properties when the user scrolls.



来源:https://stackoverflow.com/questions/5167286/gwt-sliding-side-panel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!