Shineyrock web design & consultancy

Shineyrock

Gezocht op: "jquery" / 191 gevonden

Programming With Yii2: Working With Asset Bundles

…jquery.js"></script> <script src="/mp/assets/ed797b77/yii.js"></script> <script src="/mp/assets/ed797b77/yii.validation.js"></script> <script src="/mp/assets/ed797b77/yii.activeForm.js"></script> <script src="/mp/assets/8c5c0263/js/bootstrap.js"></script>In this tutorial, I'm going to guide you through using Asset Bundles to integrate character counting into our Status form. We'll use this to enforce a character limit similar to Twitter's 140 character maximum. If you're interested in seeing this in action…


Programming With Yii2: Rich Text Input With Redactor

…JQuery API and has a wide set of plugins such as for image management, table formatting, and fullscreen editing.Fortunately, the Yii community purchased an unlimited license to Redactor for any application built on the framework. With Yii2, you can install Redactor and integrate rich text editing into your forms in…


Creating a Web App From Scratch Using Python Flask and MySQL: Part 3

…jquery-1.11.2.js"></script> </head> <body> <div class="container"> <div class="header"> <nav> <ul class="nav nav-pills pull-right"> <li role="presentation" class="active"><a href="#">Add Item</a> </li> <li role="presentation"><a href="/logout">Logout</a> </li> </ul> </nav> <h3 class="text-muted">Python Flask App</h3> </div> <section> <form class="form-horizontal" method="post" action="/addWish"> <fieldset> <!-- Form Name --> <legend>Create Your Wish</legend> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label"…


Build an AngularJS App From Scratch, Powered by Python EVE

…jquery.com/jquery-2.0.1.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.12/angular.js"></script> <script src="home/home.js"></script> <script src="signin/signin.js"></script> <script src="index/index.js"></script> </head> <body> <div ng-view></div> </body> </html>Inside the index folder, create a file called index.js which will serve as the root file. In index.js we'll inject the different modules created into the myApp app. Here is the index.js file:angular.module('myApp', […


Creating a Web App From Scratch Using Python Flask and MySQL: Part 4

…jQuery to our HTML. We'll modify that code and use jQuery templates to make it easier to bind data. We'll also add an edit icon to our HTML to provide a way to update the wish. Open userHome.html and include a reference to jQuery templates.<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.js"></script>Remove the existing list-group…


Creating a Web App From Scratch Using Python Flask and MySQL: Part 5

…jQuery.var prevLink = $('<li/>').append($('<a/>').attr({ 'href': '#' }, { 'aria-label': 'Previous' }) .append($('<span/>').attr('aria-hidden', 'true').html('&laquo;'))); $('.pagination').append(prevLink);In the above code, we just created the previous button link and appended it to the pagination UL.Save the above changes and restart the server. On successful sign-in you should be able to see the previous link…


Programming With Yii2: AuthClient Integration With Twitter, Google and Other Networks

…jquery.inputmask (3.1.58) - Installing bower-asset/jquery.inputmask (3.1.61) Loading from cache Writing lock file Generating autoload files Configuring AuthClient SupportWe need to add the AuthClient configuration settings to our web configuration file in \config\web.php.Add array elements for all of the third-party services that you wish to support (details for each can be…


Creating a Web App From Scratch Using Python Flask and MySQL: Part 6

…jquery-1.11.2.js"></script> <style> .btn-file { position: relative; overflow: hidden; } .btn-file input[type=file] { position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; outline: none; background: white; cursor: inherit; display: block; } </style> </head> <body> <div class="container"> <div class="header"> <nav> <ul class="nav nav-pills…


Creating a Web App From Scratch Using Python Flask and MySQL: Part 7

…jQuery AJAX, make a call to /getAllWishes on document.ready.$(function() { $.ajax({ url: '/getAllWishes', type: 'GET', success: function(response) { console.log(response); }, error: function(error) { console.log(error); } }); })Save the above changes and restart the server. Once logged in to the application, check your browser console and you should be able to…


Build an AngularJS App Powered by Python EVE: Part 2

…jQuery and Bootstrap in index.html.<script src="https://code.jquery.com/jquery-2.0.1.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>Add the following HTML code to userHome.html for modal pop-up for edit.<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="editModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span> </button> <h4 class="modal-title" id="editModalLabel">Update Task</h4> </div> <div class="modal-body"> <form role="form"> <div class="form-group">…


Verfijn zoekopdracht

Bewaar deze zoekopdracht

Bewaarde zoekopdrachten

Je hebt nog geen bewaarde zoekopdrachten.