Pencarian
Latest topics
Membuat Tulisan Terbalik [FLIP]
Halaman 1 dari 1
Membuat Tulisan Terbalik [FLIP]
copy paste script dibawah ini :
liat hasilnya di [You must be registered and logged in to see this link.]
- Code:
<html><head>
<!-- Help IE with utf8; thank you, Glards! -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Turn text upside down. Rotate letters 180 degrees with Unicode.">
<title>Flip</title>
<style type="text/css">
textarea { font-family: "Arial Unicode MS", Batang }
h1 { margin-bottom: 2px;}
</style>
<script>
function flip() {
var result = flipString(document.f.original.value.toLowerCase());
document.f.flipped.value = result;
}
function flipString(aString) {
var last = aString.length - 1;
//Thanks to Brook Monroe for the suggestion to use Array.join
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 ? 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',
'\u203F' : '\u2040',
'\u2045' : '\u2046',
'\u2234' : '\u2235',
'\r' : '\n' //thank you, Yeeliberto
}
for (i in flipTable) {
flipTable[flipTable[i]] = i
}
</script></head><body>
<h1>Flip</h1>
<form name="f">Original:
<br>
<textarea rows="5" cols="50" name="original" onkeyup="flip()"></textarea> <input value="Flip" onclick="flip()" type="button">
<br>
Flipped:
<br>
<textarea rows="5" cols="50" name="flipped"></textarea>
</form>
</body></html>
liat hasilnya di [You must be registered and logged in to see this link.]
Similar topics
» Syair membuat aku berTobat.
» tutorial - membuat RADIO STATION
» Tutorial Membuat Background Pada Flashdisk atau Folder Drive
» tutorial - membuat RADIO STATION
» Tutorial Membuat Background Pada Flashdisk atau Folder Drive
Halaman 1 dari 1
Permissions in this forum:
Anda tidak dapat menjawab topik
Sun Aug 17, 2014 3:40 am by wartasolusi
» akhirnya terjawab sudah masalah saya
Sun Oct 28, 2012 4:31 am by stokisherbal
» solusi bau mulut, napas, kurus/obesitas, kerusakan rambut
Wed Oct 17, 2012 4:18 pm by stokisherbal
» nulled CPA blaster
Wed Oct 17, 2012 12:15 pm by Admin
» Script Download Mp3 dari 4Shared [White Code]
Sun Sep 30, 2012 12:01 pm by mandala
» Backlink Pasang Ac Surabaya | Do follow blog - Infoac.info
Fri Sep 28, 2012 10:42 pm by mandala
» Backlink Service Ac Surabaya
Fri Sep 28, 2012 10:37 pm by mandala
» site:perawatanac.infoac.info
Wed Sep 26, 2012 1:31 am by mandala
» Auto Approve - Bakclink September 2012
Thu Aug 30, 2012 10:41 pm by mandala
» pemesanan id betting online
Wed Aug 29, 2012 2:40 pm by dragonbet77
» Dijual Segera Rumah Minimalis Siap Huni dan Hadap Timur | Surabaya
Tue Aug 28, 2012 9:23 pm by mandala
» Get Usernames And Passwords + Database By Google
Sun Aug 26, 2012 12:15 pm by mandala