Hiển thị các bài đăng có nhãn THƯ VIỆN WEBMASTER. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn THƯ VIỆN WEBMASTER. Hiển thị tất cả bài đăng

22 thg 12, 2011

Thêm bài viết ngẫu nhiên cho blogspot

Để tạo được bài viết ngẫu nhiên cho blogspot. Hôm nay xin chia sẻ với các bạn cách tạo bài viết ngẫu nhiên.



Trước tiên các bạn truy cập vào địa chỉ đây Chọn blog cần tạo bài viết ngẫu nhiên





Click vào “ĐỊNH CẤU HÌNH TIỆN ÍCH” và cá bạn điền thông tin tương tự như sau





Các bạn có thể xem trước thiết lập của mình ngay phía bên dưới. Khi thiết lập nếu “Show Powered by Link” chọn Yes thì sẽ có dòng “Powered By : Blogger Plugins” ở phía cuối widgat bài viết ngẫu nhiên (Nên chọn No”)





Sau khi thiết lập xong các bạn chọn “LƯU” và vào “Thiết kế” để di chuyển widget đến vị trí thích hợn nhá.



Chúc các bạn thành công

17 thg 12, 2011

Code tạo quảng cáo nổi giữa trang

Các bạn muốn đặt một quảng cáo tạo chú ý cho thành viên. Có rất nhiều code giúp các bạn thực hiện việc này. Hôm nay mình xin chia sẻ với các bạn code tạo một quảng cáo giữa trang như thế.



Demo:





Để làm được việc này các bạn chèn đoạn code sau vào vị trí muốn hiển thị (nếu muốn hiển thị tất cả các trang các bạn có thể chèn vào footer)





<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>



<style type=”text/css”>

#floating

{

z-index: 450;

position: absolute;

width: 490px;

height: 368px;

}

#overPage

{

background: black;

z-index: 350;

position: absolute;

left: 0;

top: 0;

}

</style>



<!–Begin Adv Popup–>

<div id=”ctl00_ContentPlaceHolder1_Adv_Popup_pnAdv”>

<div id=”overPage”>

</div>

<div id=”floating”>

<img src=”link ảnh” width=”490″ height=”360″ usemap=”#offline”

border=”0″ style=”cursor: pointer” /></div>

<map name=”offline”>

<area shape=”rect” coords=”420,0,490,30″ onclick=”javascript:closeMe();” alt=”Close”

style=”cursor: pointer” />

<area shape=”rect” coords=”0,30,490,330″ href=”Url site click vào ảnh ” target=”_blank” onclick=”javascript:closeMe();” style=”cursor: pointer” />

</map>



<script language=”javascript” type=”text/javascript”>

var lastScroll;

var delay = 30;

var speed = 500;

var img_w = 490;

var img_h = 360;

