http://testserver.davidbenrimon.com/artists.html
如何让屏幕右上角的滤镜始终可见,而不是折叠?
答案 0 :(得分:1)
在$itemsFilter.find('a').not('.active').hide();
文件中,删除以下行:
// On mouseover (hover)
$itemsFilter.on('mouseenter', function() {
var $this = $(this);
clearTimeout( mouseOver );
// Wait 100ms before animating to prevent unnecessary flickering
mouseOver = setTimeout( function() {
if( $(window).width() >= 960 )
$this.find('li a').stop(true, true).slideHorzShow(300);
}, 100);
}).on('mouseleave', function() {
clearTimeout( mouseOver );
if( $(window).width() >= 960 )
$(this).find('li a').not('.active').stop(true, true).slideHorzHide(150);
});
要移除鼠标事件,请删除此内容:
result = [x for x in (l.rstrip("\n") for l in f) if x]
答案 1 :(得分:0)
我将在CSS中添加这个
ul#portfolio-items-filter a {
display: block !important;
}