mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@490 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
52160a2d33
commit
134bb960e1
6 changed files with 0 additions and 0 deletions
|
|
@ -1,38 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>add Emoticon</title>
|
||||
<link rel='stylesheet' href='../css/editor.css' type='text/css' />
|
||||
<script type='text/javascript' src='../../common/js/x.js'></script>
|
||||
<script type='text/javascript' src='../../common/js/common.js'></script>
|
||||
<script type='text/javascript' src='../js/editor.js'></script>
|
||||
<script type='text/javascript'>
|
||||
function editorPrintEmoticon() {
|
||||
var html = '';
|
||||
for(var i=1;i<=40;i++) {
|
||||
var str = i;
|
||||
if(i<10) str = '0'+i;
|
||||
html += "<img src=\"./emoticon/msn0"+str+".gif\" onFocus=\"this.blur()\" style=\"margin:2px;width:19px;height:19px;cursor:pointer;border:1px solid;border-color:#CCCCCC;\" onMouseOver=\"this.style.borderColor='#ffffff'\" onMouseOut=\"this.style.borderColor='#CCCCCC'\" onClick=\"insertImage(this)\" />";
|
||||
if(i%8==0) html += "<br />";
|
||||
}
|
||||
document.write(html);
|
||||
}
|
||||
|
||||
function insertImage(obj) {
|
||||
if(typeof(opener)=='undefined') return;
|
||||
|
||||
opener.editorInsertEmoticon(obj);
|
||||
opener.editorFocus(opener.editorPrevSrl);
|
||||
self.close();
|
||||
}
|
||||
xAddEventListener(window, 'load', setFixedPopupSize);
|
||||
</script>
|
||||
</head>
|
||||
<body class="editor_pop_body">
|
||||
<script type="text/javascript">
|
||||
editorPrintEmoticon();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue