{"id":1925,"date":"2017-09-27T19:01:22","date_gmt":"2017-09-27T19:01:22","guid":{"rendered":"https:\/\/in.nau.edu\/web\/?page_id=1925"},"modified":"2020-05-04T15:05:05","modified_gmt":"2020-05-04T22:05:05","slug":"drop-down-links-short-code","status":"publish","type":"page","link":"https:\/\/in.nau.edu\/web\/drop-down-links-short-code\/","title":{"rendered":"Drop Down Links"},"content":{"rendered":"<h1>Dropdown Links<\/h1>\n<p style=\"text-align: center;\"><a class=\"shortcode-button\" href=\"https:\/\/in.nau.edu\/web\/video-buttons-and-dropdown-links\/\"><u>Watch the Buttons and Dropdown Links video<\/u><\/a><\/p>\n\n\n<!-- shortcode-tab -->\n<div class='shortcode-tab-container tab-count-2'>\n    <ul class='tabs'>\n                <li class=\"tab\">\n            <a class=\"shortcode-tab__trigger\" href=\"#\" data-header=\"Overview_1\">\n                <div class=\"shortcode-tab-header selected\">\n                    <h4>\n                        Overview <span class=\"screen-reader-text\">Tab Open<\/span>\n                    <\/h4>\n                <\/div>\n            <\/a>\n        <\/li>\n                <li class=\"tab\">\n            <a class=\"shortcode-tab__trigger\" href=\"#\" data-header=\"How-To_2\">\n                <div class=\"shortcode-tab-header \">\n                    <h4>\n                        How-To <span class=\"screen-reader-text\">Tab Closed<\/span>\n                    <\/h4>\n                <\/div>\n            <\/a>\n        <\/li>\n                <li class=\"tab\">\n            <a class=\"shortcode-tab__trigger\" href=\"#\" data-header=\"Troubleshooting_3\">\n                <div class=\"shortcode-tab-header \">\n                    <h4>\n                        Troubleshooting <span class=\"screen-reader-text\">Tab Closed<\/span>\n                    <\/h4>\n                <\/div>\n            <\/a>\n        <\/li>\n            <\/ul>\n        <!-- shortcode-accordion -->\n<div class=\"shortcode-accordion \" style=\"position: relative;\" >\n        <a class=\"shortcode-accordion__trigger\" data-header=\"Overview_1\" href=\"#\">\n      <div class=\"shortcode-accordion__header\">\n          <h4>Overview <span class=\"screen-reader-text\">Accordion Open<\/span><\/h4>\n          <span class=\"shortcode-accordion__header__arrow\"><\/span>\n      <\/div>\n    <\/a>\n    <div class=\"shortcode-accordion__body\">\n        <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body>\n\n<p>Multiple related links can be attached to a list of links using the <strong>drop down links<\/strong>.<\/p>\n<p>Since the drop down links shouldn&rsquo;t be in tabs, we&rsquo;ve provided an example below. If you&rsquo;re on a mobile device, you&rsquo;ll find the example at the bottom of this page.<\/p>\n\n\n    <\/body><\/html>\n\n    <\/div>\n<\/div>\n\n        <!-- shortcode-accordion -->\n<div class=\"shortcode-accordion shortcode-accordion--closed\" style=\"position: relative;\" >\n        <a class=\"shortcode-accordion__trigger\" data-header=\"How-To_2\" href=\"#\">\n      <div class=\"shortcode-accordion__header\">\n          <h4>How-To <span class=\"screen-reader-text\">Accordion Closed<\/span><\/h4>\n          <span class=\"shortcode-accordion__header__arrow\"><\/span>\n      <\/div>\n    <\/a>\n    <div class=\"shortcode-accordion__body\">\n        <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body>\n\n<p>The drop down links feature requires a Heading 4 (H4) title for the list and at least two links.<\/p>\n<ol>\n<li>Select <strong>drop down links<\/strong>. The shortcode appears in the text editor.<\/li>\n<li>Insert your cursor between the shortcode bookends.<\/li>\n<li>Enter Heading 4 (H4) text for the title.<\/li>\n<li>Add the text for the link in Paragraph style, sentence case.<\/li>\n<li>Select all of the text and click the <strong>hyperlink<\/strong> button.<\/li>\n<li>Enter the URL for the link.<\/li>\n<li>Move to the next line and repeat as necessary.<\/li>\n<\/ol>\n\n\n    <\/body><\/html>\n\n    <\/div>\n<\/div>\n\n        <!-- shortcode-accordion -->\n<div class=\"shortcode-accordion shortcode-accordion--closed\" style=\"position: relative;\" >\n        <a class=\"shortcode-accordion__trigger\" data-header=\"Troubleshooting_3\" href=\"#\">\n      <div class=\"shortcode-accordion__header\">\n          <h4>Troubleshooting <span class=\"screen-reader-text\">Accordion Closed<\/span><\/h4>\n          <span class=\"shortcode-accordion__header__arrow\"><\/span>\n      <\/div>\n    <\/a>\n    <div class=\"shortcode-accordion__body\">\n        <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body>\n\n<p>Check the following list if your drop down links are not appearing or functioning as they should:<\/p>\n<ul>\n<li>Ensure you used H4 for the title and Paragraph style for each link<\/li>\n<li>Did you add a full URL for each link?<\/li>\n<li>Ensure that the text for your shortcode is complete, all bookends are present, and the closing bookends contain a forward slash.<\/li>\n<\/ul>\n\n\n    <\/body><\/html>\n\n    <\/div>\n<\/div>\n\n    <\/div>\n\n<!-- shortcode-drop-down-links -->\n<div class=\"shortcode-drop-down-links shortcode-drop-down-links--left\">\n    <div class=\"drop-down-links\">\n        <button class=\"drop-down-button\">Example<span class=\"screen-reader-text\">Link Selection Closed<\/span><\/button>\n        <div class=\"drop-down-content\">\n            <a href=\"https:\/\/in.nau.edu\/web\/drop-down-links-short-code\">Link Example 01<\/a><a href=\"https:\/\/in.nau.edu\/web\/drop-down-links-short-code\">Link Example 02<\/a>\n        <\/div>\n    <\/div>\n    <script>\n        window.onclick = function (event) {\n            if (jQuery(event.target).hasClass('drop-down-button') && !jQuery(event.target).next().hasClass('show')) {\n                jQuery('.drop-down-content').removeClass('show');\n                jQuery(event.target).next().addClass('show');\n                jQuery(event.target).find('.screen-reader-text').text('Link Selection Open');\n            }\n            else {\n                jQuery('.drop-down-content').removeClass('show');\n                jQuery('.shortcode-drop-down-links .screen-reader-text').text('Link Selection Closed');\n            }\n        }\n    <\/script>\n<\/div>\n<!-- shortcode-right-column -->\n<div class=\"shortcode-right-column\" >\n    <div class=\"shortcode-right-column__container\">\n<!-- shortcode-block -->\n<div class=\"shortcode-block\">\n      <div class=\"block-header\">\n        <h3>Academic unit site support<\/h3>\n    <\/div>\n          <div class=\"block-body\">\n      <div>\n<i class=\"fas fa-pen\"><\/i> <a href=\"https:\/\/nau.edu\/marketing\/resources\/request-support\/?landing=Digital%20support%20request%20%E2%80%93%20website%20edits%20and%20reporting\">Digital Marketing Support<\/a><\/p>\n<p><i class=\"fas fa-phone\"><\/i> <a href=\"tel:9285231741\">928-523-1741<\/a><\/p>\n<\/div>\n          <\/div>\n  <\/div>\n\n<!-- shortcode-block -->\n<div class=\"shortcode-block\">\n      <div class=\"block-header\">\n        <h3>Business unit site support<\/h3>\n    <\/div>\n          <div class=\"block-body\">\n      <div>\n<i class=\"fas fa-envelope\"><\/i> <a href=\"https:\/\/nau.edu\/servicenow\">ServiceNow<\/a><\/p>\n<p><i class=\"fas fa-phone\"><\/i> <a href=\"tel:9285231511\">928-523-1511<\/a><\/p>\n<\/div>\n          <\/div>\n  <\/div>\n\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Dropdown Links Watch the Buttons and Dropdown Links video<\/p>\n","protected":false},"author":349,"featured_media":1874,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","ring_central_script_selection":"","footnotes":""},"class_list":["post-1925","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages\/1925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/users\/349"}],"replies":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/comments?post=1925"}],"version-history":[{"count":5,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages\/1925\/revisions"}],"predecessor-version":[{"id":7622,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/pages\/1925\/revisions\/7622"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/media\/1874"}],"wp:attachment":[{"href":"https:\/\/in.nau.edu\/web\/wp-json\/wp\/v2\/media?parent=1925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}