-
Notifications
You must be signed in to change notification settings - Fork 94
/
tambah_surat_link.php
executable file
·53 lines (53 loc) · 1.73 KB
/
tambah_surat_link.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div class="thumbnail">
<ul>
<li><a href="surat.php?kode_surat=SK&nama="><img src="img/gb_surat.png" /><br />Surat Keterangan</a></li>
<li><a href="surat.php?kode_surat=SKP&nama=Pindah"><img src="img/gb_surat.png" /><br />Surat Keterangan Pindah</a></li>
<li><a href="surat.php?kode_surat=SKA&nama=Adat%20Istiadat"><img src="img/gb_surat.png" /><br />Surat Keterangan Adat Istiadat</a></li>
<li><a href="surat.php?kode_surat=SK&nama=Domisili"><img src="img/gb_surat.png" /><br />Surat Keterangan Domisili</a></li>
<li><a href="surat.php?kode_surat=SK&nama=Usaha"><img src="img/gb_surat.png" /><br />Surat Keterangan Usaha</a></li>
<li><a href="surat.php?kode_surat=SK"><img src="img/gb_surat.png" /><br />Surat Keterangan Lainnya</a></li>
<li><a href="surat_lahir_mati.php?kode_surat=SL&nama=Kelahiran"><img src="img/gb_surat.png" /><br />Surat Kelahiran</a></li>
<li><a href="surat_lahir_mati.php?kode_surat=SM&nama=Kematian"><img src="img/gb_surat.png" /><br />Surat Kematian</a></li>
</ul>
</div>
<script>
$(function(){
$(".thumbnail li").click(function(){
var url = $(this).find("a").attr("href");
// load div center-column dengan url dari anchor tsb
$("#center-column").html("<div class='loading'>Mohon ditunggu .........</div>")
.load(url);
return false;
})
})
</script>
<style>
.thumbnail{
position:relative;
margin-left:45px;
}
.thumbnail ul, .thumbnail li{
list-style : none;
float: left;
padding:2px;
text-align:center;
position:relative;
}
.thumbnail li{
width:110px;
height:100px;
background:#BFBFBF;
padding:8px;
cursor:pointer;
margin:6px;
}
.thumbnail li:hover{
position:relative;
background:#FFFFFF;
border:1px solid #FFA500;
padding:7px;
}
.thumbnail li img{
border:1px solid #000000;
}
</style>