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')
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>
</div>
<div class="group">
<span class="tab">
<a class="open" href="">Advanced</a>
<span class="tab advanced">
<a href="#">Advanced</a>
</span>
<span class="tab">
<a href="">Special Characters</a>
<span class="tab special">
<a href="#">Special Characters</a>
</span>
<span class="tab">
<a href="">Help</a>
<span class="tab help">
<a href="#">Help</a>
</span>
</div>
</div>