{"id":1761,"date":"2010-11-15T10:24:58","date_gmt":"2010-11-15T10:24:58","guid":{"rendered":"http:\/\/mts-help.nick.php.dev\/after_sale_support\/jquery\/menu\/article3.html"},"modified":"2020-02-03T03:29:53","modified_gmt":"2020-02-03T08:29:53","slug":"drop-down-menu-effect","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/drop-down-menu-effect.html","title":{"rendered":"Drop-down Menu Effect"},"content":{"rendered":"This is a Menu Script that uses jQuery in order to create drop-down menu effect. <br \/> <br \/> <span style=\"font-weight: bold;\">JavaScript<\/span> <br \/>In order to make the script work, the <span style=\"font-weight: bold;\">index-#.html<\/span> file with the menu should contain these lines of HTML code: <p>The <span style=\"font-weight: bold;\">dropdown.js<\/span> file contains these lines of code that initialize the script functionality: <br \/><\/p> <p>In order to create a menu we use a bulleted list (<span style=\"font-weight: bold;\">&lt;ul&gt;<\/span> tag) and inside a list item (<span style=\"font-weight: bold;\">&lt;li&gt;<\/span> tag) we place another bulleted list that will represent drop-down menu.<\/p> <p> <span style=\"font-weight: bold;\">HTML<\/span> <br \/>Below you can see the HTML script representation: <br \/><\/p> <p> <span style=\"font-weight: bold;\">CSS<\/span> <br \/>You can find script related stylesheet in the main <span style=\"font-weight: bold;\">style.css<\/span> file. You will need to modify the following styles: <br \/><\/p> <p>Initially we should hide the drop-down menu. The rest of styles differ from template to template. <br \/><\/p>","protected":false},"excerpt":{"rendered":"<p>This is a Menu Script that uses jQuery in order to create drop-down menu effect. JavaScript In order to make the script work, the index-#.html file with the menu should contain these lines of HTML code: The dropdown.js file contains these lines of code that initialize the script functionality: In order to create a menu [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[265],"tags":[813],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1761"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=1761"}],"version-history":[{"count":4,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1761\/revisions"}],"predecessor-version":[{"id":86196,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1761\/revisions\/86196"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=1761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=1761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=1761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}