对浏览器中的context menu的认识.
一直以为在浏览器中不能像在Desk Application里那样方便地定义context menu, 前些天项目的里有人提出能不能通过context Menu的方式来改善下UI的布局,我虽然没说什么,但心里有个疑问:在B/S架构的项目中能定义context Menu吗?后来由于手头有其它方面的工作,也没再多像B/S项目中能不能自定义,什么因素制约,如何来解决.
前天在Google的Document里无意间右击了下鼠标,天哪!Context Menu出现了,跟C/S中自定义的Context menu没什么不同!
以下截图:
"嘲笑"了下自己的无知后,赶紧在Google里搜看看现用用的JavaScript框架jQuery里有没有相应的实现,有:http://www.trendskitchens.co.nz/jquery/contextmenu/这个连接里有详细的描述和示例.
回头再看自己为什么会固执地认为在浏览器里一般的B/S开发者不可能自定义context menu.
1, 浏览器自身就是一个软件,它有自己的context menu,除非浏览器自己的程序员别人几乎不可能来改变.
2, 对JavaScript的能力与威力认识还不够.虽说可以通过Ajax可以达到C/S那样与Server端灵活地交互,但没像倒它竟然也可以做出像context menu这样高级别的操作.
3, 以前也一直没见过B/S中自定义context menu的实例.
在此感谢Google给我开眼界的这个机会,也感谢我的好奇心能使我迅速地捕捉到这个context menu!
- 描述: contextMenu
- 大小: 1.3 MB
分享到:
- 2008-06-22 18:02
- 浏览 2252
- 评论(4)
- 论坛回复 / 浏览 (4 / 3074)
- 查看更多
相关推荐
赠送jar包:spring-context-5.2.15.RELEASE.jar; 赠送原API文档:spring-context-5.2.15.RELEASE-javadoc.jar; 赠送源代码:spring-context-5.2.15.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
开发工具 spring-context-4.3.6.RELEASE开发工具 spring-context-4.3.6.RELEASE开发工具 spring-context-4.3.6.RELEASE开发工具 spring-context-4.3.6.RELEASE开发工具 spring-context-4.3.6.RELEASE开发工具 spring...
Context-Menu.Android源码,是一个很不错的C++代码,有兴趣的伙伴们抽时间可以看一下把。
赠送jar包:spring-context-5.0.8.RELEASE.jar; 赠送原API文档:spring-context-5.0.8.RELEASE-javadoc.jar; 赠送源代码:spring-context-5.0.8.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
赠送jar包:spring-context-5.2.0.RELEASE.jar; 赠送原API文档:spring-context-5.2.0.RELEASE-javadoc.jar; 赠送源代码:spring-context-5.2.0.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
赠送jar包:spring-context-5.0.10.RELEASE.jar; 赠送原API文档:spring-context-5.0.10.RELEASE-javadoc.jar; 赠送源代码:spring-context-5.0.10.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
赠送jar包:spring-context-4.3.20.RELEASE.jar; 赠送原API文档:spring-context-4.3.20.RELEASE-javadoc.jar; 赠送源代码:spring-context-4.3.20.RELEASE-sources.jar; 包含翻译后的API文档:spring-context...
赠送jar包:spring-context-5.0.8.RELEASE.jar; 赠送原API文档:spring-context-5.0.8.RELEASE-javadoc.jar; 赠送源代码:spring-context-5.0.8.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
具体实现及错误解决方法见博客http://my.csdn.net/heiya0409
[开源][安卓][炫酷菜单]Context-Menu.Android-master Git上的炫酷菜单源码
v8_context_snapshot.bin
org.springframework.context-3.1.1.RELEASE.jar java 开发专用
赠送jar包:spring-context-4.2.2.RELEASE.jar; 赠送原API文档:spring-context-4.2.2.RELEASE-javadoc.jar; 赠送源代码:spring-context-4.2.2.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
spring-context-3.1.0.RELEASE
org.springframework.context_3.0.5.release.jar.zip
赠送jar包:spring-context-5.0.5.RELEASE.jar; 赠送原API文档:spring-context-5.0.5.RELEASE-javadoc.jar; 赠送源代码:spring-context-5.0.5.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
v8_context_snapshot
赠送jar包:spring-context-5.0.10.RELEASE.jar; 赠送原API文档:spring-context-5.0.10.RELEASE-javadoc.jar; 赠送源代码:spring-context-5.0.10.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-context-...
spring-context-5.0.4.RELEASE.jar。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。