GWT滑动侧面板 [英] GWT sliding side panel

查看:126
本文介绍了GWT滑动侧面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对如何在GWT中创建滑动侧面板感兴趣? (即本页左侧的社交网络滑动面板: http://www.inc.com/articles/2011/03/how-19-year-old-daniel-gross-is-taking-on- google-with-greplin.html

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)

我应该处理哪类事件?

问候

Regards

推荐答案

这种东西可以完全用CSS完成。查看css属性 position:relative (用于初始位置), position:fixed 以及 top left 属性,当用户滚动时。

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.

这篇关于GWT滑动侧面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