Menu icon Foundation
Problems with off-canvas-wrap

I'm new with foundation. I have a lot of trouble trying to implement the off-canvas-wrap. I took the code from one of the examples in the official documentation and tried, but i didn't made any progress. Can somebody tell me what i'm doing wrong please? Thank you a lot in advance for your time and help.

<html>
    <script src="js/vendor/jquery.js"></script>
    <link href="css/foundation.css" rel="stylesheet" />    
    <link href="css/foundation.min.css" rel="stylesheet" />  
    <link href="css/normalize.css" rel="stylesheet" />  
    <script src="js/foundation/foundation.js"></script>
    <script src="js/foundation/foundation.offcanvas.js"></script>

    <title>SISTEMA DE GESTION INTEGRADA </title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    
    <div class = "row">
        <div class="large-6 columns">
            <h4>Rendered HTML</h4>
            <div class="off-canvas-wrap docs-wrap" data-offcanvas="">
                <div class="inner-wrap">
                    <nav class="tab-bar">
                        <section class="left-small">
                            <a class="left-off-canvas-toggle menu-icon" aria-expanded="true"><span></span></a>
                        </section>

                        <section class="middle tab-bar-section">
                            <h1 class="title">Foundation</h1>
                        </section>

                        <section class="right-small">
                            <a class="right-off-canvas-toggle menu-icon" aria-expanded="true"><span></span></a>
                        </section>
                    </nav>

                    <aside class="left-off-canvas-menu">
                        <ul class="off-canvas-list">
                            <li><label>Foundation</label></li>
                            <li><a href="#">The Psychohistorians</a></li>
                            <li><a href="#">The Encyclopedists</a></li>
                            <li><a href="#">The Mayors</a></li>
                            <li><a href="#">The Traders</a></li>
                            <li><a href="#">The Merchant Princes</a></li>
                            <li><label>Foundation and Empire</label></li>
                            <li><a href="#">The General</a></li>
                            <li><a href="#">The Mule</a></li>
                            <li><label>Second Foundation</label></li>
                            <li><a href="#">Search by the Mule</a></li>
                            <li><a href="#">Search by the Foundation</a></li>
                        </ul>
                    </aside>

                    <aside class="right-off-canvas-menu">
                        <ul class="off-canvas-list">
                            <li><label>Users</label></li>
                            <li><a href="#">Hari Seldon</a></li>
                            <li><a href="#">R. Giskard Reventlov</a></li>
                            <li><a href="#">R. Daneel Olivaw</a></li>
                            <li><a href="#">The Mule</a></li>
                            <li><a href="#">Dors Venabili</a></li>
                            <li><a href="#">Yugo Amaryl</a></li>
                            <li><a href="#">The Mule</a></li>
                            <li><a href="#">Emperor Cleon I</a></li>
                            <li><a href="#">Gaal Dornick</a></li>
                            <li><a href="#">Bel Riose</a></li>
                            <li><a href="#">Salvor Hardin</a></li>
                            <li><a href="#">Bel Riose</a></li>
                        </ul>
                    </aside>

                    <section class="main-section">
                        <div class="row">
                            <div class="large-12 columns">
                                <br>
                                <h4 class="">The Psychohistorians</h4>

                                <p>Set in the year 0 F.E. ("Foundation Era"), The Psychohistorians opens on Trantor, the capital of the 12,000-year-old Galactic Empire. Though the empire appears stable and powerful, it is slowly decaying in ways that parallel the decline of the Western Roman Empire. Hari Seldon, a mathematician and psychologist, has developed psychohistory, a new field of science and psychology that equates all possibilities in large societies to mathematics, allowing for the prediction of future events.</p>

                                <p>Using psychohistory, Seldon has discovered the declining nature of the Empire, angering the aristocratic members of the Committee of Public Safety, the de facto rulers of the Empire. The Committee considers Seldon's views and statements treasonous, and he is arrested along with young mathematician Gaal Dornick, who has arrived on Trantor to meet Seldon. Seldon is tried by the Committee and defends his beliefs, explaining his theories and predictions, including his belief that the Empire will collapse in 500 years and enter a 30,000-year dark age, to the Committee's members.</p>

                            </div>
                        </div>
                    </section>

                    <a class="exit-off-canvas"></a>

                </div>
            </div>

            <p>  </p></div>
    </div>



</html>

         

off canvaswrap

