Created
April 10, 2019 10:43
-
-
Save alt-karate/79d8313b7a87c09b7a0a1a28dfe5ebdd to your computer and use it in GitHub Desktop.
test.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="menu__tabscover" id="Menu"> | |
<ul class="menu__tab"> | |
<li><a href="#menuA" class="active">メニューA</a></li> | |
<li><a href="#menuB">メニューB</a></li> | |
<li><a href="#menuC">メニューC</a></li> | |
</ul> | |
<section id="menuA" class="menuA_cont tabcont--hide"> | |
<?php $fieldloops = $cfs->get('menuAloop'); | |
foreach ($fieldloops as $fieldloop) { ?> | |
<div><?php echo $fieldloop['menuA']; ?></div> | |
<?php } ?> | |
</section> | |
<section id="menuB" class="menuB_cont tabcont--hide"> | |
<?php $fieldloops = $cfs->get('menuBloop'); | |
foreach ($fieldloops as $fieldloop) { ?> | |
<div><?php echo $fieldloop['menuB']; ?></div> | |
<?php } ?> | |
</section> | |
<section id="menuC" class="menuC_cont tabcont--hide"> | |
<?php $fieldloops = $cfs->get('menuCloop'); | |
foreach ($fieldloops as $fieldloop) { ?> | |
<div><?php echo $fieldloop['menuC']; ?></div> | |
<?php } ?> | |
</section> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment