MediaWiki:Mobile.js: Difference between revisions

adding items
(trying to get the mobile menu to include links to the articles with these instructions https://www.mediawiki.org/wiki/Topic:Vqy1kx6q4e0bzvyb)
 
(adding items)
Line 35: Line 35:
                           <a href="/wiki/How_to_protect_yourself_and_others_from_covert_modeling" \
                           <a href="/wiki/How_to_protect_yourself_and_others_from_covert_modeling" \
                                 class="mw-ui-icon mw-ui-icon-before"> \
                                 class="mw-ui-icon mw-ui-icon-before"> \
                           <span>/wiki/How_to_protect_yourself_and_others_from_covert_modeling</span> \
                           <span>How to protect yourself and others from covert modeling</span> \
                          </a> \
                          </li> \
                          <li> \
                          <a href="/wiki/Biblical_explanation_-_The_books_of_Daniel_and_Revelation" \
                                class="mw-ui-icon mw-ui-icon-before"> \
                          <span>Biblical explanation - The books of Daniel and Revelation</span> \
                          </a> \
                          </li> \
                          <li> \
                          <a href="/wiki/Biblical_explanation_-_The_books_of_Daniel_and_Revelation" \
                                class="mw-ui-icon mw-ui-icon-before"> \
                          <span>Biblical explanation - The books of Daniel and Revelation</span> \
                          </a> \
                          </li> \
                          <li> \
                          <a href="/wiki/Mediatheque" \
                                class="mw-ui-icon mw-ui-icon-before"> \
                          <span>Mediatheque</span> \
                          </a> \
                          </li> \
                          <li> \
                          <a href="/wiki/Glossary" \
                                class="mw-ui-icon mw-ui-icon-before"> \
                          <span>Glossary</span> \
                          </a> \
                          </li> \
                          <li> \
                          <a href="/wiki/Resources" \
                                class="mw-ui-icon mw-ui-icon-before"> \
                          <span>Resources</span> \
                          </a> \
                          </li> \
                          <li> \
                          <a href="/wiki/Marketing_against_synthetic_filth" \
                                class="mw-ui-icon mw-ui-icon-before"> \
                          <span>Marketing against synthetic filth</span> \
                          </a> \
                          </li> \
                          <li> \
                          <a href="/wiki/SSF:About" \
                                class="mw-ui-icon mw-ui-icon-before"> \
                          <span>About the SSF! wiki</span> \
                           </a> \
                           </a> \
                           </li> \
                           </li> \
Line 48: Line 90:
                       </li> \
                       </li> \
                 </ul>'
                 </ul>'
             );
             );
             $(".menu").find(".level2").hide(); // hide level2 until level1 is clicked
             $(".menu").find(".level2").hide(); // hide level2 until level1 is clicked