I have a problem with JQuery Toggle.
I have the following code:
var $_ = jQuery;
$_(document).ready(function(){
$_(\"#sh-zone-buttons\").delegate(\"#sh-
With your current code you are hiding #sh-zone-login-menu
and then in your callback method making it visible again.
Also, var $_ = jQuery.noConflict();
is the prefered way to assign jQuery's $
to a variable
var $_ = jQuery.noConflict();
$_(document).ready(function(){
$_("#sh-zone-buttons").delegate("#sh-zone-button-login-menu", "click", function(event) {
event.stopPropagation();
event.preventDefault();
$_("#sh-zone-login-menu").toggle();
$_(this).toggleClass("current");
});
});