创建弹出菜单

来源:互联网 发布:修改mysql的参数 编辑:程序博客网 时间:2024/06/05 22:41
PRE.clsCode { font-size:110%; } PRE.clsSyntax { font-size:100%; } TD DIV.clsBeta { display:none;} MSHelp/:link { color:#0000ff; text-decoration:underline; cursor:hand; hoverColor:#3366ff; filterString: ;}

Four Exciting Uses of the Popup Object


1. Custom Context Menus

Context menus are accessed by clicking the right mouse button. Usually this displays a default context menu. Now you can create a customized context menu with the popup object.

Right-click inside this box.



2. Custom Menus
Creating custom menus is easy with the popup object. In the following example, the drop-down menu uses a gradient filter on each option and has a color scroll bar. Click the drop-down menu and then move the cursor over the options to see these effects.



3. Custom Message Boxes
All types of interactive message boxes can be easily created with the popup object. Click the button below.




4. Custom ToolTips
Using the popup object, web pages can now have ToolTips that are as dynamic as the pages themselves. In the following example, the popup object's position depends on where the mouse pointer is when the ToolTip is activated. Move the cursor over the green text to display a ToolTip.

Using Custom ToolTips enhance the web experience.



原创粉丝点击