You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2020. It is now read-only.
<h2id="tips"><ahref="#tips">Tips, Best Practices, and Other Good Ideas</a></h2>
443
+
<h2id="tips"><ahref="#tips">Tips, Best Practices, and Other Good Ideas (with Examples)</a></h2>
447
444
448
445
<p>jPanelMenu was built to be very open-ended and allow a lot of customization for each implementation. A lot of the customization of jPanelMenu implementations will start with the easy hooks provided by the plugin.</p>
449
446
450
447
<p>When jPanelMenu is <ahref="#api-on" title="jPanelMenu | API | on">turned on</a>, the following elements are created (or classes applied, in the case of the <code><html></code> tag):</p>
451
448
452
449
<pre><html class="jPanelMenu">
453
-
<head>
454
-
<spanclass="plain-text">...</span>
455
-
</head>
456
-
<body>
457
-
<div id="jPanelMenu-menu" />
458
-
<div class="jPanelMenu-panel" />
459
-
</body>
450
+
<head>
451
+
<spanclass="plain-text">...</span>
452
+
</head>
453
+
<body>
454
+
<div id="jPanelMenu-menu" />
455
+
<div class="jPanelMenu-panel" />
456
+
</body>
460
457
</html></pre>
461
458
462
459
<pclass="caption"><strong>Note:</strong> Content abbreviated for simplicity.</p>
@@ -483,19 +480,29 @@ <h3 id="tips-progressive-enhancement"><a href="#tips-progressive-enhancement" ti
483
480
484
481
<pclass="jPM-specific">That idea was used to create this page. Take a look at what this page looks like <ahref="" title="Disable jPanelMenu" id="trigger-off">with jPanelMenu turned off</a> (particularly the navigation) to see this principle in action. Notice how all of the navigation is accessible in the <ahref="#" title="jPanelMenu">header of the page</a>, and no content is lost.</p>
485
482
486
-
<h3>jPanelMenu and jRespond — Perfect Together</h3>
483
+
<h3id="tips-jrespond"><ahref="#tips-jrespond" title="jPanelMenu and jRespond — Perfect Together">jPanelMenu and jRespond — Perfect Together</a></h3>
487
484
488
485
<p>I'm a <strong>huge</strong> fan of <ahref="https://github.com/ten1seven/jRespond" title="jRespond | Github">jRespond</a>, which is “a simple way to globally manage JavaScript on responsive websites.”</p>
489
486
490
-
<p>jRespond and jPanelMenu are the perfect couple — use jRespond to enable and disable jPanelMenu at the appropriate breakpoints, creating a truly great experience. That’s how I almost always use jPanelMenu (that’s how this site works), and I suggest you give it a shot, too.</p>
487
+
<p>jRespond and jPanelMenu are the perfect couple — use jRespond to enable and disable jPanelMenu at the appropriate breakpoints, creating a truly great experience. That’s how I almost always use jPanelMenu, and I suggest you give it a shot, too.</p>
491
488
492
489
<p>Responsive design is awesome on its own, but add responsive behavior to the mix, and you’ve made something incredible.</p>
490
+
491
+
<p>Check out the <ahref="examples/jrespond" title="jPanelMenu Example | jPanelMenu with jRespond">example</a> of how to use jRespond with jPanelMenu, which includes a basic how-to, code snippets, and helpful tips.</p>
492
+
493
+
<p><ahref="examples/jrespond" title="jPanelMenu Example | jPanelMenu with jRespond" class="button example"><spanclass="ss-icon">👀</span> View Example</a></p>
493
494
</section>
494
495
495
496
<section>
496
-
<h2id="contact"><ahref="#contact">Questions, Comments, Insults, or Other Feedback?</a></h2>
497
+
<h2id="about"><ahref="#about">Who Made This Wonderful Little Plugin?</a></h2>
498
+
499
+
<p>jPanelMenu was created, and is maintained, by <ahref="http://acolangelo.com" title="Anthony Colangelo | Web Design & Development">Anthony Colangelo</a>, a developer at <ahref="http://happycog.com">Happy Cog</a>.</p>
500
+
501
+
<p>You can find him (<ahref="https://twitter.com/acolangelo" title="Twitter | Anthony Colangelo (@acolangelo)">@acolangelo</a>) on <ahref="https://twitter.com/acolangelo" title="Twitter | Anthony Colangelo (@acolangelo)">Twitter</a> and <ahref="https://github.com/acolangelo" title="Github | Anthony Colangelo (@acolangelo)">Github</a>.</p>
497
502
498
-
<p><ahref="http://acolangelo.com/contact" title="Anthony Colangelo | Web Design & Development | Contact">Send me a message</a>, let’s talk.</p>
503
+
<p>Have a question about how jPanelMenu works that is not answered here? Have feedback for new features, options, or API functions that I should add? Anything else you want to talk about?</p>
504
+
505
+
<p>Talk to me on <ahref="https://twitter.com/acolangelo" title="Twitter | Anthony Colangelo (@acolangelo)">Twitter</a>, where I am <ahref="https://twitter.com/acolangelo" title="Twitter | Anthony Colangelo (@acolangelo)">@acolangelo</a>, or <ahref="http://acolangelo.com/contact" title="Anthony Colangelo | Web Design & Development | Contact">send me a message</a>, and let’s talk!.</p>
499
506
</section>
500
507
</div>
501
508
@@ -507,6 +514,22 @@ <h2 id="contact"><a href="#contact">Questions, Comments, Insults, or Other Feedb
0 commit comments