added smiles

added smiles
This commit is contained in:
Hedgehog 2014-03-13 19:36:34 +04:00
parent 8b5f55182f
commit 0bd67f58c8
19 changed files with 96 additions and 17 deletions

View File

@ -5,7 +5,7 @@
<title>twister</title>
<link rel="stylesheet" href="css/style.css" type="text/css"/>
<link rel="stylesheet" href="css/profile.css" type="text/css"/>
<link rel="stylesheet" href="jquery-emotions/jquery.emotions.fb.css" type="text/css"/>
<link rel="stylesheet" href="jquery-emotions/jquery.emotions.calm.css" type="text/css"/>
<script src="js/jquery.min.js"></script>
<script src="js/jQueryPlugins.js"></script>
<script src="js/jquery.json-2.4.js"></script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,67 @@
.emotions {
width: 22px;
height: 22px;
background: url("emotions/blank.png") no-repeat center center;
display: inline-block;
vertical-align: top;
}
.emo-angel {
background: url("emotions/calm/angel.png");
}
.emo-confused {
background: url("emotions/calm/confused.png");
}
.emo-devil {
background: url("emotions/calm/devil.png");
}
.emo-grin {
background: url("emotions/calm/grin.png");
}
.emo-heart {
background: url("emotions/calm/heart.png");
}
.emo-kiss {
background: url("emotions/calm/kiss.png");
}
.emo-smile {
background: url("emotions/calm/smile.png");
}
.emo-sunglasses {
background: url("emotions/calm/sunglasses.png");
}
.emo-unsure {
background: url("emotions/calm/unsure.png");
}
.emo-wink {
background: url("emotions/calm/wink.png");
}
.emo-cry {
background: url("emotions/calm/cry.png");
}
.emo-glasses {
background: url("emotions/calm/glasses.png");
}
.emo-grumpy {
background: url("emotions/calm/grumpy.png");
}
.emo-tongue {
background: url("emotions/calm/tongue.png");
}
.emo-frown {
background: url("emotions/calm/frown.png");
}

View File

@ -7,65 +7,65 @@
}
.emo-angel {
background: url("emotions/fb/angel.gif");
background: url("emotions/calm/angel.gif");
width: 16px;
height: 15px;
}
.emo-confused {
background: url("emotions/fb/confused.gif");
background: url("emotions/calm/confused.gif");
}
.emo-devil {
background: url("emotions/fb/devil.gif");
background: url("emotions/calm/devil.gif");
height: 15px;
}
.emo-grin {
background: url("emotions/fb/grin.gif");
background: url("emotions/calm/grin.gif");
}
.emo-heart {
background: url("emotions/fb/heart.gif");
background: url("emotions/calm/heart.gif");
width: 15px;
}
.emo-kiss {
background: url("emotions/fb/kiss.gif");
background: url("emotions/calm/kiss.gif");
}
.emo-smile {
background: url("emotions/fb/smile.gif");
background: url("emotions/calm/smile.gif");
}
.emo-sunglasses {
background: url("emotions/fb/sunglasses.gif");
background: url("emotions/calm/sunglasses.gif");
}
.emo-unsure {
background: url("emotions/fb/unsure.gif");
background: url("emotions/calm/unsure.gif");
}
.emo-wink {
background: url("emotions/fb/wink.gif");
background: url("emotions/calm/wink.gif");
}
.emo-cry {
background: url("emotions/fb/cry.gif");
background: url("emotions/calm/cry.gif");
}
.emo-glasses {
background: url("emotions/fb/glasses.gif");
background: url("emotions/calm/glasses.gif");
}
.emo-grumpy {
background: url("emotions/fb/grumpy.gif");
background: url("emotions/calm/grumpy.gif");
}
.emo-tongue {
background: url("emotions/fb/tongue.gif");
background: url("emotions/calm/tongue.gif");
}
.emo-frown {
background: url("emotions/fb/frown.gif");
background: url("emotions/calm/frown.gif");
}

View File

@ -26,7 +26,13 @@
replacement: '<span class="emotions emo-{eId}"></span>',
map: {
"o:)": "angel",
"0:)": "angel",
"O:)": "angel",
"o:-)": "angel",
"O:-)": "angel",
"0:-)": "angel",
"o.O": "confused",
"o_O": "confused",
"3:)": "devil",
"<3": "heart",
":*": "kiss",
@ -34,15 +40,21 @@
":]": "smile",
"8|": "sunglasses",
":/": "unsure",
":\\": "unsure",
";)": "wink",
";-)": "wink",
":'(": "cry",
">:(": "grumpy",
":(": "frown",
"=(": "frown",
":-(": "frown",
"8)": "glasses",
":p": "tongue",
":P": "tongue",
":)": "smile",
"=)": "smile",
":D": "grin"
":D": "grin",
":-D": "grin"
}
},
shortcode: function(eId){