Permalink
Browse files

docs for dynamic menus, doc sugar

  • Loading branch information...
rodneyrehm committed Dec 13, 2011
1 parent e658a84 commit 90e6b35f320966f71c6c847e589bf53ef1e630ff
View
@@ -79,6 +79,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li class="current"><a href="demo.html">Simple Context Menu</a></li>
<li><a href="demo/dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="demo/dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="demo/keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="demo/callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Accesskeys Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -80,6 +80,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Command's action (callbacks) Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -87,6 +87,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li class="current"><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Custom Command Types Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -132,6 +132,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Disabled Callback Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -81,6 +81,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Changing Disabled Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -88,6 +88,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Disabled Context Menu Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -93,6 +93,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Disabled Command Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -42,14 +42,14 @@ <h1><a href="https://github.com/medialize/jQuery-contextMenu">jQuery contextMenu
<li><a href="http://rodneyrehm.de/en/">Author</a></li>
</ul>
- <h2 id="demo">Demo: Disabled</h2>
+ <h2 id="demo">Demo: Disabled Command</h2>
<div class="inline-spaces">
<div class="context-menu-one box menu-1">
<strong>right click me</strong>
</div>
</div>
- <h3 id="code">Example code: Disabled</h3>
+ <h3 id="code">Example code: Disabled Command</h3>
<script type="text/javascript" class="showcase">
$(function(){
$.contextMenu({
@@ -66,13 +66,14 @@ <h3 id="code">Example code: Disabled</h3>
});
</script>
- <h3 id="html">Example HTML: Disabled</h3>
+ <h3 id="html">Example HTML: Disabled Command</h3>
<div style="display:none" class="showcase" data-showcase-import=".menu-1"></div>
<h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Dynamic on-demand Menu Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -42,20 +42,22 @@ <h1><a href="https://github.com/medialize/jQuery-contextMenu">jQuery contextMenu
<li><a href="http://rodneyrehm.de/en/">Author</a></li>
</ul>
- <h2 id="demo">Demo: Simple Context Menu</h2>
+ <h2 id="demo">Demo: Dynamic on-demand Menu</h2>
<div class="inline-spaces">
<div class="context-menu-one box menu-1">
<strong>right click me</strong>
</div>
</div>
- <h3 id="code">Example code: Simple Context Menu</h3>
+ <h3 id="code">Example code: Dynamic on-demand Menu</h3>
<script type="text/javascript" class="showcase">
$(function(){
$.contextMenu({
selector: '.context-menu-one',
ignoreRightClick: false,
build: function($trigger) {
+ // this callback is executed every time the menu is to be shown
+ // its results are destroyed every time the menu is hidden
return {
callback: function(key, options) {
var m = "clicked: " + key;
@@ -76,14 +78,15 @@ <h3 id="code">Example code: Simple Context Menu</h3>
});
</script>
- <h3 id="html">Example HTML: Simple Context Menu</h3>
+ <h3 id="html">Example HTML: Dynamic on-demand Menu</h3>
<div style="display:none" class="showcase" data-showcase-import=".menu-1"></div>
<h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
- <li class="current"><a href="demo.html">Simple Context Menu</a></li>
+ <li><a href="demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li class="current"><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Adding new Context Menu Triggers Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -89,6 +89,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li class="current"><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Importing HTML5 &lt;menu type=&quot;context&quot;&gt; Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -76,6 +76,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>HTML5 Polyfill (Firefox 8) Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -80,6 +80,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>HTML5 Polyfill Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -74,6 +74,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Input Commands Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -158,6 +158,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Keeping the Menu visible Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -82,6 +82,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li class="current"><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Sub Menus Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -103,6 +103,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Custom Activated Context Menu Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -88,6 +88,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Hover Activated Context Menu With Autohide Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -82,6 +82,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
View
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>jQuery contextMenu Plugin Demo</title>
+ <title>Hover Activated Context Menu Demo - jQuery contextMenu Plugin</title>
<meta name="description" content="simple contextMenu generator for interactive web applications based on jQuery" />
<script src="../jquery-1.7.1.min.js" type="text/javascript"></script>
@@ -81,6 +81,7 @@ <h2>jQuery Context Menu Demo Gallery</h2>
<ul id="demo-list">
<li><a href="../demo.html">Simple Context Menu</a></li>
<li><a href="dynamic.html">Adding new Context Menu Triggers</a></li>
+ <li><a href="dynamic-create.html">Create Context Menu on demand</a></li>
<li><a href="keeping-contextmenu-open.html">Keeping the context menu open</a></li>
<li><a href="callback.html">Command's action (callbacks)</a></li>
Oops, something went wrong.

0 comments on commit 90e6b35

Please sign in to comment.