i have writing the overriding class after the original class in the CSS,but it still not working.
After putting !important , it works.
(I still don't understand it)
https://stackoverflow.com/questions/4865103/jquery-addclass-has-no-effect
文章加密
;
2017年11月30日 星期四
Select elements by innerHTML with jQuery
Select elements by innerHTML with jQuery
http://richard2001.blogspot.tw/2010/02/select-elements-by-innerhtml-with.html
it's amazing, but i haven't used it.
2017年11月29日 星期三
韓文
先學這個打基礎(基本音、認字什麼的)
http://shannysnote.pixnet.net/blog/post/381390539-%E3%80%90%E8%BF%B7%E5%A6%B9%E5%AD%B8%E9%9F%93%E6%96%87%E3%80%91%E7%B7%9A%E4%B8%8A%E9%9F%93%E6%96%87%E6%95%99%E6%9D%90-%E2%99%A0-%E5%88%9D%E5%AD%B8%E5%85%A5%E9%96%80%E8%B6%85
再學文法
http://hahahazel.pixnet.net/blog/post/185158116-%5B%E9%9F%93%E6%96%87%5D-%E9%82%A3%E4%BA%9B%E6%88%91%E5%9C%A8%E7%94%A8%E7%9A%84%E9%9F%93%E6%96%87%E5%B7%A5%E5%85%B7%E6%9B%B8-%E2%99%A5-%E6%8E%A8%E8%96%A6%E6%9B%B8%E7%9B%AE
2017年11月28日 星期二
Get index of clicked element, and use on another element
I just use
And this way it works
Extend learning
select all element except the clicked one
$('selector').click(function (index) {
$('another').eq(i) //do something
});
but not working.And this way it works
$('selector').click(function(){ var a = $('selector').index(this) );
$('another').eq(a) //do something
});
Extend learning
select all element except the clicked one
it is important that .not() writing at the above.$('selector').click(function(){ var a = $('selector').index(this) );
$('another').not(this) //do something
$('another').eq(a) //do something});
2017年11月27日 星期一
Owl Carousel 2
Owl Carousel 2 jump to a specific slide
https://stackoverflow.com/questions/25833834/owl-carousel-2-beta-jump-to-a-specific-slide
https://stackoverflow.com/questions/25833834/owl-carousel-2-beta-jump-to-a-specific-slide
set movement for each slide
https://stackoverflow.com/questions/47067094/slideshow-with-owlcarousel2-set-movement-for-each-slide2017年11月19日 星期日
css3 step
https://idiotwu.me/understanding-css3-timing-function-steps/
https://www.w3cplus.com/css3/CSS3-animation.html
https://codepen.io/valhead/pen/FguBL
待學習
https://www.w3cplus.com/css3/CSS3-animation.html
https://codepen.io/valhead/pen/FguBL
待學習
2017年11月17日 星期五
2017年11月15日 星期三
訂閱:
文章 (Atom)