function centerIt() {

$(“#overPage”).css(“width”, $(window).width());

$(“#overPage”).css(“height”, $(document).height());

$(“#floating”).css(“left”, $(window).width() / 2 – img_w / 2);

$(“#floating”).css(“top”, $(window).height() / 2 – img_h / 2 + $(document).scrollTop());

}

$(document).ready(function() {

$(“#overPage”).css(“opacity”, 0.7);

$(“#overPage,#floating”).show();

centerIt();

});

$(window).scroll(function() {

setTimeout(function() { ani(); }, delay);

lastScroll = new Date().getTime();

});

$(window).resize(function() {

centerIt();

});

function ani() {

if ((new Date().getTime() – lastScroll) >= (delay – 20)) {

$(“#floating”).animate({ top: ($(window).height() / 2 – img_h / 2 + $(document).scrollTop()) }, speed);

}

}

function closeMe() {

$(“#overPage,#floating”).hide();

}

</script>



</div>

<!–End Adv Popup–>


Các bạn thay link ảnh và link site cho phù hợp nhá

Vậy là xong. Bây giờ các bạn có thể ra ngoài trang chủ xem thành quả của mình rồi !

[Wordpress] Hosting BusinessTheme - dành cho trang bán hosting

Epsilon is best suitable for a Hosting Business, Company, Blog, Portfolio. Comes with two options of hosting theme and business theme. With New Features of WordPress 3.0 Universe has been coded to improve capability of the WordPresss 3.0 features.









Theme: Epsilon v1.0

Bản quyền: ThemeForest

Hỗ trợ: WordPress: 3.0+

Demo: wp-demo.indonez.com/Epsilon/



Features:

* 2 style (Hosting and Business)

* Custom Post type for slideshow

* 2 Custom Post type for products

* Support WordPress 3.0 Menu System

* Custom Page templates

* Custom Category templates

* Portfolio page templates with Pop up Lightbox (support for image and Video type)

* Cufon Text Replacement

* Translation ready (available .po file)

* Widgetable Sidebar

* Widgetable Footer

* 9 Custom Widgets (Support for Multiple Instance Widget)

* Built in Ajax Contact Form with validation

* Valid XHTML

* Gravatar Support

* Threaded Comment Support

* Auto Image Resizing

* Cross Browser Compatible

* Poweful Admin Theme Options

* XML sample data included

* PSD Files included

* Well Documented





www.mediafire.com/?gcv6mfi6xbm6c9n

1 thg 12, 2011

Theme Noel Trắng 2011 [Yahoo! Plus]

Đây là theme do bạn Hiếu Bò làm nhân dịp noel để thay đổi không khí 1 chút, theme này tông chủ yếu là màu trắng chỉ dùng 1 số ảnh nên rất nhẹ.



Tổng thể, thì theme này có dạng như vầy, rất đơn giản và nhẹ nhàng đúng không?














demorn.jpg (512×493)








CSS



#bd .rte_toolbar { background:none repeat scroll 0 0 #FFFFFF;border-bottom-style:none;border-left-style:none;height:30px;} .cmt-mod-alist .add-comment .buttons input { background:none repeat scroll 0 0 #FFFFFF;border:1px solid #DDDDDD;color:#000000;font-weight:bold;height:26px;text-align:center;text-transform:uppercase;width:58px !important;} .mod-alist .mod-alist-tagsbar .tag_content { clear:both;float:right;} #comment-list a { color:#000000;cursor:pointer;} #comment-list .bd ol li .comment .bd { color:#143802;padding:0;} #comment-list .bd ol li { border-top:1px solid #DDDDDD;clear:both;list-style-type:none;padding:10px 0;} #comment-list ol li .comment { background:#EBEBEB url(http://ca7.upanh.com/17.720.22109695.5s50/cm1.gif) no-repeat top left !important;padding:7px 0 5px 25px !important;} #comment-list .bd ol li .comment { background:none repeat scroll 0 0 transparent;padding:0;} .mod-alist .mod-alist-tagsbar .trackbacks .trackback-list { float:right;padding:0 0 5px;} #comment-list .hd .comments-toggle a { background:#ffffff;border:1px solid #DDDDDD;padding:20px 5px 5px 5px;} #comment-list .hd h3 { font-size:17px;font-weight:normal;text-transform:uppercase;float:right;} #comment-list { background:none repeat scroll 0 0 #ffffff;border:1px solid #DDDDDD;padding:0 10px;} #ft .info a { color:#444444;} .ysm_line ul li { display:none;} #ft { background-color:#FFFFFF;border-top:1px solid #DDDDDD;clear:both;color:#888888;font-size:93%;} .ysm_line a, .ysm_line a:hover, .ysm_line a:visited { display:none;} .mod-alist .mod-alist-titlebar h1 { background:none repeat scroll 0 0 #FDFCEA;border:1px dotted #DDDDDD;font-size:17px;font-weight:normal;padding:5px;text-transform:uppercase;} #article_list_module .mod-alist-searchbox.titlebar .bd form input { border:1px solid #DDDDDD;padding:0 30px;width:auto;} .more-posts .mod-alist .mod-alist-summary-bd .thumbnail{ float:left;padding:0 40px 10px 10px;} ul.moodicons li span, .moodicon em span { display:none;} .mod-alist .mod-alist-titlebar h2, .mod-alist .mod-alist-titlebar h3 { font-size:17px;font-weight:normal;text-transform:uppercase;background:#FDFCEA;border:1px dashed #dddddd;} a:hover { color:#888888;text-decoration:none;} #profile_highlight #profile_nav .yui3-menu-content ul li{ display:none;} #profile_highlight .profile_photos { display:none;} #profile_highlight .nickname { display:none;} #profile_highlight .backhome a { display:block;padding:30px 0 0 0;font-size:0px;} #profile_highlight .backhome { background:url(http://ca7.upanh.com/17.708.22097779.ABw0/home.jpg) no-repeat left;height:20px;} #profile_highlight #profile_nav{ display:none;} #search_module .bd input { border:1px solid #DDDDDD;width:95%;} .col-150 .rc_bd .rc_bc .hd .titlebar .hd, .col-150 .rc_bd .rc_bc .hd .titlebar, .col-150 .rc_hd, .col-150 .rc_hd div, .col-150 .rc_bd, .col-150 .rc_bc, .col-150 .rc_ft, .col-150 .rc_ft div, .col-150 .rc_bd .rc_bc .bd { background:transparent;border-style:none;padding:0;} #head, #tail, #bd{ background:transparent url(http://ca9.upanh.com/17.702.22091993.5Wx0/bd.jpg) repeat-y top right;} .mod-alist .rc_bd .bd .more-posts ul li { border-top:1px solid #DDDDDD;clear:both;list-style-type:none;padding:5px 0 5px 0;} #article_list_module .rc_hd, #article_list_module .rc_hd div, #article_list_module .rc_bd, #article_list_module .rc_bc, #article_list_module .rc_ft, #article_list_module .rc_ft div, #article_list_module .rc_bc .bd, #article_list_module .mod-alist-searchbox input.btn { background:transparent;border-style:none;padding:0;} #bd h2 { font-size:17px;font-weight:normal;} #user_mod_10001 .rc_bd .rc_bc .hd .titlebar .hd, #user_mod_10001 .rc_bd .rc_bc .hd .titlebar, #user_mod_10001 .rc_hd, #user_mod_10001 .rc_hd div, #user_mod_10001 .rc_bd, #user_mod_10001 .rc_bc, #user_mod_10001 .rc_ft, #user_mod_10001 .rc_ft div, #user_mod_10001 .rc_bc .bd{ background:transparent;border-style:none;padding:0;} #user_mod_10001 h2{ display:none;} #blog_title { display:none;} #blast { display:none;} .col-150 { width:260px !important;} #bd .col-600 { width:670px !important;} #single_post #yui-main { float:left;} .yui-t1 #yui-main .yui-b { float:left;margin-left:325px !important;} #single_post .col-150 { float:right;} #blog_title .bd { background-color:transparent;} #blog_title .rc_bc .bd { color:#444444;} .yuimenubarnav .yuimenubaritemlabel-hassubmenu li:hover { background:transparent;} .yuimenuitemlabel a:visited { color:#888888;font-family:verdana;font-weight:normal;} .yuimenuitemlabel a { color:#888888;font-family:verdana;font-weight:normal;} .yuimenuitemlabel { color:#888888;font-family:verdana;font-weight:normal;} .first-of-type a:hover { text-decoration:none;color:#888888;font-family:verdana;font-weight:normal;} .first-of-type li:hover { background:transparent;} #doc2 { padding:0 10px !important;border-width:0 1px 0 1px;border-style:solid;border-color:#dddddd;} .blog_dummyselect .bd div, .blog_dummyselect .bd, .yuimenu .bd { background:ffffff;border-style:none;} .yuimenubarnav .yuimenubaritemlabel-hassubmenu { background:transparent;} .yuimenubaritemlabel a:hover { color:#444444;font-family:verdana;font-size:100%;font-weight:normal;text-decoration:none;} .yuimenubaritemlabel a, .yuimenubaritemlabel a:visited { color:#888888;font-family:verdana;font-size:100%;font-weight:normal;text-decoration:none;} .yuimenubarnav .yuimenubaritem { background:transparent;height:45px;padding:0;border:0px solid #ff0000;} .yuimenubaritemlabel { background:#ffff;border-width:0 0 0 0px;border-color:#dddddd;border-style:solid;height:28px;padding:10px 20px 10px 10px;} #blogsearch { display:none;} .yuimenubar { padding:121px 0 22px 0;border-bottom:solid 1px #dddddd;} .yuimenubar .hd { background:transparent;} .ysearch #ygmasrchfrm { display:none;} #ygmalogo img { display:none;} .ygmabg, #ygmabot { background:transparent;} #ygmatop { background:transparent;font-size:0%;} html { background:#fff url(http://ca2.upanh.com/17.689.22078242.1o0/bg.jpg) repeat-x top left;} body.blog_my, body.blog_my_index, body.comment_listing, body.trackback_listing, body.blog_archives_folder, body.blog_archives_date, body.blog_archives_all, body.post_rte, body.post_doodle, body.guestbook, body.comment_list, body.subscribe_list, body.post_gb, body.profile_view, body.gallery, body.photo_big, body.slideshow, body.photo_upload_pc, body.photo_upload_gallery { background:transparent url(http://ca9.upanh.com/17.687.22075913.L8R0/logo.png) no-repeat top center;}


Cách chỉnh màu:








26 thg 11, 2011

51 mẹo nhỏ để cải thiện thứ hạng website của bạn

Để cải thiện “thứ hạng website” của bạn nên thực hiện các bước sau:

1. Sử dụng .htaccess để chuyển tên miền từ non-www thành dạng www (sử dụng redirect 301)

2. Gia hạn tên miền của bạn thêm vài năm (khuyến khích trên 5 năm)
3. Đảm bảo rằng khi khách click vào logo của site bạn thì họ được đưa trở lại trang chủ

4. Nếu font chữ của website bạn quá nhỏ, hãy cho nó về mức tiêu chuẩn, SE có thể bỏ qua site bạn nếu font chữ quá nhỏ



5. Loại bỏ các plugin ko cần thiết

6. Luôn chèn thông tin liên hệ, hoặc trang liên lạc của bạn ở cuối trang web

7. Nên cố gắng sắp xếp site của mình theo một mẫu CSS stylesheet

8. Sửa hoặc loại bỏ các link sai, hoặc “chết” thường xuyên nếu bạn không sử dụng “nofollow”

9. Sử dụng alt tag cho tất cả bức ảnh, đặc biệt là ở trang chủ

10. Loại bỏ các iframe trong site bạn, phần lớn các SE ko index các iframe, nó có thể làm cho cả page chứa iframe bị ảnh hưởng

11. Nên tạo một file robots.txt cho website của bạn

12. Nên sử dụng một navigation cơ bản cho site bạn

13. Sử dụng cùng một màu cho các link

14. Kiểm tra lỗi chính tả trong nội dung website

15. Định dạng website của bạn theo một khuôn mẫu xác định

16. Nên sử dụng ít nhất 1 bức ảnh cho mỗi trang có kèm alt tag, đừng nghĩ là loại bỏ hết tranh ảnh có thể cải thiện rank cho site bạn

17. Tạo một about page cho site bạn

18. Cung cấp các thông tin cá nhân của bạn rõ ràng trong about page đó

19. Nên chèn 1 số bức ảnh vào about page (như logo, map…)

20. Nên loại bỏ các popup trong site bạn

21. Chèn link đến các bookmark, các mạng xã hội sau mỗi bài viết và about page

22. Nên chèn một công cụ tìm kiếm cho site bạn

23. Tạo một trang điều khoản cá nhân cho site bạn

24. Đặt link tới điều khoản cá nhân ở dưới mỗi trang

25. Khi rewrite url nên sử dụng dấu “-” thay cho dấu “_”

26. Nên chèn google maps vào trang liên lạc (about page)

27. Nên chèn link từ trang này đến trang khác cho site

28. Sử dụng thẻ META description riêng biệt cho mỗi trang

29. Kiểm tra mã nguồn và sửa các lỗi

30. Không nên có 1 trang trao đổi link

31. Chèn một hộp tìm kiếm của site ở 404 error page

32. Nên tạo một sitemap cho site

33. Chèn link đến site map ở cuối mỗi trang

34. Nên chèn dòng copyright abc… ở cuối mỗi trang

35. Gạch chân các link ở website, cái này nếu thấy để lại hơi làm xấu mĩ quan nên xóa đi

36. Tắt tất cả các file nhạc, phim tự động chạy (automatically plays)

37. Nên thay thế các Flash animated = gif animated

38. Đặt logo của site bạn ở đầu mỗi trang

39. Bạn nên mua thêm các domain .net .org .biz… và redirect nó về site của bạn

40. Nên tạo một trang support, help hoặc FAQ

41. Khi bạn trả lời một yêu cầu, trợ giúp gì đó nên trả lời ở trang support hoặc help đó, không nên sử dụng email, đưa họ đến trang FAQ nếu câu hỏi đó đã được trả lời, nên cập nhập FAQ của bạn thường xuyên

42. Nên cung cấp đầy đủ thông tin liên lạc của bạn ở trang liên lạc

43. Nên chèn mã để thống kê (analytics code) cho website của bạn ở tất cả các trang, bạn có thể sử dụng histats.com, statcounter.com, hay google analytics tùy theo định hướng phát triển của bạn

44. Xóa bỏ tất cả các mã tự động điều chỉnh kích thước trình duyệt của khách

45. Nên tạo một favicon riêng cho site bạn

46. Chỉ nên sử dụng email dạng @tenmiencuaban.com

47. Đặt thuộc tính label=”” cho tất cả các form của site bạn

48. Đặt một thông báo xác nhận khi đăng nhập hoặc khi post bài, comment

49. Cập nhập website bạn thường xuyên

50. Sử dụng W3C Compliant để kiểm tra và sửa chữa các lỗi có thể gây ảnh hưởng đến quá trình hoạt động của SE bots

validator.w3.org/

51. Hãy áp dụng ngay tất cả các cách trên luôn nhé ! Đây là yếu tố quan trọng nhất !

Theo Ehow/vietad

22 thg 8, 2011

Colorful CSS Notification Box - Các khung báo lỗi bằng CSS





Hôm nay đang lướt mấy website của mình, thấy mấy cái notification box
dễ thương nên viết bài này chia sẽ tới các bạn – những web designer
quan tâm đến các ô thông báo thành công, báo lỗi…trên website.


Do kinh nghiệm và quan sát nên mình thấy có 4 loại box chính thường xuất hiện trong các website.



1. Success box: Ô này thường hiện khi một chức năng, một xử lý nào đó đã xử lý thành công và thông báo kết quả thành công cho người dùng biết.

2. Error box: Khi xử lý có vấn đề, ô Error thường xuất hiện để báo hiệu cho người dùng biết.

3. Warning box: không nghiêm trọng như ô Error, ô warning thường chỉ những xử lý cần cung cấp thêm chi tiết để nhắc nhở người dùng.

4. Notification box: ô cung cấp các thông tin cho người dùng.









———


Các box có sử dụng bo tròn 4 góc bằng CSS, nên các trình duyệt không hỗ trợ round corner sẽ không thấy (Opera, IE).


Mình có 2 version cho các bạn:

- Phiên bản có sử dụng jQuery để tăng thêm tương tác cho nút đóng các box. Download | Demo

- Phiên bản không có nút đóng (không sử dụng jQuery) dành cho những ai chỉ muốn show các box thôi. Download | Demo




Enjoy Coding…



Nguồn: BlogHocTap

20 thg 8, 2011

Ứng dụng Fancybox xem các video trên Youtube









Thật ra Youtube cũng đã cung cấp các đoạn code để các bạn có thể chèn video từ Youtbe vào trang web dễ dàng. Tuy nhiên nếu bạn muốn chèn rất nhiều video trên cùng một trang hoặc bạn muốn thể hiện một cách xem video ấn tượng hơn cho trang web - đó là mỗi video có một hình ảnh minh họa, khi click vào sẽ play đoạn video mà khách truy cập vẫn không rời khỏi trang web của bạn ? Fancybox sẽ là một giải pháp giúp thực hiện điều này dễ dàng hơn bao giờ hết !









Cách thực hiện :





1. Sử dụng thư viện JS của Fancybox cho trang web, chèn đoạn code sau trong thẻ <head>...</head>




<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>

<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>

<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />






Lưu ý: file fancybox-1.3.4.js và fancybox-1.3.4.css được cung cấp trong file nén ở trên, các bạn tải về up lên host riêng để sử dụng nhé





2. Chèn đoạn code script sau vào đầu hoặc cuối trang để sử dụng Fancybox cho việc thể hiện video






jQuery(document).ready(function() {

    $(".video").click(function() {

        $.fancybox({

            'padding'        : 0,

            'autoScale'        : false,

            'transitionIn'    : 'none',

            'transitionOut'    : 'none',

            'title'            : this.title,

            'width'            : 640,

            'height'        : 385,

            'href'            : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),

            'type'            : 'swf',

            'swf'            : {

            'wmode'                : 'transparent',

            'allowfullscreen'    : 'true'

            }

        });

        return false;

    });

});









Các bạn có thể copy đoạn code này vào một file (vd video.js như trong demo) và chèn vào trang web cũng được







3. Bây giờ là đoạn code để thể hiện video






<a class="video"  title="Play Video" href="http://www.youtube.com/v/ZeStnz5c2GI?fs=1&amp;autoplay=1"><img src="images/1.jpg" alt="" /></a>






Với đoạn code này, bạn có thể sử dụng chèn nhiều video vào cùng một trang web mà không ảnh hưởng đến diện tích là tốc độ load trang web bằng cách thay link của video từ youtube trong mỗi đoạn code.





Lưu ý:


- Nếu các bạn muốn video tự Play sau khi mở thì chèn thêm đoạn autoplay=1 vào cuối link video nhé


- File images/1.jpg trong đoạn code là ảnh minh họa cho video (bạn có thể thay bằng tiêu đề video tùy thích)







Chúc các bạn thành công !





Bai viết tham khảo từ WebDesignAndSuch - Dịch bởi itdl.blogspot.com



19 thg 8, 2011

Hướng dẫn sử dụng jQuery Fancybox

Fancybox là plugin giúp thể hiện hình ảnh, hoặc video, nhạc theo style của hệ điều hành MAC.













Các chức năng chính:



  • Tự động thêm bóng vào item khi zoom

  • Chức năng nhóm một loạt item và tự thêm menu

  • Tùy biến qua file CSS

  • Hỗ trợ các kiểu chuyển động với plugin easing







Cách sử dụng


Trước tiên, bạn cần download jQuery và jQuery fancybox. Nếu bạn sử dụng plugin easing, thêm vào trong thẻ <head> như sau: (chú ý đặt thư mục jquery.fancybox cùng cấp với file html)

<!-- FancyBox CSS -->
<link rel="stylesheet" type="text/css" href="jquery.fancybox/jquery.fancybox.css" media="screen" />

<!-- Thư viện jQuery -->
<script type="text/javascript" src="js/jquery.min.js"></script>

<!-- Easing Plugin -->
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>

<!-- Fancybox plugin -->
<script type="text/javascript" src="js/jquery.fancybox-1.2.1.pack.js"></script>


Mã HTML như sau:



<p>
Sử dụng cho 1 ảnh <br />

<a title="Sample title" href="1_b.jpg"><img src="1_s.jpg" /></a>
</p>

<p>
Sử dụng cho một nhóm các ảnh <br />

<a rel="group" title="Group title #1" href="2_b.jpg"><img src="2_s.jpg" /></a>
<a rel="group" title="Group title #2" href="3_b.jpg"><img src="3_s.jpg" /></a>

<a rel="group" href="4_b.jpg"><img src="4_s.jpg" /></a>
</p>



Và gọi plugin fancybox



$(document).ready(function() {
$("a").fancybox();
});


Nguồn: nTuts

11 thg 6, 2011

Thư viện HTML, CSS và các công cụ Javascript hữu ích

Dưới đây là những đoạn code HTML, CSS và Javascript rất hữu ích cho các webmaster tham khảo và ứng dụng cho việc phát triển làm sinh động trang web của mình. Mình tìm được từ trang nước ngoài nên toàn tiếng Anh chưa có thời gian dịch nên post nguyên bài viết lên đây.




HTML and CSS Tools


HTML Email Boilerplate

This
website and its sample code creates a template of sorts, absent of
design or layout, that will help you avoid some of the major rendering
problems with the most common email clients out there. It also provides
some helpful examples and snippets that will keep your email design
rendering as true-to-form as possible.


Emailboiler in Useful HTML-, CSS- and JavaScript Tools and Libraries

Initializr

This tool creates a
customizable template based on HTML5 Boilerplate. Decide whether you
want sample content, choose between JavaScript and jQuery, and specify
your compatibility and server configuration needs. You’ll get a template
based on key features of Boilerplate to start your next project. You
might want to check out The HTML5 Framework Generator as well.


Useful-resources-227 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Layer Styles

A nice simple
tool for creating CSS in an intuitive way — very much like you would do
with a graphics editor. The tool lets you add drop shadow, inner shadow,
background, border and border radius and generates cross-browser CSS
code.


Layerstyles in Useful HTML-, CSS- and JavaScript Tools and Libraries

Mobile Boilerplate

A
template that creates rich and performant mobile Web apps. You can get
cross-browser consistency among A-grade smartphones, and fallback
support for legacy Blackberry, Symbian, and IE Mobile.


Useful-tools-124 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Kotatsu

A
simple HTML table generator that helps you create a table and throw in
row as well as column classes quickly and easily. And if you want a
quick tool to generate lists, you might want to take a look at li maker.



Useful-resources-188 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Vogue

This tool reloads
the style sheet (not the HTML) of a page in all browsers, and it can
even be configured to reload a page automatically in multiple browsers
at the same time. The tool doesn’t host your website but rather runs
your website’s own local server. To use it, you just need to install
NodeJS and npm.


Useful-tools-162 in Useful HTML-, CSS- and JavaScript Tools and Libraries

LiveReload

LiveReload
applies CSS/JS changes to Safari or Chrome without reloading the page
and reloads the page automatically once the HTML changes. Alternatively,
take a look at Live.js, a library that
makes sure that you’re always looking at the latest version of the page
you’re working on, whether you are writing HTML, CSS or JavaScript.


Useful-tools-141 in Useful HTML-, CSS- and JavaScript Tools and Libraries

css-x-fire

This
tool allows editing CSS properties in the IDE from Firebug CSS editor
and also allows the developer to concentrate on CSS styling without
having to refresh the browser.


Cssxfire in Useful HTML-, CSS- and JavaScript Tools and Libraries

Ffffallback

A bookmarklet
that lets you test different font stacks to find the best result. It
bascially scans the page’s CSS and creates a clone page where you can
test and analyze different fallback fonts.


Useful-resources-199 in Useful HTML-, CSS- and JavaScript Tools and Libraries

LESS.app for Mac OS X

LESS
extends CSS with variables, nested rules and operators. This app makes
it very simple to use {Less} by automatically compiling *.less files
into standard CSS.


Useful-tools-151 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Less-Boilerplate

Boilerplate CSS is written in Less and includes a CSS reset, CSS3 helpers, centered column blocks, and much more.


Useful-resources-138 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Needle v0.1a1

Needle
is a handy tool you can use to test whether your CSS renders correctly
by taking screenshots of portions of a website and comparing them with
other screenshots. It also provides tools for testing calculated CSS
values and the position of HTML elements.


Useful-res-101 in Useful HTML-, CSS- and JavaScript Tools and Libraries

inuit.css

A CSS framework that provides you with the best dev tips, tricks and practices in one handy file.


Useful-tools-111 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Spritemapper

This
application merges multiple images into one and generates CSS
positioning for the corresponding slices; by reducing the amount of
images and better utilizing the connection, CSS spritemapping can reduce
your website’s loading time.


Useful-resources-178 in Useful HTML-, CSS- and JavaScript Tools and Libraries

CSSsitemap System

David
Leggett shares with us the code for a CSS-based sitemap that Andrew
Maier and himself have created and are still working on. A set of tools
for project documentation & UX designers is also coming up soon.


Useful-resources-151 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Normalize.css

Normalize.css
takes a slightly different approach to CSS resets. Rather than
eliminating all browser defaults, Jonathan Neal and Nicolas Gallagher
have taken the time to research how different browsers handle different
bits of code and then kept the defaults that are useful. It saves you
time as a designer, while also providing consistent results.


Normalizecss in Useful HTML-, CSS- and JavaScript Tools and Libraries

Holmes

The
tool is a diagnostic CSS style sheet that highlights possibly invalid or
erroneous mark-up. Just add a single class, and it will create a red
border around errors, a yellow border around warnings and a gray border
around deprecated styles. In addition to the downloadable CSS style
sheet, there’s also a Holmes bookmarklet that lets you apply holmes.css to any page within your browser.


Useful-resources-195 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Zen Coding

Zen
Coding is an editor plugin for high-speed coding and editing. The core
of this plugin is a powerful abbreviation engine which allows you to
expand expressions (similar to CSS selectors) into HTML code.

CSS Stress Testing and Performance Profiling

Andy Edinborough shares the code he uses for his so-called ‘CSS Stress Test’ for almost all browsers.

CSS Crush

A CSS pre-processor that is familiar, convenient, intuitive, and much more — everything Pete Boere wants a pre-processor to be.


Useful-res-103 in Useful HTML-, CSS- and JavaScript Tools and Libraries

CSSPrefixer

CSSPrefixer
helps you improve your workflow and saves you a lot of time while
inserting all of the necessary CSS prefixes for various browsers.


Useful-resources-210 in Useful HTML-, CSS- and JavaScript Tools and Libraries

iOS Media Query Previewer

A very simple tool to preview how a particular website looks on an iPhone as well as iPad.


Useful-resources-150 in Useful HTML-, CSS- and JavaScript Tools and Libraries

CSS Pivot

Here you can add CSS styles to any website and share the result with a short, handy link.

PCSS

A PHP-driven CSS
preprocessor that helps you unleash the CSS3 power with much less code
and features like class nesting, server-side browser specifics, default
unit and variables. The tool requires PHP5.



JavaScript Tools


Modernizr 2

Modernizr is a
widely used open-source JavaScript library that helps you build HTML5
and CSS3-powered websites. With the second version of the tool, you can
now combine feature detection with media queries and conditional
resource loading. That gives you the power and flexibility to optimize
for every circumstance. Developed by Paul Irish, Faruk Ateş and Alex
Sexton.


Modernizr in Useful HTML-, CSS- and JavaScript Tools and Libraries

yepnope.js

A conditional loader for your polyfills that is very fast and allows you to load only the scripts that your users actually need.


Useful-res-117 in Useful HTML-, CSS- and JavaScript Tools and Libraries

FitText

FitText is a jQuery
plug-in for responsive and fluid layouts that resizes display text to
fit the parent element. A good solution for creating headlines that look
good on everything from a small mobile device to a 30-inch desktop
display.


Useful-resources-189 in Useful HTML-, CSS- and JavaScript Tools and Libraries

jQuery Waypoints

Waypoints is a small jQuery plugin that makes it easy to execute a function whenever you scroll to an element.


Useful-res-109 in Useful HTML-, CSS- and JavaScript Tools and Libraries

jQuery Plugin Boilerplate

This
boilerplate implements public and private methods, as well as public
and private properties, making it very easy when building both simple
and complex jQuery plugins.


Useful-res-110 in Useful HTML-, CSS- and JavaScript Tools and Libraries

ligature-js

This
Java script lets you convert text patterns into common typographic
ligatures by going through the text on a web page and inserting
ligatures where appropriate.


Useful-res-112 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Placeholder jQuery Plugin/Polyfill

This jQuery plugin provides support for the new placeholder="" HTML5 form attribute in browsers that don’t natively support it (IE et al).


Useful-res-105 in Useful HTML-, CSS- and JavaScript Tools and Libraries

StronglyTyped

A
JS library that allows you to specify strongly typed properties of
various types (Boolean, Number, String, etc.) and constants (final
properties in Java). It uses ES5 getters and setters and falls back to
regular, loosely typed properties in non-supporting browsers.


Useful-tools-129 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Kaffeine

A set of
extensions to the JavaScript syntax that attempts to make it nicer to
use. It compiles directly into JavaScript that is very similar, readable
and line for line equivalent to the input.


Useful-res-113 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Crossroads.js

A
JS routing library inspired by URL Route/Dispatch utilities which are
present on frameworks like Rails, Pyramid, Django, CakePHP, CodeIgniter,
etc. It parses a string input and decides which action should be
executed by matching the string against multiple patterns.


Useful-res-114 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Doctor JS

Doctor JS analyzes
your JavaScript code and provides you with a complete analysis in JSON,
whether you’re dealing with polymorphism, prototypes, exceptions or
callbacks. Tell Doctor JS about it:


Useful-res-118 in Useful HTML-, CSS- and JavaScript Tools and Libraries

HEAD.js

A script that speeds up,
simplifies and modernizes your site — a concise solution to universal
issues. You can load scripts like images as well as use HTML5 and CSS3
safely.

Hivelogic

Posting
your email address on a website is an easy way to get an inbox full of
spam. This anti-spam email address enkoder helps protect email addresses
by converting them into encrypted JavaScript code so only real people
using real browsers will see them. An alternative, more robust solution
is Mollom.


Useful-tool-screenshot-005 in Useful HTML-, CSS- and JavaScript Tools and Libraries

JavaScript Garden

A
JS project that offers advice on avoiding common mistakes and subtle
bugs, and lays down performance issues and bad practices that JavaScript
programmers might run into on their journey to the depths of the
language.


Useful-resources-206 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Syntaclet

By clicking on
the Syntaclet bookmarklet, you can automatically see all language
specific syntax colored with line numbers to all the code on the page.


Useful-resources-173 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Bookmarkleter

This
tool creates bookmarklets from JavaScript code. It removes new lines,
tabs, and optional spaces, URL-encodes special ASCII characters and
places code in a wrapper function (if not done already).


Useful-resources-144 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Bookmarklet Crunchinator

This
great tool helps you quickly create a bookmarklet from any JavaScript
code and will automatically be wrapped in a function to make it
bookmarklet-friendly.



Grids


The JavaScript Grid

A JavaScript-based grid overlay — just drag the snipplets into your bookmarks bar, open your URL and click the bookmark.


Useful-tools-164 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Grid Calculator

A calculator that helps you easily create your own grid and download it for either Adobe Illustrator or Photoshop.


Useful-tools-139 in Useful HTML-, CSS- and JavaScript Tools and Libraries

GridCalc

This
easy-to-use grid calculator lets you download a configuration as a CSS
file which you can use in your project by simply entering the desired
width of your page and an aproximate range for your column and gutter
width. The calculator then gives you all the possible combinations
within the limits you entered and provides you with a nice visual
representation of the results and how the grid can be used.


Useful-tools-169 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Modular Grid Pattern

This
tool enables you to create a grid template for Photoshop and other
image editing applications. Enter the baseline, the module’s width and
height, the gutter width, and the number of modules (columns), and it
gives you a custom pattern to import into Photoshop. A Photoshop
extension is also available, and you can download a PNG or transparency
map, too.


Useful-resources-193 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Susy

A Rails framework that
enables you to create a completely custom grid based on your mark-up
and designs. No more compromises because the grid framework you’re
working with isn’t quite what you need, and no more spending hours
tweaking things to get them just right so that the design works the way
you want.


Useful-resources-209 in Useful HTML-, CSS- and JavaScript Tools and Libraries

Griddle.it

A clean and simple way
to help you align your layouts. All you need to do is put your
dimensions after the URL provided to get a background guide image to
work with in your browser. Grids are created on the fly, so any
combination should work.


Useful-tools-167 in Useful HTML-, CSS- and JavaScript Tools and Libraries



Last Click


ASCII Pronunciation Rules for Programmers

Most
programmers would recognize ASCII characters on a website and know how
to use them in their own work. But how many know what to call
all those characters? This article gives a pretty thorough rundown of
common and not-so-common names for ASCII characters. It’s a useful guide
if you’re ever at a loss when listening to another programmer speak
about coding.


Asciicharacters in Useful HTML-, CSS- and JavaScript Tools and Libraries

Weave Silk

Is your desktop,
motivation or even design work in need of something fresh, swirly and
remarkable? Just weave some Silk! Yuri Vishnevsky created this
experimental, magical interactive gimmick. You can spend minutes playing
around with this little technique, based upon HTML5 Canvas: no Flash in
use.


Useful-resources-232 in Useful HTML-, CSS- and JavaScript Tools and Libraries

From Me To You

No, this has nothing
to do with CSS, HTML or JavaScript, but it is just remarkable. On his
photography blog, Jamir collects scenes from around the world, memorable
events, food, people and small personal universes. The interesting part
is that the photos are animated (hence the name); they come to life
using good old animated GIFs. Pay a visit to the article Positioning an animated gif over a jpg image. His short tutorial explains how to save on bytes when putting GIFs and JPEGs together, without losing too much quality.


Beautiful Woman in Useful HTML-, CSS- and JavaScript Tools and Libraries


(Nguồn : Smashing Magazine)