Skip to content
Permalink
Browse files

demos/index.html - fixed incorrect closing of H4 heading and added a …

…H3 heading for widget previews.
  • Loading branch information
Ca-Phun Ung
Ca-Phun Ung committed Dec 30, 2008
1 parent fae9c64 commit df653a0d82df567679988f3fcbefd5006ba0c652
Showing with 3 additions and 1 deletion.
  1. +3 −1 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>')

0 comments on commit df653a0

Please sign in to comment.
You can’t perform that action at this time.