`
天梯梦
  • 浏览: 13630666 次
  • 性别: Icon_minigender_2
  • 来自: 洛杉矶
社区版块
存档分类
最新评论

仿微软Office 迷你工具条(简易编辑器)

阅读更多

源自: http://www.jankoatwarpspeed.com/post/2010/05/23/microsoft-office-minibar-jQuery-CSS3.aspx

 

 

Why and how to create Microsoft Office Minibar with jQuery and CSS3

 

 

 

Although many will argue that Microsoft products are an example of a good design, Minibar was one of design refreshments that came out with the Office 2007. It is a variation of a toolbar that exposes context-related functionality . In case of MS Word, context is a text selection. Since Minibar always pops up near the mouse pointer it enables users to quickly perform actions related to a selection.

 

Check out demo

 

 

So how it works? When user makes a selection in input field Minibar pops up, semi-transparent, above the selection. When user hovers the Minibar it fades out. It disappears when user clicks anywhere in the input field or performs an action by clicking on a Minibar button.

Quite simple Minibar will be shown in this tutorial - it has only bold , underline , italic , and link buttons.

 

 

 

具体情况附件:

 

 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics