{"action":"created","comment":{"url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/23193540","id":23193540,"diff_hunk":"@@ -0,0 +1,25 @@\n+( function( $ ) {\n+$( document ).ready(function() {\n+var menu_ul = $('#cssmenu > ul > li > ul');\n+menu_ul.hide();\n+\n+$('#cssmenu > ul > li > a').click(function() {\n+  $('#cssmenu li').removeClass('active');\n+  $(this).closest('li').addClass('active');\n+  var checkElement = $(this).next();\n+  if((checkElement.is('ul')) && (checkElement.is(':visible'))) {\n+    $(this).closest('li').removeClass('active');\n+    checkElement.slideUp('normal');","path":"js/cssmenu.js","position":12,"original_position":12,"commit_id":"09c7a6f0f34746122a5415a3c7a15a376de1637f","original_commit_id":"09c7a6f0f34746122a5415a3c7a15a376de1637f","user":{"login":"CyberShadow","id":160894,"avatar_url":"https://avatars.githubusercontent.com/u/160894?v=3","gravatar_id":"","url":"https://api.github.com/users/CyberShadow","html_url":"https://github.com/CyberShadow","followers_url":"https://api.github.com/users/CyberShadow/followers","following_url":"https://api.github.com/users/CyberShadow/following{/other_user}","gists_url":"https://api.github.com/users/CyberShadow/gists{/gist_id}","starred_url":"https://api.github.com/users/CyberShadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyberShadow/subscriptions","organizations_url":"https://api.github.com/users/CyberShadow/orgs","repos_url":"https://api.github.com/users/CyberShadow/repos","events_url":"https://api.github.com/users/CyberShadow/events{/privacy}","received_events_url":"https://api.github.com/users/CyberShadow/received_events","type":"User","site_admin":false},"body":"Feels a little sluggish at the moment, can you try `'fast'` instead of `'normal'`? (`slideDown` 3 lines below too)","created_at":"2015-01-19T23:19:12Z","updated_at":"2015-01-19T23:19:12Z","html_url":"https://github.com/D-Programming-Language/dlang.org/pull/780#discussion_r23193540","pull_request_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780","_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/23193540"},"html":{"href":"https://github.com/D-Programming-Language/dlang.org/pull/780#discussion_r23193540"},"pull_request":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780"}}},"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780","id":27565703,"html_url":"https://github.com/D-Programming-Language/dlang.org/pull/780","diff_url":"https://github.com/D-Programming-Language/dlang.org/pull/780.diff","patch_url":"https://github.com/D-Programming-Language/dlang.org/pull/780.patch","issue_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/780","number":780,"state":"closed","locked":false,"title":"Better menus for dlang.org","user":{"login":"andralex","id":566679,"avatar_url":"https://avatars.githubusercontent.com/u/566679?v=3","gravatar_id":"","url":"https://api.github.com/users/andralex","html_url":"https://github.com/andralex","followers_url":"https://api.github.com/users/andralex/followers","following_url":"https://api.github.com/users/andralex/following{/other_user}","gists_url":"https://api.github.com/users/andralex/gists{/gist_id}","starred_url":"https://api.github.com/users/andralex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andralex/subscriptions","organizations_url":"https://api.github.com/users/andralex/orgs","repos_url":"https://api.github.com/users/andralex/repos","events_url":"https://api.github.com/users/andralex/events{/privacy}","received_events_url":"https://api.github.com/users/andralex/received_events","type":"User","site_admin":false},"body":"This diff introduces accordion navigation menu. See working demo at http://erdani.org/d/. I've also reorganized the top topics. \r\n\r\nI took the menu code from http://cssmenumaker.com/menu/modern-jquery-accordion-menu. I changed it such that it degrades better when javascript is disabled.\r\n\r\nWhat's not working now and I'd love some help with is current page tracking, i.e. keep the corresponding menu open when some page in a submenu is active. Thanks!","created_at":"2015-01-18T02:14:03Z","updated_at":"2015-01-19T23:19:12Z","closed_at":"2015-01-19T07:40:58Z","merged_at":"2015-01-19T07:40:58Z","merge_commit_sha":"dcdebb6a26c654b09eddf570582b489764dac3aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780/commits","review_comments_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780/comments","review_comment_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/{number}","comments_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/780/comments","statuses_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/statuses/09c7a6f0f34746122a5415a3c7a15a376de1637f","head":{"label":"andralex:better-menus","ref":"better-menus","sha":"09c7a6f0f34746122a5415a3c7a15a376de1637f","user":{"login":"andralex","id":566679,"avatar_url":"https://avatars.githubusercontent.com/u/566679?v=3","gravatar_id":"","url":"https://api.github.com/users/andralex","html_url":"https://github.com/andralex","followers_url":"https://api.github.com/users/andralex/followers","following_url":"https://api.github.com/users/andralex/following{/other_user}","gists_url":"https://api.github.com/users/andralex/gists{/gist_id}","starred_url":"https://api.github.com/users/andralex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andralex/subscriptions","organizations_url":"https://api.github.com/users/andralex/orgs","repos_url":"https://api.github.com/users/andralex/repos","events_url":"https://api.github.com/users/andralex/events{/privacy}","received_events_url":"https://api.github.com/users/andralex/received_events","type":"User","site_admin":false},"repo":{"id":7510801,"name":"d-programming-language.org","full_name":"andralex/d-programming-language.org","owner":{"login":"andralex","id":566679,"avatar_url":"https://avatars.githubusercontent.com/u/566679?v=3","gravatar_id":"","url":"https://api.github.com/users/andralex","html_url":"https://github.com/andralex","followers_url":"https://api.github.com/users/andralex/followers","following_url":"https://api.github.com/users/andralex/following{/other_user}","gists_url":"https://api.github.com/users/andralex/gists{/gist_id}","starred_url":"https://api.github.com/users/andralex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andralex/subscriptions","organizations_url":"https://api.github.com/users/andralex/orgs","repos_url":"https://api.github.com/users/andralex/repos","events_url":"https://api.github.com/users/andralex/events{/privacy}","received_events_url":"https://api.github.com/users/andralex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andralex/d-programming-language.org","description":"Pages for the D programming language web site","fork":true,"url":"https://api.github.com/repos/andralex/d-programming-language.org","forks_url":"https://api.github.com/repos/andralex/d-programming-language.org/forks","keys_url":"https://api.github.com/repos/andralex/d-programming-language.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andralex/d-programming-language.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andralex/d-programming-language.org/teams","hooks_url":"https://api.github.com/repos/andralex/d-programming-language.org/hooks","issue_events_url":"https://api.github.com/repos/andralex/d-programming-language.org/issues/events{/number}","events_url":"https://api.github.com/repos/andralex/d-programming-language.org/events","assignees_url":"https://api.github.com/repos/andralex/d-programming-language.org/assignees{/user}","branches_url":"https://api.github.com/repos/andralex/d-programming-language.org/branches{/branch}","tags_url":"https://api.github.com/repos/andralex/d-programming-language.org/tags","blobs_url":"https://api.github.com/repos/andralex/d-programming-language.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andralex/d-programming-language.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andralex/d-programming-language.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/andralex/d-programming-language.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andralex/d-programming-language.org/statuses/{sha}","languages_url":"https://api.github.com/repos/andralex/d-programming-language.org/languages","stargazers_url":"https://api.github.com/repos/andralex/d-programming-language.org/stargazers","contributors_url":"https://api.github.com/repos/andralex/d-programming-language.org/contributors","subscribers_url":"https://api.github.com/repos/andralex/d-programming-language.org/subscribers","subscription_url":"https://api.github.com/repos/andralex/d-programming-language.org/subscription","commits_url":"https://api.github.com/repos/andralex/d-programming-language.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/andralex/d-programming-language.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/andralex/d-programming-language.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/andralex/d-programming-language.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/andralex/d-programming-language.org/contents/{+path}","compare_url":"https://api.github.com/repos/andralex/d-programming-language.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andralex/d-programming-language.org/merges","archive_url":"https://api.github.com/repos/andralex/d-programming-language.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andralex/d-programming-language.org/downloads","issues_url":"https://api.github.com/repos/andralex/d-programming-language.org/issues{/number}","pulls_url":"https://api.github.com/repos/andralex/d-programming-language.org/pulls{/number}","milestones_url":"https://api.github.com/repos/andralex/d-programming-language.org/milestones{/number}","notifications_url":"https://api.github.com/repos/andralex/d-programming-language.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andralex/d-programming-language.org/labels{/name}","releases_url":"https://api.github.com/repos/andralex/d-programming-language.org/releases{/id}","created_at":"2013-01-08T22:45:40Z","updated_at":"2015-01-16T10:09:53Z","pushed_at":"2015-01-19T23:15:26Z","git_url":"git://github.com/andralex/d-programming-language.org.git","ssh_url":"git@github.com:andralex/d-programming-language.org.git","clone_url":"https://github.com/andralex/d-programming-language.org.git","svn_url":"https://github.com/andralex/d-programming-language.org","homepage":"dlang.org","size":9984,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"D-Programming-Language:master","ref":"master","sha":"807d471e602c1d8e6eff671ab1fe94b20b2e5cf1","user":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"repo":{"id":1257080,"name":"dlang.org","full_name":"D-Programming-Language/dlang.org","owner":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-Language/dlang.org","description":"Pages for the dlang.org website, home of the D Programming Language","fork":false,"url":"https://api.github.com/repos/D-Programming-Language/dlang.org","forks_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/forks","keys_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/teams","hooks_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/events","assignees_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/tags","blobs_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/languages","stargazers_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/subscription","commits_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/merges","archive_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/downloads","issues_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/releases{/id}","created_at":"2011-01-15T06:58:12Z","updated_at":"2015-01-19T19:09:27Z","pushed_at":"2015-01-19T19:09:26Z","git_url":"git://github.com/D-Programming-Language/dlang.org.git","ssh_url":"git@github.com:D-Programming-Language/dlang.org.git","clone_url":"https://github.com/D-Programming-Language/dlang.org.git","svn_url":"https://github.com/D-Programming-Language/dlang.org","homepage":"dlang.org","size":14963,"stargazers_count":148,"watchers_count":148,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":178,"mirror_url":null,"open_issues_count":13,"forks":178,"open_issues":13,"watchers":148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780"},"html":{"href":"https://github.com/D-Programming-Language/dlang.org/pull/780"},"issue":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/780"},"comments":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/780/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/780/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/statuses/09c7a6f0f34746122a5415a3c7a15a376de1637f"}}}}