Skip to main content

Membuat Tombol Download, Salam Pembuka Dan Salam penutup Pada Blog




hallo. .
sperti biasa saya menyapa kalian, tak lelah, saya memberikan tutorial kepada anda semua.
hal ini karena hobi saya dalam blogging, sangat memuncak pada bulan ini. .
hari-hari ini saya sedang belajar JAVA SCRIPT, untuk mendulang ilmu komputer yang belum saya kuasai.
dan alhamdulillah, dengan belajarnya saya tentang bahasa pemrograman ini, memunculkan beberapa tutorial untuk para blogger, di penjuru dunia. hehehe


sekarang saya mau memberikan beberapa script unik, yaitu CONFIRM, ALERT,DAN PROMT.
JavaScript adalah bahasa skrip yang populer di internet dan dapat bekerja di sebagian besar penjelajah web populer seperti Internet Explorer (IE), Mozilla Firefox, Netscape dan Opera. Kode JavaScript dapat disisipkan dalam halaman web menggunakan tag SCRIPT
DI KUTIP : http://id.wikipedia.org/wiki/JavaScript
langsung saja ke sciptnya.

Membuat Tombol download

<html>
<body>
<input type="button" name="hari" value="KLIK" onclick="button()">
<script>
function button() {
window.location="link download"
}
</script>
</body>
</html>
akan jadi seperti ini !!

kode di window.location="link download" bisa kalian ganti dengan kode 
window.open("link download","nama link","width=500,height=500")

Membuat Salam pembuka

<Html>

<body onload="alert('WEB PAGE SELESAI DI LOADING')">
<script>{
var x=window.PROMPT("Masukkan Nama Anda?")
window.alert(x)
}
</script>
</html>

 kalian bisa ganti tulisan merah di atas sesuai keinginan anda. .

Membuat salam penutup

<body onunload="alert('TERIMAKASIH TELAH MENGUNJUNGI BLOG SAYA')">
</body>

  kalian bisa ganti tulisan merah di atas sesuai keinginan anda. .



COPAS script di atas ke blog anda, dengan cara :

1. masuk ke blog anda.
2. klik tab TATA LETAK
3. klik add gadget
4. pilih gadget HTML/Java Script

5. masukkan scriptnya.
6. Simpan



SEMOGA BERMANFAAT AAMIIIN

Popular posts from this blog

The Advantage of Using HTTP Default Authorization Scheme #DigitalSecurity

pixabay.com Hello Everyone, This day I would like to introduce you to the default header for authorization in HTTP. HTTP auth scheme is a guide or standardization scheme for the authorization header in the HTTP protocol. this standard is using key Authorization in the header and followed by a value that usually filled by key or token. for example : Authorization : <type> <key/token> this standard is the solution of the key header for authorization that really random was provided by developers to build an authorization header for their application, in my experience, developers used to "token" for their key in the header that usually followed by the hash value. the random key makes developers using more time for writing code for getting header key and validating the value which is you could use the library and focus on writing the logic of your application. Depend on Mozilla site , HTTP auth scheme divided by 4 types, such as : Basic  (see  RF

Laravel Tips : Membuat Model, Migration dan Controller dengan Sekali Jalan

  php artisan adalah generator laravel yang berfungsi untuk membuat file kodingan dengan mudah, seperti membuat controller, model, seeder, migration dan masih banyak lagi. artisan hanya bisa di lakukan di dalam lingkungan console, seperti cmd dan terminal. berikut akan saya tunjukan cara membuat controller, model, migration menggunakan php artisan. # membuat controller ketikkan perintah di bawah ini php artisan make:controller BlogController # membuat model ketikkan perintah di bawah ini php artisan make:model Blog # membuat migration ketikkan perintah di bawah ini php artisan make:migration blog # membuat seeder ketikkan perintah di bawah ini php artisan make:seeder BlogSeeder # membuat migration, controller, dan model sekaligus ketikkan perintah di bawah ini php artisan make:model -crm Blog perintah di atas akan mengenerate controller dengan nama BlogController dengan keadaan Resource method tertulis, model

Automatic API Documentation Swagger in Golang #GolangDev

pixabay.com In this article, I'll explain how to generate an API blueprint instantly using SwagGo in Golang. API blueprint is a document that contains a bunch of API endpoints, its slickly same as documentation but less description, it's allow another programmer to read and see all the available endpoint and try it out with sandbox feature. Swagger is one of the most used API blueprints right now, it's available in free but limited usage. if you wanna use the free credit, you need to understand YAML notation, you can read the example notation in swagger official documentation. but again, it's really hard and takes an expensive time to arranges all the notation to achieve a good API blueprint. fortunately, there are tools in Golang that allow us to generate the YAML notation and automatically generate the blueprint page with only using markup notation, and it's FREE unlimited for self-host, insane right? SwagGo tools are available here , the documentation is very cl