我正试图说明,纳夫纽带为何赢得一致意见。 我确信,只有一些格格不入。 我改变了《支尔克法》中的遴选人,现在赢得工作。
要确保有经过培训的眼光,这应该是快速的。
谁能帮助?
////////////////////////////
// http://www.adipalaz.com/experiments/jquery/accordion.html
///////////////////////////
(function($) {
//http://www.mail-archive.com/[email protected]/msg43851.html
$.fn.orphans = function(){
var txt = [];
this.each(function(){$.each(this.childNodes, function() {
if (this.nodeType == 3 && $.trim(this.nodeValue)) txt.push(this)
})});
return $(txt);
};
//http://www.learningjquery.com/2008/02/simple-effects-plugins:
$.fn.fadeToggle = function(speed, easing, callback) {
return this.animate({opacity: toggle }, speed, easing, callback);
};
$.fn.slideFadeToggle = function(speed, easing, callback) {
return this.animate({opacity: toggle , height: toggle }, speed, easing, callback);
};
})(jQuery);
////////////////////////////
$(function() {
$( .collapse ).hide();
$( .expand ).orphans().wrap( );
//demo 4 - div.demo:eq(3) - queued slide effects:
$( div.demo .expand ).click(function() {
var $thisCllps = $(this).next( .collapse );
var $cllpsVisible = $(this).ul( .expand ).next( .collapse:visible );
($cllpsVisible.length) ? $(this).toggleClass( open ).siblings( .expand ).removeClass( open )
.next( .collapse:visible ).slideUp(400, function() {
$thisCllps.slideDown();
}) : $thisCllps.slideToggle().prev( .expand ).toggleClass( open );
return false;
});
});
<div class="demo">
<ul class="collapse" class="ul" style="display: none; ">
<li>Item 1.1.</li>
<li>Item 1.2.</li>
</ul>
<ul class="collapse" class="ul" style="display: none; ">
<li>Item 2.1.</li>
<li>Item 2.2.</li>
</ul>
<ul class="collapse" class="ul" style="display: none; ">
<li>Item 3.1.</li>
<li>Item 3.2.</li>
</ul>
</div>
<ul>
<li>
<h4 class="expand"><a href="#" title="expand/collapse">Slide Up/Down UL 1</a></h4>
</li>
<li>
<h4 class="expand"><a href="#" title="expand/collapse">Slide Up/Down UL 2</a></h4>
</li>
<li>
<h4 class="expand"><a href="#" title="expand/collapse">Slide Up/Down UL 3</a></h4>
</li>
</ul>