|
10 | 10 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/github.min.css"/> |
11 | 11 | <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> |
12 | 12 | <link rel="stylesheet" href="styles/3bd4589c.vendor.css"> |
13 | | - <link rel="stylesheet" href="styles/e7cbb7fe.main.css"> |
| 13 | + <link rel="stylesheet" href="styles/1bf1dad8.main.css"> |
14 | 14 | </head> |
15 | 15 | <body> |
16 | 16 | <!--[if lt IE 10]> |
|
39 | 39 |
|
40 | 40 |
|
41 | 41 | <div class="content"> |
| 42 | + <div class="card about"> |
| 43 | + <h5 class="title">emoticons-js</h5> |
| 44 | + <div style="display: table;margin: 10px auto;"> |
| 45 | + <iframe src="https://ghbtns.com/github-btn.html?user=ritz078&repo=emoticons-js&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> |
| 46 | + <iframe src="https://ghbtns.com/github-btn.html?user=ritz078&type=follow&count=true&size=large" frameborder="0" scrolling="0" width="220px" height="30px"></iframe> |
| 47 | + |
| 48 | + </div> |
| 49 | + <p>A jQuery plugin for converting text emojis into image-based emoticons, also supporting an automatic media embedding system for multimedia URLs</p> |
| 50 | + <p>A demo is included with the download package.</p> |
| 51 | + <p>An <a href="http://rkritesh.in/ngEmoticons">AngularJS version</a> of Emoticons-js is also available.</p> |
| 52 | + |
| 53 | + <p>Some <a href="#a" class="demo"><b>Demo examples</b></a> with their source code are given below.</p> |
| 54 | + |
| 55 | + </div> |
| 56 | + |
| 57 | + <div class="card"> |
| 58 | + <h5 class="title">Features</h5> |
| 59 | + <ol> |
| 60 | + <li><p>Emoticons-js has apparently evolved from a simple text emoticon to image emoji conversion system into a fully-blown text beautification toolkit.</p></li> |
| 61 | + <li> <p>Besides taking emoticons expressed using a text form and converting them to icon font-based or image-based emojis, this plugin can also do some other stuff too.</p></li> |
| 62 | + <li><p>This includes parsing the text for links pointing to multimedia assets, and automatically embedding those assets inside the text.</p></li> |
| 63 | + <li> <p>YouTube & Vimeo videos, PDF files, images, audio, and video files can all be retrieved and embedded inside the text, allowing users to view their content without having to navigate away to another browser page.</p></li> |
| 64 | + <li><p> <b>Emoticons-js can also highlight source code embedded on the page as well, but this requires you to load Highlight.js.</b></p></li> |
| 65 | + </ol> |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + </div> |
| 73 | + <div class="card"> |
| 74 | + <h5 class="title">Documentation</h5> |
| 75 | + <pre><code> |
| 76 | + $('#element').emoticons({ |
| 77 | + //Instructs the library whether or not to embed urls |
| 78 | + link : true, |
| 79 | + //same as the target attribute in html anchor tag . supports all html supported target values. |
| 80 | + linkTarget : '_blank', |
| 81 | + //Array of extensions to be excluded from converting into links |
| 82 | + linkExclude : ['jpg','pdf'], |
| 83 | + //set true to show a preview of pdf links |
| 84 | + pdfEmbed : true, |
| 85 | + //set true to embed images |
| 86 | + imageEmbed : true, |
| 87 | + //set true to embed audio |
| 88 | + audioEmbed : false, |
| 89 | + //set true to show a preview of youtube/vimeo videos with details |
| 90 | + videoEmbed : true, |
| 91 | + //set true to show basic video files like mp4 etc. (supported by html5 player) |
| 92 | + basicVideoEmbed : true, |
| 93 | + //width of the video frame (in pixels) |
| 94 | + videoWidth : 640, |
| 95 | + //height of the video frame (in pixels) |
| 96 | + videoHeight : 390, |
| 97 | + //( Mandatory ) The authorization key obtained from google's developer console for using youtube data api |
| 98 | + ytAuthKey : 'xxxxxxx', |
| 99 | + //Instructs the library whether or not to highlight code syntax. |
| 100 | + highlightCode : true, |
| 101 | + //callback before pdf preview |
| 102 | + beforePdfPreview : function(){}, |
| 103 | + //callback after pdf preview |
| 104 | + afterPdfPreview : function(){}, |
| 105 | + // callback on video frame view |
| 106 | + onVideoShow:function(){}, |
| 107 | + //callback on video load (youtube/vimeo) |
| 108 | + onVideoLoad:function(){} |
| 109 | + |
| 110 | + }); |
| 111 | + </code></pre> |
| 112 | + </div> |
42 | 113 | <div class="card" id="a"> |
| 114 | + <h5 class="title">Examples</h5> |
43 | 115 | <div class="title">Simple Usage</div> |
44 | 116 | <div class="row"> |
45 | 117 | <div class="col s12"> |
|
252 | 324 | ga('create','UA-60624235-2');ga('send','pageview'); |
253 | 325 | </script> |
254 | 326 |
|
255 | | - <script src="scripts/e5cd0908.main.js"></script> |
| 327 | + <script src="scripts/b31d3611.main.js"></script> |
256 | 328 |
|
257 | 329 | <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> |
258 | 330 | </body> |
|
0 commit comments