'2012/09'에 해당되는 글 3건

  1. 2012.09.27 javascript oop
  2. 2012.09.25 <table> 을 <ul> <li> tag로 바꾸기
  3. 2012.09.12 Very Important
posted by Remember Me, 2012.09.27 11:28


 function Book(title, chapter1, chapter2) {

this.title = title;

this.chapter1 = chapter1;

this.chapter2 = chapter2;

}

Book.prototype.toString = function() {

var message = "Outline : " + this.title + "\n" +

  "Chapter 1: " + book.chapter1.title + "\n" +

  "Chapter 2: " + book.chapter2.title + "\n";

return message;

}

function Chapter(title, page) {

this.title = title;

this.page = page;

}


var book = new Book("code craft", new Chapter("1","100"), new Chapter("2","200"));


alert(book.toString());




신고
posted by Remember Me, 2012.09.25 16:06

CSS






<style type="text/css">

.table_style {

width: 300px;

}

.table_style ul {

clear: left;

margin: 0;

padding: 0;

list-style-type: none;

}

.table_style .header {

font-weight: bold;

text-align: center;

}

.table_style ul li {

text-align: center;

float: left;

margin: 0;

padding: 2px, 1px;

}

.table_style ul .colum1 {

width: 60px;

}

.table_style ul .colum2 {

width: 160px;

}

.table_style ul .colum3 {

width: 70px;

}

</style>





HTML





<div class="table_style">

<ul class="header">

<li class="colum1">Title A</li>

<li class="colum2">Title B</li>

<li class="colum3">Title C</li>

</ul>

<ul>

<li class="colum1">a</li>

<li class="colum2">b</li>

<li class="colum3">c</li>

</ul>

<ul>

<li class="colum1">a</li>

<li class="colum2">b</li>

<li class="colum3">c</li>

</ul>

<ul>

<li class="colum1">a</li>

<li class="colum2">b</li>

<li class="colum3">c</li>

</ul>

</div> 




신고
posted by Remember Me, 2012.09.12 16:32

SOLID

http://vandbt.tistory.com/11

http://blueskai.tistory.com/42


SRP vs ISP

http://kldp.org/node/133896


Memcached

http://blog.naver.com/PostView.nhn?blogId=rookieangel&logNo=140122118975


ORM

http://funnygangstar.tistory.com/entry/Why-ORM


DIV 

http://hojin.tistory.com/146

신고

티스토리 툴바