{"id":209,"date":"2007-09-10T12:29:29","date_gmt":"2007-09-10T16:29:29","guid":{"rendered":"http:\/\/www.alquier.org\/linfa\/create\/2007\/09\/10\/blogging_tools_1\/"},"modified":"2007-09-10T12:29:29","modified_gmt":"2007-09-10T16:29:29","slug":"blogging_tools_1","status":"publish","type":"post","link":"http:\/\/www.alquier.org\/laurent\/sites\/2007\/09\/10\/blogging_tools_1\/","title":{"rendered":"Quiet menus for MT 4.0"},"content":{"rendered":"<p>I could not stand the default behavior of drop down menus in Movable Type 4 interface within 10 minutes of first using it. I want drop down menus that drop when I click on them, not when I mouse over them.<br \/>\nSo I came up with a simple hack to replace the default behavior of drop down menus by something safer for my sanity.<\/p>\n<p><strong><br \/><\/strong><\/p>\n<p><!--more--><br \/>\n<strong>Step 1 &#8211; Change drop down menu behavior <\/strong><\/p>\n<p>Edit : tmpl\/cms\/include\/header.tmpl<\/p>\n<p>Replace: mt:nav-delayed-open=&#8221;0&#8243; mt:nav-delayed-close=&#8221;0&#8243;<br \/>\n<br \/>by: mt:nav-delayed-open=&#8221;-1&#8243; mt:nav-delayed-close=&#8221;300&#8243;<br \/>\n<br \/>for : &lt;<span class=\"start-tag\">div<\/span><span class=\"attribute-name\"> id<\/span>=<span class=\"attribute-value\">&#8220;blog-nav&#8221;<\/span>&gt;<\/p>\n<div>\nThis doesn&#8217;t seem to work for &#8216;utility-nav&#8217; (clicking on the menu arrow opens up the first option)<br \/>\nAlready works for &#8216;selector-nav&#8217; (that&#8217;s how I found out the difference between menu behaviors)<\/p>\n<p><strong>Step 2 &#8211; Change color of &#8216;hover link&#8217; for &#8216;blog-nav&#8217; (as it will appear white on white by default)<\/strong><\/p>\n<p>Edit : mt-static\/css\/main.css<\/p>\n<p>#blog-nav a:hover <br \/>{<br \/>\ncolor: #3d7993;  \/* instead of #e9f0f4 *\/<br \/>\n}<\/p>\n<p>.system #blog-nav a:hover <br \/>{<br \/>\ncolor: #6d7800; \/* instead of #f1f4e9; *\/<br \/>\n}<\/p>\n<p>Now I can try to find someone who can do this cleanly&#8230;<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I could not stand the default behavior of drop down menus in Movable Type 4 interface within 10 minutes of first using it. I want drop down menus that drop when I click on them, not when I mouse over them. So I came up with a simple hack to replace the default behavior of drop down menus by something&hellip; <\/p>\n<p><a class=\"more-link\" href=\"http:\/\/www.alquier.org\/laurent\/sites\/2007\/09\/10\/blogging_tools_1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[122,1],"tags":[154],"class_list":["post-209","post","type-post","status-publish","format-standard","hentry","category-patches","category-uncategorized","tag-movable-type","xfolkentry","clearfix"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8frwa-3n","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/comments?post=209"}],"version-history":[{"count":0,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/209\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/media?parent=209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/categories?post=209"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/tags?post=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}