Rabu, 21 Agustus 2013

PHP Indonesia - Facebook: [ASK] Mau nanya agan-agan, kalo saya perhatikan fa...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Fun with Brazilian Portuguese

Learn the tips and tricks to speak colloquial Portuguese in a natural and confident manner. Enroll today for just $69!
From our sponsors
[ASK] Mau nanya agan-agan, kalo saya perhatikan fa...
Aug 21st 2013, 10:54, by Nip Noph

Nip Noph 10:54am Aug 21
[ASK]
Mau nanya agan-agan, kalo saya perhatikan facebook, di halaman browser yg sama, ketika saya berpindah halaman facebook, misal dari beranda ke profile, halamannya koq kayak ga ngerefresh ya.. jadi header sama sidebar chat tetep hanya halaman inti saja yang berubah.. tanpa ada transisi refresh dulu(putih semua).. tapi saya perhatikan URLnya berubah..
Setahu saya kalo ajax yang mengganti beberapa bagian web ga bikin url berpindah...CMIIW.
Mungkin ada agan2 yang bisa menjelaskan konsep atau teknisnya..
Terima kasih.

Gembel Berkelas 11:38am Aug 21
Ntu bisa pakek ajax kasih bumbu dikit, kalo ndak salah pakek macem pushState

coba aja dikit

<div id="anu">
<a href="/anu-1">anu1</a>
<a href="/anu-2">anu2</a>
<a href="/anu-3">anu3</a>
</div>

<script>
anu.onclick = function (event) {
coba = event.target || event.srcElement;
history.pushState( "", "New URL: " + coba.href, coba.href );
event.returnValue = false;
}
</script>

Muhammad Taufiq Hidayat 11:38am Aug 21
ajax ani

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar