목록분류 전체보기 (50)
코딩공주
//카테고리 메뉴 유동 css $(document).ready(function() { var li = $('.category_menu li'); var margin = 1.5; var liCount = li.length; var marginCount = margin * (liCount - 1); li.css({ 'width': ((100 - marginCount) / liCount) + '%', 'margin-right': margin + '%' }); li.each(function(index) { if (li.eq(index).text() == '') { li.eq(index).css('font-weight', '600'); }; }); });
초큼 오래된 감이 있지만 자바스크립 소스가 그래도 제법 있어서 올려봅니다 행복하세요. http://www.webmadang.net/main/index.php
https://github.com/Tolc/jquery.nicescroll/blob/6876279cb895bc6ad892c71f8a327dce85e18e9b/jquery.nicescroll.js#L2555
window.onload is not supposed to fire until the images are loaded. You could wait for that particular event. Note that $.ready is not window.onload; it happens before onload. I am not sure if you can bind the onload event with jQuery, but you probably can with the .bind method. $(window).bind('load', function() { alert($(document).height()); }); https://stackoverflow.com/questions/5673334/jquery..
https://codepen.io/creotip/pen/dfjeF 불러오는 중입니다... https://codepen.io/pramodkumarboda/pen/XdgxmQ

https://sir.kr/ds_tip/547 폰트 깨졌을때 해결법! ( IE9+ ) > SIR 특히 윈도우7 에서 폰트가 깨지는 경우가 있을수가 있습니다. 제가 경험하고 욕나왔죠...우연치않게 발견해서 꼼수를 부려 깨지는 폰트를 깔끔하게 해결했습니다!이 방법을 알아내기에 너무 늦게 알게 되서 아쉬울 뿐이지만! 깨지는 폰트 css스타일부분에 .font_sel {transform:skew(-0.001deg);} 위와같이 적용시켜주세요. 사실 이 코드는 기울기 값입니다. -0.001 이라는 수치는 눈에 구별이 안가죠ㅎ; 즉 -0.001 이값은 폰트에 sir.kr 특히 윈도우7 에서 폰트가 깨지는 경우가 있을수가 있습니다. 제가 경험하고 욕나왔죠... 우연치않게 발견해서 꼼수를 부려 깨지는 폰트를 깔끔하게 해..