I'm new with foundation. I have a lot of trouble trying to implement the off-canvas-wrap. I took the code from one of the examples in the official documentation and tried, but i didn't made any progress. Can somebody tell me what i'm doing wrong please? Thank you a lot in advance for your time and help.

<html>
    <script src="js/vendor/jquery.js"></script>
    <link href="css/foundation.css" rel="stylesheet" />    
    <link href="css/foundation.min.css" rel="stylesheet" />  
    <link href="css/normalize.css" rel="stylesheet" />  
    <script src="js/foundation/foundation.js"></script>
    <script src="js/foundation/foundation.offcanvas.js"></script>

    <title>SISTEMA DE GESTION INTEGRADA </title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    
    <div class = "row">
        <div class="large-6 columns">
            <h4>Rendered HTML</h4>
            <div class="off-canvas-wrap docs-wrap" data-offcanvas="">
                <div class="inner-wrap">
                    <nav class="tab-bar">
                        <section class="left-small">
                            <a class="left-off-canvas-toggle menu-icon" aria-expanded="true"><span></span></a>
                        </section>

                        <section class="middle tab-bar-section">
                            <h1 class="title">Foundation</h1>
                        </section>

                        <section class="right-small">
                            <a class="right-off-canvas-toggle menu-icon" aria-expanded="true"><span></span></a>
                        </section>
                    </nav>

                    <aside class="left-off-canvas-menu">
                        <ul class="off-canvas-list">
                            <li><label>Foundation</label></li>
                            <li><a href="#">The Psychohistorians</a></li>
                            <li><a href="#">The Encyclopedists</a></li>
                            <li><a href="#">The Mayors</a></li>
                            <li><a href="#">The Traders</a></li>
                            <li><a href="#">The Merchant Princes</a></li>
                            <li><label>Foundation and Empire</label></li>
                            <li><a href="#">The General</a></li>
                            <li><a href="#">The Mule</a></li>
                            <li><label>Second Foundation</label></li>
                            <li><a href="#">Search by the Mule</a></li>
                            <li><a href="#">Search by the Foundation</a></li>
                        </ul>
                    </aside>

                    <aside class="right-off-canvas-menu">
                        <ul class="off-canvas-list">
                            <li><label>Users</label></li>
                            <li><a href="#">Hari Seldon</a></li>
                            <li><a href="#">R. Giskard Reventlov</a></li>
                            <li><a href="#">R. Daneel Olivaw</a></li>
                            <li><a href="#">The Mule</a></li>
                            <li><a href="#">Dors Venabili</a></li>
                            <li><a href="#">Yugo Amaryl</a></li>
                            <li><a href="#">The Mule</a></li>
                            <li><a href="#">Emperor Cleon I</a></li>
                            <li><a href="#">Gaal Dornick</a></li>
                            <li><a href="#">Bel Riose</a></li>
                            <li><a href="#">Salvor Hardin</a></li>
                            <li><a href="#">Bel Riose</a></li>
                        </ul>
                    </aside>

                    <section class="main-section">
                        <div class="row">
                            <div class="large-12 columns">
                                <br>
                                <h4 class="">The Psychohistorians</h4>

                                <p>Set in the year 0 F.E. ("Foundation Era"), The Psychohistorians opens on Trantor, the capital of the 12,000-year-old Galactic Empire. Though the empire appears stable and powerful, it is slowly decaying in ways that parallel the decline of the Western Roman Empire. Hari Seldon, a mathematician and psychologist, has developed psychohistory, a new field of science and psychology that equates all possibilities in large societies to mathematics, allowing for the prediction of future events.</p>

                                <p>Using psychohistory, Seldon has discovered the declining nature of the Empire, angering the aristocratic members of the Committee of Public Safety, the de facto rulers of the Empire. The Committee considers Seldon's views and statements treasonous, and he is arrested along with young mathematician Gaal Dornick, who has arrived on Trantor to meet Seldon. Seldon is tried by the Committee and defends his beliefs, explaining his theories and predictions, including his belief that the Empire will collapse in 500 years and enter a 30,000-year dark age, to the Committee's members.</p>

                            </div>
                        </div>
                    </section>

                    <a class="exit-off-canvas"></a>

                </div>
            </div>

            <p>  </p></div>
    </div>



</html>

         
Cristian Roldán about 5 years ago

Ok i got it. Misplaced "$(document).foundation();"

Jatin popli about 2 years ago

There may be issues with off canvas wrap but here in game of cards you wont face any issues. here you can play bid whist online free game and make more hands and win the game