Code

Scalable Vector Graphics

posted on 28 Nov 2007 13:52 by ifevernet  in Code

From Wikipedia, the free encyclopedia

(Redirected from Scalable vector graphics)
Jump to: navigation, search
Scalable Vector Graphics
File extension: .svg, .svgz
MIME type: image/svg+xml[1]
Developed by: World Wide Web Consortium
Type of format: vector image format
Extended from: XML

Scalable Vector Graphics (SVG) is an XML specification and file format for describing two-dimensional vector graphics, both static and animated. SVG can be purely declarative or may include scripting. Images can contain hyperlinks using outbound simple XLinks.[2] It is an open standard created by the World Wide Web Consortium's SVG Working Group.

เรื่องของ charset

posted on 27 Nov 2007 11:38 by ifevernet  in Code

charset เป็นตัวกำหนดภาษาของ code ของเรา ในการกำหนดแต่ละ ภาษาโปรแกรมเป็นดังนี้

Perl. Output the correct header before any part of the actual page. After the last header, use a double linebreak, e.g.:
print "Content-Type: text/html; charset=utf-8\n\n";

Python. Use the same solution as for Perl (except that you don't need a semicolon at the end).

PHP. Use the header() function before generating any content, e.g.:
header('Content-type: text/html; charset=utf-8');

Java Servlets. Use the setContentType method on the ServletResponse before obtaining any object (Stream or Writer) used for output, e.g.:
resource.setContentType ("text/html;charset=utf-8");
If you use a Writer, the Servlet automatically takes care of the conversion from Java Strings to the encoding selected.

JSP. Use the page directive e.g.:
<%@ page contentType="text/html; charset=UTF-8" %>
Output from out.println() or the expression elements (<%= object%>) is automatically converted to the encoding selected. Also, the page itself is interpreted as being in this encoding.

ASP and ASP.Net. content type and charset are set independently, and are methods on the response object. To set the charset, use e.g.:
<%Response.charset="utf-8"%>

 ที่มา :  http://www.w3.org/International/O-HTTP-charset

How to chage scrollbar in Browser

posted on 22 Nov 2007 11:58 by ifevernet  in Code

เอา code นี้ไปโมเลยคับ 

 

body {
    background-color: black;
    scrollbar-face-color: #1b1b1b;
    scrollbar-highlight-color: #3B3B3B;
    scrollbar-shadow-color: #666666;
    scrollbar-3dlight-color: #666666;
    scrollbar-arrow-color:  #ffffff;
    scrollbar-track-color: #4b4b4b;
    scrollbar-darkshadow-color: #666666;
}

How I pop Window Up in Flash

posted on 13 Nov 2007 16:46 by ifevernet  in Code
 
on (release) {
getURL ("javascript:NewWindow=window.open('ShowPopup.php','newWin','width=400,height=300,left=0,top=0,
toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();
void(0);");
}
 
Thanks : http://www.flash-db.com/PopUp/JavaScriptPopUp.php?page=2 

edit @ 22 Nov 2007 11:58:18 by ifevernet.com