Views
Basic HTML Tag Structure
The below code is a basic structure for a view to work, you need to have all your view wrapped in a view-port
<!-- BEGIN View Port !-->
<div class="view-port clearfix" id="myViewPort">
<!-- BEGIN View !-->
<div class="view bg-white">
</div>
<!-- END View !-->
<!-- BEGIN View !-->
<div class="view bg-white">
</div>
<!-- END View !-->
</div>
<!-- END View Port !-->How to Navigate
You can navigate with a simple HTML link and the following attributes in it
data-view-animation : Defines animation - push-parrallax / push / from-top
data-view-port : Defines Parent View Port - ID of parent view port. Eg : "#myViewPort"
data-navigate : Enables to toggle back and forth form two views in a view port
One to Many Navigation
There is an option where you can navigate from one view to different views, the structure will be the following
HTML
Link
To link to the subview add the attribute called data-toggle-view this defines the ID of your subview
Multi Level Navigation
You can navigate up to unlimited levels by nesting views-ports under views
HTML Structure
Sample with Navigation Links
Last updated