Bài đăng

Đang hiển thị bài đăng từ tháng 5 10, 2009

How to control the number of posts in label pages

Blogger defaults to 20 posts per page in label pages Here's what you need to do to increase the number of posts. Download your template, save a backup copy and use your editor to replace all occurances of data:label.url with data:label.url + "?max-results=100" Update: If you are using label clouds and you want to set max-results, replace this line in Phydeaux3's code a.href = lcBlogURL+'/search/label/'+encodeURIComponent(t); with this. a.href = lcBlogURL+'/search/label/'+encodeURIComponent(t) +'?max-results=100';

Example For Using the XML DOM

Here’s an example that creates a link to google: 1. var node = createElements({ 2. tag: "a", 3. attributes: { 4. href: "http://www.google.com" 5. }, 6. style { 7. textDecoration: "none" 8. }, 9. children: [ "Click Here!" ] 10. }); 11. document.body.appendChild(node); And here’s a more complex example that really shows off the nesting power of this javascript function: 1. var node = createElements({ 2. tag: "div", 3. attributes: { 4. id: "google_link" 5. }, 6. children: [ 7. { 8. tag: "a", 9. attributes: { 10. href: "http://www.google.com" 11. }, 12. style: { 13. textDecoration: "none", 14. fontWeight: "bold" 15. }, 16. children: [ 17. { 18. tag: "img", 19. attri...

Một bài học bổ ích

Câu truyện về ngọn núi

My Google AJAX Feed API

My key is: ABQIAAAAV VQRhxn1aJr HGKigJvWo0h SwYtcUS2i 219R1OJeLt erUR0B0DBQ3 YoHVAqQT1 zXg4wSxe8H g1upDBw Sign up here: http://code.google.com/apis/ajaxfeeds/signup.html

Detect Between IE and Firefox

http://www.idratherbewriting.com/2007/07/17/matching-browser-display-between-ie-and-firefox/

CSS basic box model

Hình ảnh
http://www.w3.org/TR/css3-box/