Shineyrock web design & consultancy

Shineyrock

Searched for: "html" / 740 results

Backbone Views and the DOM

…HTML or CSS for you, and can be used with any JavaScript templating library. They are used to manipulate what users see in their browser, and they facilitate communication with models. As a result, in the paradigm of Model-View-Controller, it is useful to think about Backbone Views as both view…


Kick-Start WordPress Development With Twig: Blocks, Nesting, and WP Cheatsheet

…html_head_container %} {% include 'header.twig' %} {% endblock %} <body class="{{body_class}}"> <div class="wrapper"> {% block content %} <!-- Add your main content here. --> <p>SORRY! No content found!</p> {% endblock %} </div> <!-- /.wrapper --> {% include "footer.twig" %} </body> </html> Comments in Twig: {# Base Template: base.twig #} You…


Create a WYSIWYG Editor With the contentEditable Attribute

…HTML block-style tags requires you to use formatBlock as commandName and the tag name as valueArgument. The syntax would be similar to:document.execCommand('formatBlock', false, tagName);This method will add an HTML block-style tag around the line which contains the current selection. It also replaces any tag that already existed there. tagName can…


New Coffee Break Course: Create Web Components With X-Tag

…HTML, CSS, and JavaScript. They offer a future of true reuse and encapsulation on the web, but until the various specifications that make up Web Components are implemented universally by browser vendors, you'll need to make use of polyfills.In our new Coffee Break Course, Create Web Components With X-Tag, Envato Tuts+ instructor…


Hands On Improving Google PageSpeed

…HTML MinificationUpdating my W3TC HTML minify settings quickly resolved PageSpeed's complaint about that.CSS MinificationFor CSS, I had to individually add the files PageSpeed alerted me about to W3TC's CSS File Management. W3TC then began minifying my CSS and combining the named files into a single file to include.This resolved PageSpeed's…


Kick-Start WordPress Development With Twig: Timber Image, Menu, and User

…HTML image tags. However, Timber offers quite a comprehensive way of handling the img (image) tag which is modular and clean.There are images attached to the post's thumbnail field. These can be easily retrieved via the Twig files by {{ post.thumbnail }}. It is just that easy!UsageLet's get started with…


Exploring Mailgun: The Email Engine for Developers

…HTML Email TemplatesSending emails programmatically requires extensive expertise in building HTML templates with compatibility across clients and email services. It's time-consuming. Mailgun's begun offering a small suite of pre-built, tested email templates which they share with you. Here's an example invoice:Here are links to the existing HTML templates which you can reuse…


Backbone Views and the DOM: Part 2

…HTML and/or SVG elements and manipulates their attributes by binding data to the Document Object Model. Here is a quick example of how d3 operates: var numericalData = [1,2,3,4,5,6]; d3.select("body").selectAll("p") .data(numericalData) .enter() .append("p") .text(function(d) { return "I’m number " + d + "!"; }); The above code does the following:…


20 WordPress Video Plugins and Players to Add Engagement

…HTML content. What sets this plugin apart from the rest are the 12 visually appealing transition effects. This plugin has over 30,000 sales! Here are a few notable features for RoyalSlider: touch swipe navigation support for iOS and Android smart lazy-loading SEO-optimized YouTube and Vimeo videos in slide HTML blocks…


How to Use Ajax With OpenCart

…HTML of the custom page. catalog/view/theme/default/template/ajax/product.tpl: It's a view template file that holds the XHTML of the AJAX response. So, that’s a quick list of the files we’re going to implement today.Create Module FilesGo ahead and create a file catalog/controller/ajax/index.php with the following contents.<?php // catalog/controller/ajax/index.php class ControllerAjaxIndex extends Controller…


Refine Search

Save This Search?

Saved Searches

You have not saved any searches yet.