aboutsummaryrefslogtreecommitdiffstats
path: root/demos/index.html
diff options
context:
space:
mode:
authorCa-Phun Ung <pazu2k@gmail.com>2008-12-30 08:50:02 +0000
committerCa-Phun Ung <pazu2k@gmail.com>2008-12-30 08:50:02 +0000
commitdf653a0d82df567679988f3fcbefd5006ba0c652 (patch)
tree421a38feb61cabe99a515c2ebdbe1cb64d4c230c /demos/index.html
parentfae9c64bd96ba8e87fe413ef450ed9f3a61f454d (diff)
downloadjquery-ui-df653a0d82df567679988f3fcbefd5006ba0c652.tar.gz
jquery-ui-df653a0d82df567679988f3fcbefd5006ba0c652.zip
demos/index.html - fixed incorrect closing of H4 heading and added a H3 heading for widget previews.
Diffstat (limited to 'demos/index.html')
-rw-r--r--demos/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/index.html b/demos/index.html
index 9ac37e086..0e3990637 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -21,9 +21,11 @@
jQuery(function($){
$('.left-nav a').click(function(ev){
var section = this.href.replace('/index.html','');
+ var header = section.replace(/.+\/([^\/]+)/,'$1');
$('td.normal div.normal')
.empty()
- .append('<h4 class="demo-subheader">Functional demo:</div>')
+ .append('<h4 class="demo-subheader">Functional demo:</h4>')
+ .append('<h3 class="demo-header">'+ header +'</h3>')
.append('<div id="demo-config"></div>')
.find('#demo-config')
.append('<iframe id="demo-frame" name="demo-frame" width="520" height="314" scrolling="auto" frameborder="0" src="'+ section +'/default.html"></iframe><div id="demo-config-menu"></div>')