Apr 28

Mengapa menggunakan CSS?

Programming, Study by Imam | No Comments »

Beberapa keuntungan yang didapat jika menggunakan CSS sebagai berikut :

1. Mudah untuk perawatan. Kekuatan dari CSS adalah dengan menggunakan satu file CSS bisa digunakan untuk mengontrol tampilan beberapa dokumen HTML. Untuk merubah tampilan yang terdapat pada situs dapat dilakukan hanya dengan mengedit satu file CSS tersebut, sehingga akan berefek pada semua file HTML yang ada.

2. Ukuran File yang kecil. CSS mengijinkan kepada pembuat untuk menghilangkan seluruh model perintah dari dokumen HTML, seperti layout tabel, gambar, dekorasi gambar, font, warna, lebar, tinggi dan background gambar. Keseluruhannya bisa dikontrol melalui file CSS. Sehingga akan meredunsi ukuran file yang ada pada dokumen HTML.

Popularity: 15% [?]

Feb 09

Mendapatkan nilai string pada FileListBox

Programming by Imam | No Comments »

Untuk mendapatkan nilai yang ada pada filelistbox agar menjadi string bisa menggunakan metode berikut ini.

Popularity: 5% [?]

Jan 09

Reading Files in PHP

Programming by Imam | No Comments »

There are several ways to open and display files, and each has its uses. You don’t need to know all the ways to read filesit is probably best to learn one and stick with it for your own code. However, you will almost certainly come across each of these methods in other people’s code, because everyone has her own method of getting things done.

readfile( )
If you want to output a file to the screen without doing any form of text processing on it whatsoever, readfile( ) is the easiest function to use. When passed a filename as its only parameter, readfile( ) will attempt to open it, read it all into memory, then output it without further question. If successful, readfile( ) will return an integer equal to the number of bytes read from the file.

If unsuccessful, readfile( ) will return false, and there are quite a few reasons why it may fail. For example, the file might not exist, or it might exist with the wrong permissions.

Here is an example script:

$testfile = @readfile(“test.txt”);
// OR "@readfile("c:\\boot.ini");" if you are using Windows
if (!$testfile) {
print “Could not open file.\n;
}

Popularity: 9% [?]

Jan 07

The World Time Method of the Date Object in JavaScript

Programming by Imam | No Comments »

In the following code we use the toLocaleString(), toUTCString(), getTimezoneOffset(), toLocaleTimeString(), toTimeString(), toLocaleDateString(), and toDateString() methods and write their values out to the page.

Popularity: 7% [?]

Nov 14

Story board

Programming, Study by Imam | 1 Comment »

Story board digunakan untuk merancang struktur dari halaman web yang dibuat berdasarkan urutan-urutan atau bagian-bagian dari suatu rangkaian halaman web tersebut.

Didalam penggunaannya story board ini dikenal dengan istilah navigator. Pengelompokkan story board dapat dibagi menjadi :
a. Linear Model
Model ini merupakan tampilan yang sejajar didalam navigasi sebuah web secara berurutan. Perhatikan gambar dibawah ini :

Popularity: 22% [?]

Sep 04

Install PHP Pear di windows

Programming by Imam | No Comments »

Untuk mengisntall Pear diwindows langkah2nya sebagai berikut :

masuk ke dalam folder PHP kemudian jalankan pear.bat dengan cara dobel klik. Akan muncul tampilan untuk melakukan instalasi. ikuti langkah2nya sampai selesai.

Popularity: 4% [?]

Sep 03

Membuat Menu Dynamic drop down dengan css

Programming, Tips by Imam | No Comments »

masukkan script berikut ke dalam teks editor anda,

Popularity: 4% [?]

Aug 23

Membuat Thumbnails Image make PHP

Programming, Tips by Imam | No Comments »

Berikut script untuk membuat thumbnail images. :

Popularity: 4% [?]

Jul 19

Mendapatkan nilai Record terakhir ditabel

Programming, Tips by Imam | No Comments »

Untuk mendapatkan list record terakhir pada field tertentu di delhpi bisa dilakukan dengan cara :

komponent yang dibutuhkan :
Adotable1
datasource1
dbgrid1
button1

Popularity: 4% [?]

Jun 29

Learning Python First

Programming by Imam | No Comments »

Learning any one programming language makes it much easier to understand not only computers but other programming languages as well. As you’ll see, Python is perhaps the easiest language to learn and use. This makes it the logical one to get under your belt as a first step on the way to Visual Basic, Java, and so forth.

Popularity: 3% [?]

Next Page »