Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/js/knavbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/knavbar.js')
-rw-r--r--js/knavbar.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/knavbar.js b/js/knavbar.js
new file mode 100644
index 0000000..c7fd93b
--- /dev/null
+++ b/js/knavbar.js
@@ -0,0 +1,15 @@
+//This code loads in html for knavbar into a <section>
+//tag with the id="navigation"
+$(document).ready(function(){
+
+ //updates the links in knavbar
+ //specific to the context
+ var modify = function(){
+ document.write('foo');
+ $('#knavbarHome').attr('href', 'foo');
+
+ };
+
+ var foo = $('#navigation').load('chakra/kfoo.html #knavbar', modify);
+ var x = 0;
+}); \ No newline at end of file