jQuery Education Series Part #15: How to Add Draggable Fonts, Images and Box in jQuery Localhost Server? jQuery UI Part #1 | English Video Tutorial

in #utopian-io6 years ago (edited)

What Will I Learn?

  • You will learn how to create a draggable object (with draggable function) in this video.
  • You will learn how to edit the image settings added via img command id on Style CSS.
  • You will learn how to use the jQueryUI plugin library and how to specify the library source.
  • You will learn how to write all the commands on the same Notepad++ page without adding an additional document.

Requirements

  • jQuery 3.3.1.min.js
  • jQueryUI 1.10.4 (full pack)
  • jQuery-Ui.custom.js (for 1.6+ jQuery versions)
  • MySQL 5.7.17 (full or developer mode)
  • XAMPP Server Control Panel
  • Notepad++
  • A standard computer.
  • A browser with JavaScript support.

Difficulty

  • Intermediate

Description

Hello everyone, in this part of our jQuery Tutorial Serie, I teached you how to create a draggable fonts, images, boxes etc. on localhost server with using NotePad++ command line and using jQuery, HTML, CSS, jQueryUI Plugin 1.10.4 and JavaScript programming languages. I teached you how to use the "revert" command used with the "draggable" command. I also showed how to run the plugin we downloaded from jQueryUI site with script using jQuery on NotePad++ command line. Finally, I also gave you technical information about all codes and i showed you how to use all codes in this tutorial video.
Our education series, will progress from intermediate to advanced. All the programs described in the video (jQuery, FileZilla, Notepad++, XAMPP Server Control Panel, MySQL) are open source and are all included in the links section of the GitHub repositories. If you wish, you can access the web pages of these programs and download links for Windows from the links section.

Video Tutorial

Codes Used in This Video:

<!doctype html>

<html lang="en-US">
<head>
    <meta charset="utf-8">
    <title>Sargoon Utopian jQuery Education Series</title>
    <script type="text/javascript" src="js/jqueryseries.js"></script>
    <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="jquery-ui.custom.js"></script>
    
    <style type="text/css">
    
    .box {
        height:400px;
        width:400px;
        revert:true;
        background: none;
        cursor:move;
        border:8px solid black;
        
    }
    
    ul {
        
        list-style:none;
        cursor:move;
        font-size:50px;
        color:purple;
        
    }
    
    img {
        
        width:150px;
        height:150px;
        margin:auto;
        cursor:move;
        
    }
    
    
    </style>
 
 </head>
 
<body>

    <link type="text/css">
    
    <div id="box" class="box"></div>
    <div id="ul" class="ul"></div>
    <img src="js/utopian.png" id="png">
    
    <ul>
    
        <li class="ul"> Utopian </li>
        <li class="ul"> Sargoon </li>
        <li class="ul"> jQuery </li>
    </ul>
        
        
</body>
        
<script>

    $(document).ready(function() {
        $(".box").draggable();
        $("img").draggable();
        $('li').draggable({revert: false 
        
        });
    });
        




</script>

Curriculum

1-9 education parts are posted in Turkish language

Part 1(TR Language)

Part 2(TR Language)

Part 3(TR Language)

Part 4(TR Language)

Part 5(TR Language)

Part 6(TR Language)

Part 7(TR Language)

Part 8(TR Language)

Part 9(TR Language)

Part 10 (EN Language)

Part 11 (EN Language)

Part 12 (EN Language)

Part 13 (EN Language)

Part 14 (EN Language)

Links



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @sargoon I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.27
TRX 0.12
JST 0.031
BTC 69047.36
ETH 3739.58
USDT 1.00
SBD 3.66