|
@@ -1,6 +1,15 @@
|
|
|
$(document).ready(function () {
|
|
|
'use strict';
|
|
|
- $('#switcher-default').addClass('selected');
|
|
|
+
|
|
|
+ $('#switcher h3')
|
|
|
+ .hover(
|
|
|
+ function () { $(this).addClass('hover'); },
|
|
|
+ function () { $(this).removeClass('hover'); })
|
|
|
+ .click(function () {
|
|
|
+ $('#switcher button').toggleClass('hidden');
|
|
|
+ });
|
|
|
+
|
|
|
+ $('#switcher-default').addClass('selected');
|
|
|
|
|
|
// Automatic handler names available for (jQuery 1.9.0):
|
|
|
// blur focus focusin focusout load resize scroll unload click dblclick.
|
|
@@ -15,7 +24,4 @@ $(document).ready(function () {
|
|
|
$(this).addClass('selected');
|
|
|
});
|
|
|
|
|
|
- $('#switcher h3').click(function () {
|
|
|
- $('#switcher button').toggleClass('hidden');
|
|
|
- });
|
|
|
});
|