gabrielflorit / livecoding

livecoding
http://gabrielflorit.github.io/livecoding/
MIT License
176 stars 28 forks source link

[html] #modes.item tab selectors should have ids set #61

Closed sethwoodworth closed 11 years ago

sethwoodworth commented 11 years ago
<div id="modes" class="">
    <div class="item">
        <h2 class="passive">html</h2>
    </div>
    <div class="item">
        <h2 class="active">javascript</h2>
    </div>
</div>

This would allow people to deep link to the javascript or html tabs of a pad. Then you can use a javascript lookup on load to choose which tab is selected.

gabrielflorit commented 11 years ago

This already works - e.g. see http://livecoding.io/4404220 or http://livecoding.io/4404210