aboutsummaryrefslogtreecommitdiffstats
path: root/demos/index.html
diff options
context:
space:
mode:
authorTodd Parker <fg.todd@gmail.com>2009-01-06 18:03:05 +0000
committerTodd Parker <fg.todd@gmail.com>2009-01-06 18:03:05 +0000
commit855a38629fa701a521cd32acc7f846b9625306bc (patch)
tree4c83fe60a1b1076b67db2759f7e1d8821883efc1 /demos/index.html
parent3036de5ad690b322e1034be2f6ec31be64699fe8 (diff)
downloadjquery-ui-855a38629fa701a521cd32acc7f846b9625306bc.tar.gz
jquery-ui-855a38629fa701a521cd32acc7f846b9625306bc.zip
Refined demo left nav design and added selected state class. I need someone to look at these changes and figure out how they relate to the web demos template file because they seem to be almost copies of each other and I didn't update this file.
Diffstat (limited to 'demos/index.html')
-rw-r--r--demos/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/index.html b/demos/index.html
index 7340a7077..4a7d93fcd 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -75,6 +75,8 @@
$('.left-nav a').click(function(ev) {
window.location.hash = this.href.replace(/.+\/([^\/]+)\/index\.html/,'$1') + '|default';
loadPage(this.href);
+ $('.left-nav a.selected').removeClass('selected');
+ $(this).addClass('selected');
ev.preventDefault();
});