Copyright(C) 2005 Cafen.net All right reserved. Contact HP (010-9761-4025) / email(outmind@nate.com)
Commercial Use keep this Logo in Your site with Link
C
hart (OFC2JS)
E
ditor
M
ap
S
taticMap
C
olorPicker
D
atePicker
S
yntaxHighlighter
T
agReplace
Default Editor
Simple Editor
sampleCode
<textarea id=editorObj name=contents style='width:800px;height:400px' ></textarea>
Reference
http://service2.cafen.net/example/editor.html
Default Map
Simple Map
sampleCode
<div id=mapObj style='width:800px;height:400px' apitype='GMap' ></div>
Reference
http://service2.cafen.net/example/map.html
Static Map - image
Static Map - Input
getMap
sampleCode
<img id=mapObj src='~~~' style='width:800px;height:400px' />
Select Color
Select Color
sampleCode
<input class=colorObj value='#ff0000' /> <div class=colorObj style='background-color:#ff0000' ></div> <div id=colorlinkObj style='background-color:#ff0000' ></div> <button class=colorObj linkObj=colorlinkObj >getColor</button>
Select Date
2002/12/31
2001/01/12
Select Date
sampleCode
<input class=dateObj value='2001/12/12' /> <div class=dateObj >2001/12/12</div> <div id=datelinkObj >2001/12/12</div> <button class=dateObj linkObj=datelinkObj >getDate</button>
Javascript
var // Will speed up references to window, and allows munging its name. window = this, // Will speed up references to undefined, and allows munging its name. undefined, // Map over jQuery in case of overwrite _jQuery = window.jQuery, // Map over the $ in case of overwrite _$ = window.$, jQuery = window.jQuery = window.$ = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context ); }, // A simple way to check for HTML strings or ID strings // (both of which we optimize for) quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/, // Is it a simple selector isSimple = /^.[^:#\[\.,]*$/;
PHP
function getRandNo($min =0 , $max = 23) { return rand($min, $max); } function getRandNos($cnt, $min = 0 , $max = 23) { $tmp = Array(); $lastVal = getRandNo($min +5, $max - 5); for($i = 0; $i < $cnt; $i++) { $lastVal = getRandNo(max($min, $lastVal - 5), min($max, $lastVal + 5)); $tmp[] = $lastVal; } return $tmp; }
Java
public interface CategoryDAO { /** * Loads the categories. * * @param blog the owning blog * @return a Collection of Category instances * @throws PersistenceException if categories cannot be loaded */ public Category getCategories(Blog blog) throws PersistenceException; /** * Adds the specified category. * * @param category the Category instance to be added * @param blog the owning blog * @throws PersistenceException if something goes wrong storing the category */ public void addCategory(Category category, Blog blog) throws PersistenceException; }
Xml
http://blog.naver.com/anabaral
http://blog.naver.com/anabaral
ko
Naver Blog
Wed, 05 Aug 2009 14:29:00 +0900
sampleCode
<textarea id=syntaxObj language='js' > function aaaa() { ~~~~ } </textarea>
Button
Reset
Large
White
Large
R
ound
Input
Normal :
resize Width :
resize Height :
Textarea
Normal :
resize Width :
resize Height :
resize Both side :
sampleCode
some Text
Area & Line Chart
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Star
6
8
8
11
16
12
16
11
7
11
7
10
Bow
13
11
16
19
22
18
15
15
15
13
10
11
Bar Chart
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Visitor
8
6
1
1
0
0
3
0
4
8
7
11
Hits
14
15
14
12
7
6
4
0
2
1
2
5
Radar Chart
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Visitor
18
13
10
12
15
15
17
22
18
14
11
6
Hits
6
9
11
8
11
8
11
9
4
4
4
2
Others
6
8
11
11
10
10
11
13
10
8
5
9
Pie Chart
Visitor
6,January,#ff00ff
8,February,#f4cccc
20,March,#fce5cd
10,April,#fff2cc
9,May,#d9ead3
4,June,#d0e0e3
16,July,#cfe2f3
4,August,#d9d2e9
19,September,#ead1dc
0,October,#ea9999
0,November,#f9cb9c
4,December,#ffe599
sampleCode
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Star
6
8
8
11
16
12
16
11
7
11
7
10
Reference
http://service2.cafen.net/example/chart2.html