mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@516 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
90e51e141e
commit
38ac9fe8e9
6 changed files with 0 additions and 34 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 595 B |
Binary file not shown.
|
Before Width: | Height: | Size: 43 B |
|
|
@ -1,12 +0,0 @@
|
|||
img.color_icon {
|
||||
width:15px;
|
||||
height:15px;
|
||||
border:1px solid #FFFFFF;
|
||||
}
|
||||
|
||||
img.color_icon_over {
|
||||
width:15px;
|
||||
height:15px;
|
||||
border:1px solid #000000;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<!--%import("popup.js")-->
|
||||
<!--%import("popup.css")-->
|
||||
<script type='text/javascript'>
|
||||
var blank_img_src = "{$tpl_path}/blank.gif";
|
||||
printColor();
|
||||
</script>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
var color_list = new Array('000000','993300','333300','003300','003366','000080','333399','333333','800000','FF6600','808000','008000','008080','0000FF','666699','808080','FF0000','FF9900','99CC00','339966','33CCCC','3366FF','800080','969696','FF00FF','FFCC00','FFFF00','00FF00','00FFFF','00CCFF','993366','c0c0c0','FF99CC','FFCC99','FFFF99','CCFFCC','CCFFFF','99CCFF','CC99FF','FFFFFF');
|
||||
|
||||
function setColor(color) {
|
||||
opener.editorFocus(opener.editorPrevSrl);
|
||||
opener.editorSetBackColor("#"+color);
|
||||
opener.editorFocus(opener.editorPrevSrl);
|
||||
self.close();
|
||||
}
|
||||
|
||||
function printColor() {
|
||||
var html = "";
|
||||
for(var i=0;i<color_list.length;i++) {
|
||||
html += "<div style=\"float:left;background-color:#"+color_list[i]+"\"><img src=\""+blank_img_src+"\" class=\"color_icon\" onmouseover=\"this.className='color_icon_over'\" onmouseout=\"this.className='color_icon'\" onclick=\"setColor('"+color_list[i]+"')\" alt=\"color\" \/><\/div>";
|
||||
}
|
||||
document.write(html);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue