diff options
author | Ca-Phun Ung <pazu2k@gmail.com> | 2008-12-30 10:12:02 +0000 |
---|---|---|
committer | Ca-Phun Ung <pazu2k@gmail.com> | 2008-12-30 10:12:02 +0000 |
commit | 95b6cb982709708f43dafcdeb9cb6307e998e61f (patch) | |
tree | 7cc2ef8ca72610c4132a4ddafb3cb788354dd42c /demos/index.html | |
parent | c4b7f1f9f062c64ce65970ae1c6edea4ec592a35 (diff) | |
download | jquery-ui-95b6cb982709708f43dafcdeb9cb6307e998e61f.tar.gz jquery-ui-95b6cb982709708f43dafcdeb9cb6307e998e61f.zip |
updated all demos/*/index.html files to reflect new markup changes.
Diffstat (limited to 'demos/index.html')
-rw-r--r-- | demos/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/index.html b/demos/index.html index 8a0626910..526ab53d7 100644 --- a/demos/index.html +++ b/demos/index.html @@ -30,11 +30,11 @@ .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>') .find('#demo-config-menu') - .load(this.href + ' .demos-nav', function(){ - $('#demo-config-menu a').each(function(){ + .load(this.href + ' .demos-nav', function() { + $('#demo-config-menu a').each(function() { this.setAttribute('href', section + '/' + this.getAttribute('href')); $(this).attr('target', 'demo-frame'); - $(this).click(function(){ + $(this).click(function() { $(this).parents('ul').find('li').removeClass('demo-config-on'); $(this).parent().addClass('demo-config-on'); }); |