Entry: FRAME Thursday, May 12, 2005



Frame : untuk membagi jendela menjadi beberapa

Perhatikan potongan gambar frame di bawah ini :

Sketsa 

Frame

Saat menge-klik menu.htm seperti Home, Profile, History, atau Contact maka isi dari link tersebut akan tersaji di bagian utama.htm. Maka yang harus disiapkan adalah

  1. home.htm
  2. profile.htm
  3. history.htm
  4. contact.htm

  5. judul.htm
  6. utama.htm
  7. menu.htm, yang terlulis linkČ menuju
    • home.htm
    • profile.htm
    • history.htm
    • contact.htm
  8. terahkir adalah file default.htm yang berisi kode-kode frame seperti dibawah ini
<html>
<head>
<title>default</title>
</head>
<!--Kode frame dimulai--!>
<frameset rows="25%,*">
<frame src="judul.htm" name=atas>
<frameset cols="25%,*">
<frame src="menu.htm" name=kiri>
<frame src="utama.htm" name=kanan>
</frameset>
</frameset>
<!--Kode frame diakhiri--!>
</html>

   0 comments

Leave a Comment:

Name


Homepage (optional)


Comments