Shineyrock web design & consultancy

Shineyrock

Gezocht op: "html" / 740 gevonden

AngularJS Form Validation With ngMessages

…html"></div> </div>Showing Errors Only When RequiredYou can make your form more user friendly by only showing error messages when a user has actually made an error while filling out the forms. For example, you can opt to only show the required field error when a user actually skips over an…


How to Create Animations in AngularJS With ngAnimate

…When used properly, animations can make a web application fun to use. Modern browsers are capable of animating different elements on a webpage by using just CSS. If you are using AngularJS in one of your projects, you can also use the ngAnimate module to add animation to it in…


How to Work With Session Data in CodeIgniter

…As a CodeIgniter developer, it's really important for you to understand how to work with the core session library. Of course, you could always use the default $_SESSION syntax, but it's always recommended to use the wrapper instead.Starting with how to load a session library, we’ll move to the discussion…


Getting Started With Matter.js: The Body Module

…* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} In the previous tutorial of the series, you learned about the World and Engine modules in Matter.js. The methods available in these two modules are meant to control the behavior of multiple bodies or the whole world at once. However, at some…


Programming With Yii2: Building Community With Voting, Comments, and Sharing

…Html; use yii\helpers\HtmlPurifier; use dosamigos\disqus\CommentsCount; use kartik\social\TwitterPlugin; use kartik\social\FacebookPlugin; use yii\helpers\StringHelper; ?> <div class="item_row row"> <div class="col-xs-1 col-md-1 col-lg-1"> <?= \chiliec\vote\widgets\Vote::widget([ 'model' => $model, // optional fields 'showAggregateRating' => false, ]);?> </div>Topic index calls displays a grid which displays _item.php as a row. I didn't want to display a rating,…


How to Zip and Unzip Files in CodeIgniter

…HTML file upload form code. application/views/file_upload_result.php: It’s a view file that shows the result of a user-uploaded file; basically it tells you if the file was successfully unzipped. application/libraries/Extractor.php: This file demonstrates the concept of a custom library in CodeIgniter. With everything in place, we’re ready to move on to…


JavaScript-Based Animations Using Anime.js, Part 1: Targets and Properties

…HTML element with the help of additional JavaScript. Here is the code to animate the values of two different keys of an object. var filesScanned = { count: 0, infected: 0 }; var scanning = anime({ targets: filesScanned, count: 1000, infected: 8, round: 1, update: function() { var scanCount =…


Dynamic Page Templates in WordPress, Part 1

…html Text Domain: twenty-seventeen-child */We now need to reference all the styles from the Twenty Seventeen parent theme. If you've ever worked with child themes before, then you might be used to adding a CSS @import statement directly underneath the comment block. This is no longer considered a WordPress best…


Dynamic Page Templates in WordPress, Part 2

…html__( 'Page Template Meta Box', 'twenty-seventeen-child' ), array( $this, 'display_page_template_meta_box' ), 'page', 'side', 'default' ); }/* Render meta box on the page editor. */ public function display_page_template_meta_box($object) { wp_nonce_field( basename( __FILE__ ), 'page_template_meta_box_nonce' ); }I won't go into too much detail here about WordPress meta boxes, as that could be…


Building Your Startup: Approaching Major Feature Enhancements

…html(data).removeClass('hidden'); $("input[name='meeting-activity-choice']").map(function(){ //$(this).bootstrapSwitch(); $(this).bootstrapSwitch('onText','<i class="glyphicon glyphicon-thumbs-up"></i>&nbsp;yes'); $(this).bootstrapSwitch('offText','<i class="glyphicon glyphicon-thumbs-down"></i>&nbsp;no'); $(this).bootstrapSwitch('onColor','success'); $(this).bootstrapSwitch('offColor','danger'); $(this).bootstrapSwitch('handleWidth',50); $(this).bootstrapSwitch('labelWidth',1); $(this).bootstrapSwitch('size','small'); }); }, }); refreshSend(); refreshFinalize(); } function getActivities(id) { $.ajax({ url: $('#url_prefix').val()+'/meeting-activity/getactivity', data: { id: id, }, type: 'GET', success: function(data) { $('#meeting-activity-list').html(data); }, }); }Framework AdditionsCertainly, there were models, controllers and views that had to…


Verfijn zoekopdracht

Bewaar deze zoekopdracht

Bewaarde zoekopdrachten

Je hebt nog geen bewaarde zoekopdrachten.