Cara Merubah Menu Sekolah V1 agar tetap selalu berada diatasDibuat
Login Terakhir
5 Tahun lalu,
Telah Dilihat 1821 Kali
| |
Sultan Account |
|
|
Aris rahman bul
Mengatakan :
Sultan Account
Ketika scrooll di tarik kebawah maka menu nya tetap ada, supay menu itu diam diatas bagaimana caranya mas roby |
|
| PHPMU.COM Support commented on 15 Apr 2016 11:55:57 Sultan Account |
|
|
|
Assalam, Buka Directory 'View->phpmu->jscript' dan buka theme-scripts.js menggunakan text editor,..
Pada baris 38 sampai 44, kode berikut :
if(jQuery(window).scrollTop()+addpoint >= offset.top){
thisel.css("height", thisel.height()+"px");
thisel.children(".wrapper").css("left", offsetz.left+"px").css("position", "fixed").css("top", addpoint+"px");
}else{
thisel.css("height", "auto");
thisel.children(".wrapper").css("position", "inherit").css("top", "0px").css("left", "auto");
}
Ganti Menjadi :
thisel.css("height", "auto");
thisel.children(".wrapper").css("position", "inherit").css("top", "0px").css("left", "auto");
Selesai, semoga bermanfaat,..
|
|
| Aris rahman bul commented on 18 Apr 2016 19:26:56 Sultan Account |
|
|
|
oke terimakasih mas roby |
|