0
我開始用drupal設計一個網站,並且Zurb foundation theme 我添加了一些頁面。頁面出現在頂部欄中。當屏幕變小時,我的所有頁面都消失在頂部欄中,並且一個menu
項目顯示爲帶有3個條紋的圖標。但是當我點擊這個menu
項目時,什麼也沒有發生。Drupal Foundation頂杆開關不起作用
這裏是我的page.tpl.php
<?php if ($top_bar): ?>
<!--.top-bar -->
<?php if ($top_bar_classes): ?>
<div class="<?php print $top_bar_classes; ?>">
<?php endif; ?>
<div class="contain-to-grid">
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name"><h1><?php print $linked_site_name; ?></h1></li>
<li class="toggle-topbar menu-icon"><a href="#"><span><?php print $top_bar_menu_text; ?></span></a></li>
</ul>
<section class="top-bar-section">
<?php if ($top_bar_main_menu) :?>
<?php print $top_bar_main_menu; ?>
<?php endif; ?>
<?php if ($top_bar_secondary_menu) :?>
<?php print $top_bar_secondary_menu; ?>
<?php endif; ?>
</section>
</nav>
</div>
</div>
<?php if ($top_bar_classes): ?>
<?php endif; ?>
<!--/.top-bar -->
<?php endif; ?>
代碼和生成
<!--.top-bar -->
<div class="contain-to-grid">
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name"><h1><a href="/raedthuijs/" rel="home" title="Raedthuijs Home" class="active">Raedthuijs</a></h1></li>
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
<ul id="main-menu" class="main-nav left"><li class="first leaf"><a href="/raedthuijs/" class="active">Home</a></li><li class="last leaf"><a href="/raedthuijs/?q=node/8">Page 2</a></li></ul> <ul id="secondary-menu" class="secondary link-list right"><li class="first leaf"><a href="/raedthuijs/?q=user">My account</a></li><li class="last leaf"><a href="/raedthuijs/?q=user/logout">Log out</a></li></ul> </section>
</nav>
</div>
</div>
<!--/.top-bar -->
這個代碼,你可以幫幫我嗎?
Here是所有的Drupal