<div id="switcher" class="switcher">
<h3>Style Switcher</h3>
<button id="switcher-default">
Default
</button>
<button id="switcher-narrow">
Narrow Column
</button>
<button id="switcher-large">
Large Print
</button>
</div>
css Code
.hidden {
display: none;
}
jQuery Code:
$("-sharpswitcher h3").toggle(function() {
$("-sharpswitcher button").addClass("hidden");
},function() {
$("-sharpswitcher button").removeClass("hidden");
});
is that the h3 tag is hidden directly after loading, is the 1.9version of the toggle method no longer available?