Cara Buat DIV Element Bisa Di Drag Move

Cara Buat DIV Element Bisa Di Drag Move
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated
thumb




Hai 😂 saya kali ini mau share trik membuat element div dapat di move pada layar mirip banget kaya efek windows komputer 😂

oke langsung saja kita mulai 😉

pertama kalian harus menambahkan JQuery UI element pada templates di bawah <head>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>

Lalu tambahkan kode JS di atas </body>
    <script>
    $( function() {
        $( "#ID_DIV_KAMU" ).draggable();
    } );
    </script>
ganti ID_DIV_KAMU dengan ID element DIV yang kamu namai.

setelah itu simpan template dan lihat hasil nya

selesai 😉
ass.wr.wb

Getting Info...

Post a Comment

Agiel Triono Comment Policy

Do not include spam link !
Please read our Comment Policy before commenting.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.