aboutsummaryrefslogtreecommitdiffstats
path: root/demos/menubar
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-11 13:39:58 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-11 13:39:58 +0200
commit0352c2c71f32553612301f57741f249476234746 (patch)
treef8465bd5dadc7f9fe5cd5db9bce7b974142837cb /demos/menubar
parentc17f245d9848ae865d400dabb02ea954aa8da645 (diff)
downloadjquery-ui-0352c2c71f32553612301f57741f249476234746.tar.gz
jquery-ui-0352c2c71f32553612301f57741f249476234746.zip
Menu: Remove default preventDefault. Add more meaningful href's on menu
and menubar demos. Change doesn't seem to affect autocomplete as that doesn't use href-attributes anyway.
Diffstat (limited to 'demos/menubar')
-rw-r--r--demos/menubar/default.html102
1 files changed, 51 insertions, 51 deletions
diff --git a/demos/menubar/default.html b/demos/menubar/default.html
index be49b4589..79662bd9f 100644
--- a/demos/menubar/default.html
+++ b/demos/menubar/default.html
@@ -70,92 +70,92 @@
<div class="demo">
<ul id="bar1" class="menubar">
<li>
- <a href="#">File</a>
+ <a href="#File">File</a>
<ul>
- <li><a href="#">Open...</a></li>
+ <li><a href="#Open...">Open...</a></li>
<li class="ui-state-disabled">Open recent...</li>
- <li><a href="#">Save</a></li>
- <li><a href="#">Save as...</a></li>
- <li><a href="#">Close</a></li>
- <li><a href="#">Quit</a></li>
+ <li><a href="#Save">Save</a></li>
+ <li><a href="#Save as...">Save as...</a></li>
+ <li><a href="#Close">Close</a></li>
+ <li><a href="#Quit">Quit</a></li>
</ul>
</li>
<li>
- <a href="#">Edit</a>
+ <a href="#Edit">Edit</a>
<ul>
- <li><a href="#">Copy</a></li>
- <li><a href="#">Cut</a></li>
+ <li><a href="#Copy">Copy</a></li>
+ <li><a href="#Cut">Cut</a></li>
<li class="ui-state-disabled">Paste</li>
</ul>
</li>
<li>
- <a href="#">View</a>
+ <a href="#View">View</a>
<ul>
- <li><a href="#">Fullscreen</a></li>
- <li><a href="#">Fit into view</a></li>
+ <li><a href="#Fullscreen">Fullscreen</a></li>
+ <li><a href="#Fit into view">Fit into view</a></li>
<li>
- <a href="#">Encoding</a>
+ <a href="#Encoding">Encoding</a>
<ul>
- <li><a href="#">Auto-detect</a></li>
- <li><a href="#">UTF-8</a></li>
+ <li><a href="#Auto-detect">Auto-detect</a></li>
+ <li><a href="#UTF-8">UTF-8</a></li>
<li>
- <a href="#">UTF-16</a>
+ <a href="#UTF-16">UTF-16</a>
<ul>
- <li><a href="#">Option 1</a></li>
- <li><a href="#">Option 2</a></li>
- <li><a href="#">Option 3</a></li>
- <li><a href="#">Option 4</a></li>
+ <li><a href="#Option 1">Option 1</a></li>
+ <li><a href="#Option 2">Option 2</a></li>
+ <li><a href="#Option 3">Option 3</a></li>
+ <li><a href="#Option 4">Option 4</a></li>
</ul>
</li>
</ul>
</li>
- <li><a href="#">Customize...</a></li>
+ <li><a href="#Customize...">Customize...</a></li>
</ul>
</li>
</ul>
<ul id="bar2" class="menubar-icons">
<li>
- <a href="#">File</a>
+ <a href="#File">File</a>
<ul>
- <li><a href="#">Open...</a></li>
+ <li><a href="#Open...">Open...</a></li>
<li class="ui-state-disabled">Open recent...</li>
- <li><a href="#">Save</a></li>
- <li><a href="#">Save as...</a></li>
- <li><a href="#">Close</a></li>
- <li><a href="#">Quit</a></li>
+ <li><a href="#Save">Save</a></li>
+ <li><a href="#Save as...">Save as...</a></li>
+ <li><a href="#Close">Close</a></li>
+ <li><a href="#Quit">Quit</a></li>
</ul>
</li>
<li>
- <a href="#">Edit</a>
+ <a href="#Edit">Edit</a>
<ul>
- <li><a href="#">Copy</a></li>
- <li><a href="#">Cut</a></li>
+ <li><a href="#Copy">Copy</a></li>
+ <li><a href="#Cut">Cut</a></li>
<li class="ui-state-disabled">Paste</li>
</ul>
</li>
<li>
- <a href="#">View</a>
+ <a href="#View">View</a>
<ul>
- <li><a href="#">Fullscreen</a></li>
- <li><a href="#">Fit into view</a></li>
+ <li><a href="#Fullscreen">Fullscreen</a></li>
+ <li><a href="#Fit into view">Fit into view</a></li>
<li>
- <a href="#">Encoding</a>
+ <a href="#Encoding">Encoding</a>
<ul>
- <li><a href="#">Auto-detect</a></li>
- <li><a href="#">UTF-8</a></li>
+ <li><a href="#Auto-detect">Auto-detect</a></li>
+ <li><a href="#UTF-8">UTF-8</a></li>
<li>
- <a href="#">UTF-16</a>
+ <a href="#UTF-16">UTF-16</a>
<ul>
- <li><a href="#">Option 1</a></li>
- <li><a href="#">Option 2</a></li>
- <li><a href="#">Option 3</a></li>
- <li><a href="#">Option 4</a></li>
+ <li><a href="#Option 1">Option 1</a></li>
+ <li><a href="#Option 2">Option 2</a></li>
+ <li><a href="#Option 3">Option 3</a></li>
+ <li><a href="#Option 4">Option 4</a></li>
</ul>
</li>
</ul>
</li>
- <li><a href="#">Customize...</a></li>
+ <li><a href="#Customize...">Customize...</a></li>
</ul>
</li>
</ul>
@@ -178,19 +178,19 @@
<td class="ui-widget-content">
<ul class="menubar">
<li>
- <a href="#">Options</a>
+ <a href="#Options">Options</a>
<ul>
- <li><a href="#">Order...</a></li>
+ <li><a href="#Order...">Order...</a></li>
<li class="ui-state-disabled">Write a Review...</li>
- <li><a href="#">Find Similar Movies...</a></li>
+ <li><a href="#Find Similar Movies...">Find Similar Movies...</a></li>
<li>
- <a href="#">Rate</a>
+ <a href="#Rate">Rate</a>
<ul>
- <li><a href="#">5 stars</a></li>
- <li><a href="#">4 stars</a></li>
- <li><a href="#">3 stars</a></li>
- <li><a href="#">2 stars</a></li>
- <li><a href="#">1 stars</a></li>
+ <li><a href="#5 stars">5 stars</a></li>
+ <li><a href="#4 stars">4 stars</a></li>
+ <li><a href="#3 stars">3 stars</a></li>
+ <li><a href="#2 stars">2 stars</a></li>
+ <li><a href="#1 stars">1 stars</a></li>
</ul>
</li>
</ul>