Minggu, 08 September 2013

PHP Indonesia - Facebook: [Tanya..]

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/ 
Design your online store.

Shopify let's you create your online store easily. With total control over your website's design, state-of-the-art security & a fully hosted online shopping cart.
From our sponsors
[Tanya..] Ini ada: Sep 8th 2013, 20:18, by Fi Nofriani

Fi Nofriani 8:18pm Sep 8
[Tanya..]
Ini ada:
<img class="post" src="http://localhost/mpsn/tampilan/images/positif.png" title="rate this positive" onclick="positif(this);">

Dengan fungsi onclick-nya:
<script type="text/javascript" src="<?php echo base_url() ?>tampilan/js/jquery_untuk_rating.js"></script>
<script type="text/javascript">
var jq = jQuery.noConflict(true);
</script>
<script type="text/javascript">
function positif(obj) {
var url = obj.parentNode.valueOf('href');
var nama = obj.parentNode.innerText;
alert(url);
jq("#quote p").load("retrain/pos.php?url=" + url + "&nama=" + nama);
}
</script>

Nah saya mau tampilkan loading image ketika fungsi positif(obj) ini bekerja..
Dengan:
<div id="loading">
<img id="loading-image" src="<?php echo base_url('tampilan/images/loading_transparent.gif'); ?>" alt="Loading..." style="display: none"/>
</div>
Dan tambahan ini dalam fungsi positif:
jq(window).load(function() {
jq('#loading').show();
});

Tapi kok ga ngefek ya?
Makasih..

Alfiqo Jundullah 8:19pm Sep 8
nyimak :)

Fi Nofriani 8:19pm Sep 8
*nunggu*

Alfiqo Jundullah 8:26pm Sep 8
kayanya udah pada bobo ni para masta bg., :) :)

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