Hola,
ps si se
puede, usando
sus mismos recursos
aquí hice la función sencilla
le puse casi igual
toggleEvent Código HTML:
$.fn.toggleEvent = function( e ){
var fnc = "";
for(var i=1;i<arguments.length;i++){
if( i==1 )fnc += "arguments["+ i +"]";
else fnc += ", arguments["+ i +"]";
}
eval( "$(this).toggle( "+ fnc +" );" );
$(this).bind(e, function(){
$(this).trigger('click');
});
};
y la puedes usar asi:
Código HTML:
$("#DIV").toggleEvent("mouseover",
function(){
alert("1");
},function(){
alert("2");
},function(){
alert("3");
},function(){
alert("4");
}
);
ahi te dejo un ejemplo
http://polopolomp.6te.net/toggleEvent.html
saludos
:]