Programming

PHP: Get String After Character

PHP: Mendapatkan data setelah karakter tertentu. $string = ‘ice-bitrate=128’; echo substr($string, strpos($string, ‘=’)+1); sumber: devshed

Klik Kanan pada Browser

Masih aja ada yah yang buat website dengan menon-aktif kan aktifitas klik kanan. Entah apa tujuan mereka, sepertinya mereka kurang familiar sama menu Developer di browser. <script language=JavaScript> var message=””; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if… Baca selengkapnya Klik Kanan pada Browser

HTML: Membuat Elemen Tidak Responsive Menjadi Responsive

Mengapa untuk tampilan sebuah website harus responsive? jawabannya tiada lain karena sekarang penikmat dunia maya tidak melulu menggunakan PC atau laptop, tapi sudah merambah ke perangkat smartphone. Karena dimensi atau ukuran layar dari masing-masing perangkat yang digunakan, hadir lah istilah… Baca selengkapnya HTML: Membuat Elemen Tidak Responsive Menjadi Responsive

iziModal

iziModal

jQuery IZIMODAL Elegant, responsive, flexible and lightweight modal plugin with jQuery.

jQuery: Textbox Numbers Only

HTML Number : <input type=”text” name=”quantity” id=”quantity” />&nbsp;<span id=”errmsg”></span>  jQuery code $(document).ready(function () { $(“#quantity”).keypress(function (e) { if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) { $(“#errmsg”).html(“Digits Only”).css(“color”,”red”).show().fadeOut(“slow”); return false; } });… Baca selengkapnya jQuery: Textbox Numbers Only

Install Visual Basic 6 on Windows 7 / Windows 8

You may be wondering, Why install Visual Basic 6 on the new operating systems such as windows 7 or Windows 8. Well, VB6 is the best tool for learning GUI programming in Windows. But they never tell how to install… Baca selengkapnya Install Visual Basic 6 on Windows 7 / Windows 8

jQuery: Simple Weekdays Name & Timepicker with jQuery Timepicker

jQuery Timepicker is a lightweight (2.7kb minified and gzipped) and customizable jQuery plugin.Check it out the DEMO and the SOURCE and you will be delighted to have time picker for your forms. Me, customize it to have with weekdays name.… Baca selengkapnya jQuery: Simple Weekdays Name & Timepicker with jQuery Timepicker

PHP: Simple Contact Form with Archive Text

You have hosting and you want to make simple web for fast loading instead of full graphic. And web without contact form is like food without salt :D. And here I tried to combine between simple contact form with archive… Baca selengkapnya PHP: Simple Contact Form with Archive Text

PHP: Create a List of Time Zones

Sometimes, you want to create a list of available time zones to prompt your user to select his/her time zone. Fortunately, PHP offers timezone_identifiers_list (PHP 5 >= 5.2.0). You can create your list easily, using a function. Code <?php /**… Baca selengkapnya PHP: Create a List of Time Zones

PHP: Class for Scan Multiple Directories with Recursively and Extensions Filter

Needed something that could return the contents of single or multiple directories, recursively or non-recursively, for all files or specified file extensions that would be accessible easily from any scope or script. <?php class scanDir { static private $directories, $files,… Baca selengkapnya PHP: Class for Scan Multiple Directories with Recursively and Extensions Filter

Random Image Script

Description This is your standard random image script that takes a slightly different approach than most, namely using standard HTTP headers instead of reading the file through the script. Installation/Usage For the simplest possible installation, just drop this code in… Baca selengkapnya Random Image Script

JavaScript: Calculate Islamic Hijri Dates

If you do not need fancy looking hijri calendar widget, or you want to style the calendar text by yourself, or you are a webmaster or a web developer that want to build your own hijri calendar web applications, then… Baca selengkapnya JavaScript: Calculate Islamic Hijri Dates

Scroll to Top