GoblinaS | Date: Tuesday, 2016-07-12, 1:08 PM | Message # 1 |
Group: S-Moderator
Messages: 380
|
Insert the lower part of the page template materials and comments to him :
Code <script type="text/javascript"> $('div.codeMessage, div.quoteMessage').click(function() { var e=this; if(window.getSelection){ var s=window.getSelection(); if(s.setBaseAndExtent){ s.setBaseAndExtent(e,0,e,e.innerText.length-1); }else{ var r=document.createRange(); r.selectNodeContents(e); s.removeAllRanges(); s.addRange(r);} }else if(document.getSelection){ var s=document.getSelection(); var r=document.createRange(); r.selectNodeContents(e); s.removeAllRanges(); s.addRange(r); }else if(document.selection){ var r=document.body.createTextRange(); r.moveToElementText(e); r.select();} }); </script>
|
|
|
|