- SyntaxHighlighter 셋팅 테스트 포스팅
- 분류없음
- 2009/04/27 16:22
| Brush name | Brush aliases | File name |
|---|---|---|
| Bash/shell | bash, shell | shBrushBash.js |
| C# | c-sharp, csharp | shBrushCSharp.js |
| C++ | cpp, c | shBrushCpp.js |
| CSS | css | shBrushCss.js |
| Delphi | delphi, pas, pascal | shBrushDelphi.js |
| Diff | diff, patch | shBrushDiff.js |
| Groovy | groovy | shBrushGroovy.js |
| JavaScript | js, jscript, javascript | shBrushJScript.js |
| Java | java | shBrushJava.js |
| PHP | php | shBrushPhp.js |
| Plain Text | plain, text | shBrushPlain.js |
| Python | py, python | shBrushPython.js |
| Ruby | rails, ror, ruby | shBrushRuby.js |
| SQL | sql | shBrushSql.js |
| Visual Basic | vb, vbnet | shBrushVb.js |
| XML | xml, xhtml, xslt, html, xhtml | shBrushXml.js |
- [HTML] 가장 기본적인 테이블 디자인 css
- [Program]/[Web]
- 2009/04/24 18:26
<STYLE>
td {font-family: "굴림"; font-size: 11px; font-weight:normal; color: #000000; height:30px;}
</STYLE>
<TABLE cellSpacing=1 cellPadding=1 width=800 bgColor=#cccccc border=0 topmargin="0" leftmargin="0">
<TR>
<TD align=middle bgColor=#e0e0e0>11111111</TD>
<TD align=middle bgColor=#eeeeee>11111111</TD>
<TD align=middle bgColor=#ffffff>11111111</TD>
</TR>
<TR>
<TD align=middle bgColor=#e0e0e0>22222222</TD>
<TD align=middle bgColor=#e0e0e0>22222222</TD>
<TD align=middle bgColor=#e0e0e0>22222222</TD>
</TR>
</TABLE>
<br />
<br />간단하게 사용하세요
- [HTML] 맨날 보면서 까먹는 HTML 폼 간단정리
- 분류없음
- 2009/04/24 16:20
- [FLEX] 크로스도메인 - crossdomain.xml - XML을 가져올때
- [Program]/[Flex]
- 2009/04/23 13:14
www.rrrrr.com 에서 xml을 생성하고 플렉스에서 그 xml파일을 HTTPService 클래스를 사용하여 가져오고 싶을때.
어떻게?
www.rrrrr.com/crossdomain.xml 파일이 존재해야하며 그내용은 아래와 같이 사용하면 된다.
왜?
보안정책으로 인해 플렉스에선 xml파일을 제공하는 사이트의 도메인 루트 폴더의 crossdomain.xml파일을 검사하여 승인을 받았을 경우에만 가져온답니다.
filename : crossdomain.xml
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-access-from domain="*" />
</cross-domain-policy>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
DOCTYPE정의가 있을경우엔 document.documentElement.scrollTop 를 사용하세요
document 다음 body대신 documentElement를 사용하세요~
웹표준에 위배되는 프로퍼티 인듯 합니다.
document.body.scrollTop --> document.documentElement.scrollTop
- 익스플로러 7.0 강제종료시 Javascript 코드
- [Program]/[Web]
- 2008/09/22 11:46
- Bobby Dukoff
- 분류없음
- 2008/07/10 11:37
- Yanagisawa 991
- [Saxophone]
- 2008/07/10 11:35
- [ASP] DB 관련코드
- [Program]/[Web]
- 2008/06/30 18:01
- 열기, 닫기, 레코드셋
sql_db = "DB Name"
sql_id = "ID"
sql_pw = "Password"
sql_ip = "IP Address"
strConn = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=" & sql_id & ";Initial Catalog=" & sql_db & ";Data Source=" & sql_ip & ";Password=" & sql_pw
Set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.Open strConn
dbConn.close
set dbConn = nothing
Set pRecordSet = Server.CreateObject("ADODB.Recordset")
pRecordSet.close
Set pRecordSet = nothing
' 선택
strSQL = "select"
strSQL = strSQL & " fieldname1"
strSQL = strSQL & ",fieldname2"
strSQL = strSQL & " from 테이블명"
pRecordSet = db.execute(strSql)
do while not (pRecordSet.EOF or pRecordSet.BOF)
name1 = pRecordset("fieldname1")
pRecordSet.MoveNext
loop
' 생성
with pRecordSet
.AddNew
.Fields("fieldname") = variable
.Fields("fieldname") = variable
.Update
.Close
end with
' 수정
strSQL = "update tablename"
strSQL = strSQL & " set fieldname1 = '" & variable & "'"
strSQL = strSQL & ", fieldname2 = " & variable
strSQL = strSQL & " where fieldname3 = " & variable
db.execute(strSQL)
' 삭제
strSQL = "delete from tablename where fieldname = " & variable
db.execute(strSQL)
- first note
- 분류없음
- 2008/06/09 14:39


이올린에 북마크하기



Recent comment