Initial twiddle mechanics.

This commit is contained in:
Tom Preston-Werner
2010-07-14 14:58:25 -07:00
parent c1ac944508
commit 05de03461b
2 changed files with 14 additions and 6 deletions
@@ -95,4 +95,12 @@ $(function(){
var format = $('#guides .write select[name=format] option:selected').attr('value') var format = $('#guides .write select[name=format] option:selected').attr('value')
Gollum.enclose(el, 'gollum', 'image') Gollum.enclose(el, 'gollum', 'image')
}) })
$('#editbar .tab a').click(function() {
if ($(this).hasClass("open")) {
$(this).removeClass("open")
} else {
$(this).addClass("open")
}
})
}) })
+6 -6
View File
@@ -22,14 +22,14 @@
<span title="Image" class="image button">Image</span> <span title="Image" class="image button">Image</span>
</div> </div>
<div class="group"> <div class="group">
<span class="tab"> <span class="tab advanced">
<a class="open" href="">Advanced</a> <a href="#">Advanced</a>
</span> </span>
<span class="tab"> <span class="tab special">
<a href="">Special Characters</a> <a href="#">Special Characters</a>
</span> </span>
<span class="tab"> <span class="tab help">
<a href="">Help</a> <a href="#">Help</a>
</span> </span>
</div> </div>
</div> </div>