Thứ Tư, 3 tháng 10, 2018

Hello xin chào các bạn, chào mừng các bạn đến với trang Bảy Sắc IT. Hôm nay Bảy Sắc sẽ share với các bạn code viết chữ ngược do mình đi dạo loanh quanh một số website thì thấy có tool viết chữ ngược nên sẵn tiện tụm về share luôn. Hiện tại trên google cũng có nhiều người share nhưng phải cèn css, javascript còn code này các bạn chèn thẳng vô luôn nhé.

<!--Can't find substitution for tag [defaultAdStart]-->

<br />
<article class="post hentry" itemscope="itemscope" itemtype="https://schema.org/BlogPosting">
<div class="post-body entry-content" id="post-body-7552746189040051443" itemprop="articleBody">
<div class="block-image">
<a class="thumb" href="http://baysacit.blogspot.com/">
</a>
</div>
<div class="posts-home">
<div class="post-header-line-1">
</div>
<div itemprop="description articleBody">
<style type="text/css"> 
textarea { font-family: "Arial Unicode MS", Batang }
</style> 
<script src="him.js" type="text/javascript"></script> 
<script language="JavaScript"> 
function flip() {
 var result = flipString(document.f.original.value.toLowerCase());
 document.f.flipped.value = result;
}

function flipString(aString) {
 var last = aString.length - 1;
 var result = new Array(aString.length)
 for (var i = last; i >= 0; --i) {
  var c = aString.charAt(i)
  var r = flipTable[c]
  result[last - i] = r != undefined ? r : c
 }
 return result.join('')
}
var flipTable = {
a : '\u0250',
b : 'q',
c : '\u0254', //open o -- from pne
d : 'p',
e : '\u01DD',
f : '\u025F', //from pne
g : '\u0183',
h : '\u0265',
i : '\u0131', //from pne
j : '\u027E',
k : '\u029E',
//l : '\u0283',
m : '\u026F',
n : 'u',
r : '\u0279',
t : '\u0287',
v : '\u028C',
w : '\u028D',
y : '\u028E',
'.' : '\u02D9',
'[' : ']',
'(' : ')',
'{' : '}',
'?' : '\u00BF', //from pne
'!' : '\u00A1',
"\'" : ',',
'<' : '>',
'_' : '\u203E',
';' : '\u061B',
'\u203F' : '\u2040',
'\u2045' : '\u2046',
'\u2234' : '\u2235',
'\r' : '\n' //Duyet lai- TeenCp.Net
}

for (i in flipTable) {
  flipTable[flipTable[i]] = i
}

</script> 
<body background="bg.gif" style="background-color: white; color: #e01416;"> 
<center>
<h2>
Viết Chữ Ngược Trực Tuyến </h2>
<form name="f">
<table style="width: 500px;"><tbody>
<tr>         <td>Từ gốc:</td>          <td><textarea cols="55" name="original" onkeyup="flip()" rows="5">Nhập từ khóa cần viết chữ ngược.Bạn cũng có thể nhập chữ ngược để giải mã....
Có hỗ trợ Tiếng Việt.</textarea>  </td>        </tr>
<tr>         <td>Kết quả:</td>          <td><textarea cols="55" name="flipped" rows="5"></textarea></td>      </tr>
</tbody></table>
</form>
<center>
</center>
</center>
</body>
</div>
<div class="clear">
</div>
</div>
</div>
<!--Can't find substitution for tag [adEnd]--></article>

Subscribe box

Nhập địa chỉ Email và bấm đăng ký, bạn sẽ nhận được bài viết mới nhất từ Bảy Sắc IT hoàn toàn miễn phí qua Gmail!

0 Bình Luận: