summaryrefslogtreecommitdiffstats
path: root/source/javascripts/navigation.js
diff options
context:
space:
mode:
Diffstat (limited to 'source/javascripts/navigation.js')
-rw-r--r--source/javascripts/navigation.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/javascripts/navigation.js b/source/javascripts/navigation.js
deleted file mode 100644
index 652aafa..0000000
--- a/source/javascripts/navigation.js
+++ /dev/null
@@ -1,16 +0,0 @@
-(function($){
- var appends = '<option>Menu</option>';
-
- $('.menu .main > li').each(function(){
- var link = $(this).children('a');
- appends += '<option value="'+link.attr('href')+'">'+link.html()+'</option>';
- $(this).find('li').each(function(){
- var link = $(this).children('a');
- appends += '<option value="'+link.attr('href')+'">- '+link.html()+'</option>';
- });
- });
-
- $('nav.menu').append('<select>'+appends+'</select>').on('change', 'select', function(){
- location.href = $(this).val();
- });
-})(jQuery); \ No newline at end of file