Browse Source

added smiles

added smiles
master
Hedgehog 11 years ago
parent
commit
0bd67f58c8
  1. 2
      home.html
  2. BIN
      jquery-emotions/emotions/calm/angel.png
  3. BIN
      jquery-emotions/emotions/calm/confused.png
  4. BIN
      jquery-emotions/emotions/calm/cry.png
  5. BIN
      jquery-emotions/emotions/calm/devil.png
  6. BIN
      jquery-emotions/emotions/calm/frown.png
  7. BIN
      jquery-emotions/emotions/calm/glasses.png
  8. BIN
      jquery-emotions/emotions/calm/grin.png
  9. BIN
      jquery-emotions/emotions/calm/grumpy.png
  10. BIN
      jquery-emotions/emotions/calm/heart.png
  11. BIN
      jquery-emotions/emotions/calm/kiss.png
  12. BIN
      jquery-emotions/emotions/calm/smile.png
  13. BIN
      jquery-emotions/emotions/calm/sunglasses.png
  14. BIN
      jquery-emotions/emotions/calm/tongue.png
  15. BIN
      jquery-emotions/emotions/calm/unsure.png
  16. BIN
      jquery-emotions/emotions/calm/wink.png
  17. 67
      jquery-emotions/jquery.emotions.calm.css
  18. 30
      jquery-emotions/jquery.emotions.fb.css
  19. 14
      jquery-emotions/jquery.emotions.js

2
home.html

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

BIN
jquery-emotions/emotions/calm/angel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
jquery-emotions/emotions/calm/confused.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/cry.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
jquery-emotions/emotions/calm/devil.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/frown.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/glasses.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
jquery-emotions/emotions/calm/grin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/grumpy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/heart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

BIN
jquery-emotions/emotions/calm/kiss.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
jquery-emotions/emotions/calm/smile.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/sunglasses.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/tongue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
jquery-emotions/emotions/calm/unsure.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
jquery-emotions/emotions/calm/wink.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

67
jquery-emotions/jquery.emotions.calm.css

@ -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");
}

30
jquery-emotions/jquery.emotions.fb.css

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

14
jquery-emotions/jquery.emotions.js

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

Loading…
Cancel
Save