The below code making use of bootstrap's data-toggle="collapse"
to do the functionality of collapse/expand on click of configured element,
In this case, clicking parent1
and parent2
Problem: On click of parent
element, the collapse is working from my PC using Chrome and firefox browsers, but it is not working from my iPad using safari browser.
<div id="parent1" type="button" class="parentclass" data-toggle="collapse" data-target="#childof1">
<strong>Technologies </strong>
</div>
<div id="childof1" class="collapse">
<!-- elements of child1 -->
</div
<div id="parent2" type="button" class="parentclass" data-toggle="collapse" data-target="#childof2">
<strong>Vertical </strong>
</div>
<div id="childof2" class="collapse">
<!-- elements of child2 -->
</div
References: http://www.w3schools.com/bootstrap/bootstrap_ref_js_collapse.asp