📄 context-menu.html
字号:
<html> <head> <title>Test of ContextMenu plugin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> _editor_url = "../"; _editor_lang = "en"; </script> <!-- load the main HTMLArea file --> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ContextMenu"); HTMLArea.loadPlugin("TableOperations"); function initDocument() { var editor = new HTMLArea("editor"); editor.registerPlugin(ContextMenu); editor.registerPlugin(TableOperations); editor.generate(); } </script> </head> <body onload="initDocument()"> <h1>Test of ContextMenu plugin</h1><textarea id="editor" style="height: 30em; width: 100%;"><table border="1" style="border: 1px dotted rgb(0, 102, 255); width:100%; background-color: rgb(255, 204, 51); background-image: none; float:none; text-align: left; vertical-align: top; border-collapse: collapse;"summary="" cellspacing="" cellpadding="" frame="box"rules="all"><tbody><tr><td style="border: 1px solidrgb(255, 0, 0); background-color: rgb(0, 51, 51); background-image: none;text-align: left; vertical-align: top;"><ahref="http://dynarch.com/mishoo/articles.epl?art_id=430"><imgsrc="http://127.0.0.1/~mishoo/htmlarea/examples/pieng.png" alt="" align=""border="0" hspace="0" vspace="0" /></a></td><tdstyle="border: 1px solid rgb(255, 0, 0); background-color: rgb(255, 255, 0);background-image: none; text-align: left; vertical-align: top;">Thearticle linked on the left image presents a script that allows InternetExplorer to use PNG images. We hope to be able to implement IE PNG supportin HTMLArea soon.<br /> <br /> Go on, right-click everywhere andtest our new context menus. And be thankful to <ahref="http://www.americanbible.org/">American Bible Society</a> whosponsored the development, <ahref="http://dynarch.com/mishoo/">mishoo</a> who made it happen andGod, Who keeps mishoo alife. ;-)<br /> <br /><spanstyle="font-style: italic;">P.S.</span> No animals were harmedwhile producing this movie.<br /></td></tr><tr><td style="border-style: none;background-color: rgb(255, 255, 51); background-image: none; text-align:left; vertical-align: top;">Welcome to HTMLArea, the best onlineeditor.<br /></td><td>HTMLArea is a project initiated by<a href="http://interactivetools.com/">InteractiveTools.com</a>.Other companies contributed largely by sponsoring the development ofadditional extensions. Many thanks to:<br /> <brstyle="font-family: courier new,courier,monospace;" /> <divstyle="margin-left: 40px;"><a href="http://www.zapatec.com/"style="font-family: couriernew,courier,monospace;">http://www.zapatec.com</a><brstyle="font-family: courier new,courier,monospace;" /> <ahref="http://www.americanbible.org/" style="font-family: couriernew,courier,monospace;">http://www.americanbible.org</a><brstyle="font-family: courier new,courier,monospace;" /> <ahref="http://www.neomedia.ro/" style="font-family: couriernew,courier,monospace;">http://www.neomedia.ro</a><brstyle="font-family: courier new,courier,monospace;" /> <ahref="http://www.os3.it/" style="font-family: couriernew,courier,monospace;">http://www.os3.it</a><brstyle="font-family: courier new,courier,monospace;" /> <ahref="http://www.miro.com.au/" style="font-family: couriernew,courier,monospace;">http://www.miro.com.au</a><brstyle="font-family: courier new,courier,monospace;" /> <ahref="http://www.thycotic.com/" style="font-family: couriernew,courier,monospace;">http://www.thycotic.com</a><br /></div> <br /> and to all the posters at <ahref="http://www.interactivetools.com/iforum/Open_Source_C3/htmlArea_v3.0_-_Alpha_Release_F14/">InteractiveTools</a> HTMLArea forums, whose feedback is continuallyuseful in polishing HTMLArea.<br /> <br /><divstyle="text-align: right;">-- developers and maintainers of version 3,<a href="http://dynarch.com/">dynarch.com</a>.<br/></div></td></tr></tbody></table> </textarea> <hr /> <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address><!-- Created: Wed Oct 1 19:55:37 EEST 2003 --><!-- hhmts start --> Last modified: Wed Jan 28 11:10:29 EET 2004 <!-- hhmts end --><!-- doc-lang: English --> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -