<!-- when we set up item's url - it will behave as a simple navigation item -->
<perch:if exists="navitemhref">
<a href='<perch:content id="navitemhref" type="text" label="Navigation Item URL" />'><perch:content id="navitem" type="text" label="Navigation Item Label" required="true" title="true" /></a>
<perch:else/>
<!-- if we skip the url we can now define multiple Perch Block -->
<perch:blocks>
<!-- Column acts like a breaking point and we will use it to create a separate sub navigation -->
<perch:block type="col" label="Column">
<perch:content required id="collabel" type="text" label="Column Label" />
</perch:block>
<!-- In between of every column we create a number of items that will represent links -->
<perch:block type="item" label="Item">
<perch:content id="colitemhref" required type="text" label="Item URL" order="2" help="A valid URL for browser." />
<perch:content id="colitem" required type="text" label="Item" order="1" help="Human friendly."/>
</perch:block>
</perch:blocks>
</perch:if>
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Fiddle Pages
Your fiddles accessible under a custom domain and a vanity path - the simplest hosting for your personal project.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Get Fiddle Pages with PRO
Your fiddles accessible under a custom domain and a vanity path - the simplest hosting for your personal project.