* Created js popup for some of the secondary links in the main navbar

* aliases/implications must now be approved
* anyone can now submit an alias
This commit is contained in:
albert
2011-10-24 01:01:45 -04:00
parent f94b65f5d5
commit f2f524b87f
11 changed files with 80 additions and 48 deletions

View File

@@ -16,6 +16,18 @@ $(document).ready(function() {
$(this).hide();
});
// More link
$("#site-map-link").click(function(e) {
$("#more-links").toggle();
e.preventDefault();
e.stopPropagation();
});
$("#more-links").hide().offset({top: $("#site-map-link").offset().top + $("#site-map-link").height() + 10, left: $("#site-map-link").offset().left});
$(document).click(function(e) {
$("#more-links").hide();
});
// Ajax links
$("a[data-remote=true]").click(function(e) {
Danbooru.ajax_start(e.target);