저는 stickman의 accordion을 좋아해요. 어떻게 행동 하느냐에 따라 좋은 효과를 낼 수 있습니다. 당신의 onready 처리기
jQuery.fn.ddnav = function() {
this.wrap("");
this.each(function() {
var sel = document.createElement('select');
jQuery(this).find("li.label, li a").each(function() {
jQuery("<option>").val(this.href ? this.href : '').html(jQuery(this).html()).appendTo(sel);
});
jQuery(this).hide().after(sel);
});
this.parent().find("select").after("<input type=\"button\" value=\"Go\">");
var callback = function(button) {
var url = jQuery(button.target).parent("div").find("select").val();
if(url.length)
window.open(url, "_self")
};
this.parent().find("input[type='button']").click(callback);
this.parent().find("select").change(callback);
return this;
};
그리고 :
멋지지만 클릭하지 않고도 동작하는 웹 페이지의 드롭 다운 메뉴를 무시합니다. 그것은 내가 명백한 행동을 취하지 않을 때 내용이 흐려지는 것처럼 보입니다. – delfuego
그것은 슈퍼 피쉬와 어떤 관련이 있습니까? 그것은 그렇게하지 않습니다. – Buzz
나는 아름답고 구성하기가 쉽다. 그리고 가장 중요한 부분은 IE6, IE7 및 Firefox에서 작동한다는 것입니다. 아직 다른 사람들과 테스트하지 않았습니다. – Germstorm