From df653a0d82df567679988f3fcbefd5006ba0c652 Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Tue, 30 Dec 2008 08:50:02 +0000 Subject: [PATCH] demos/index.html - fixed incorrect closing of H4 heading and added a H3 heading for widget previews. --- demos/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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('

Functional demo:') + .append('

Functional demo:

') + .append('

'+ header +'

') .append('
') .find('#demo-config') .append('
') -- 2.39.5