background preloader

Web dev

Facebook Twitter

SVG SINE WAVE

The Definitive Guide to Object-Oriented JavaScript. 5 Great Front-End Developer Tools You Must Try. A Compendium of SVG Information. A huge pile of information about SVG.

A Compendium of SVG Information

Manipulating the browser history - Web developer guide. The DOM window object provides access to the browser's history through the history object.

Manipulating the browser history - Web developer guide

It exposes useful methods and properties that let you move back and forth through the user's history, as well as -- starting with HTML5 -- manipulate the contents of the history stack. Traveling through history Moving backward and forward through the user's history is done using the back(), forward(), and go() methods. Moving forward and backward. Getting your Social Share Counts with PHP - Web Design. Having a strong online social presence is a great way of engaging and interacting with your visitors, and potential customers / clients.

Getting your Social Share Counts with PHP - Web Design

But how do you actually track how engaged your content is and how many times it has been shared? Thankfully, for any web developer, designer or webmaster, there is a great selection or tools available that'll quickly pull in your social counts such as AddThis or ShareThis. But what if you don't want an overly bloated solution to a somewhat trivial task? Why do you need the overhead and slow speeds of AddThis when you can easily achieve the same result yourself. Social URL Analytics.

Inspiration Sites

Javascript libraries. Killer Responsive Layouts With CSS Regions. Advertisement As Web designers, we are largely constrained by the layout features available to us.

Killer Responsive Layouts With CSS Regions

Content placed inside a container will often naturally extend the container vertically, wrapping the content. If a design requires elements to remain a certain height, then our options are limited. In these cases, we can only add a scroll bar or hide the overflow. The CSS Regions specification provides a new option. DropzoneJs + PHP: How to build a file upload form. DropzoneJS is an open source library that provides drag'n'drop file uploads with image previews.

DropzoneJs + PHP: How to build a file upload form

It is a great JavaScript library which actually does not even rely on JQuery. In this tutorial, we are building a multiple file upload form using DropzoneJS, and the backend will be handled by PHP. Related: DropzoneJs + PHP: How to display existing files on server. Uploading Files with AJAX. The introduction of AJAX marked a huge leap forward in the history of the web.

Uploading Files with AJAX

The ability to communicate with a web server without reloading the page has revolutionised how web applications are built. The primary technology that enables AJAX (XMLHttpRequests) has evolved significantly since the initial conception of dynamic websites. A nice feature added to XMLHttpRequests in recent years is the ability to handle file uploads. Getting Started with the Speech Synthesis API. With the introduction of products like Siri and Google Now, speech technology has really taken off in the past few years.

Getting Started with the Speech Synthesis API

Various organisations have been working on speech recognition and synthesis for decades, but it seems like only recently that this technology has become reliable enough to be useful to the masses. A few weeks ago we looked at how to add simple speech recognition to your web apps. In this blog post you’re going to turn the tables and learn how to get your web apps talking. To do this you’re going to be learning about the Speech Synthesis API.

Browser Support: The Speech Synthesis API is supported in Chrome 33+ and Safari. Basic Speech Synthesis The Speech Synthesis API is surprisingly easy to implement. Var utterance = new SpeechSynthesisUtterance('Hello Treehouse'); window.speechSynthesis.speak(utterance); Image Resizing Made Easy with PHP. Ever wanted an all purpose, easy to use method of resizing your images in PHP?

Image Resizing Made Easy with PHP

Well that's what PHP classes are for - reusable pieces of functionality that we call to do the dirty work behind the scenes.

Icons

Understanding Event Delegation. Event delegation allows us to attach a single event listener, to a parent element, that will fire for all descendants matching a selector, whether those descendants exist now or are added in the future.

Understanding Event Delegation

For the remainder of the lesson, we will reference the following HTML structure: When an anchor in our #list group is clicked, we want to log its text to the console. Normally we could directly bind to the click event of each anchor using the .on() method: While this works perfectly fine, there are drawbacks. Consider what happens when we add a new anchor after having already bound the above listener: If we were to click our newly added item, nothing would happen.

Understanding how events propagate is an important factor in being able to leverage Event Delegation. <a><li><ul #list><div #container><body><html>document root This means that anytime you click one of our bound anchor tags, you are effectively clicking the entire document body! URL Rewriting for Beginners. A beginner's guide to URL rewriting, with plenty of examples.

URL Rewriting for Beginners

Introduction URL rewriting can be one of the best and quickest ways to improve the usability and search friendliness of your site. It can also be the source of near-unending misery and suffering. Definitely worth playing carefully with it - lots of testing is recommended. So You Want to Accept Credit Cards Online? Until recently, accepting credit cards on a website was expensive and complicated. But that was before Stripe: a radically different and insanely awesome credit card processing company.

Today, I'll show you how to start accepting cards in 30 minutes or less - without spending a dime. Republished Tutorial. Cookie-less Session Variables in JavaScript. This page uses cookie-less session variables in JavaScript. Refresh or navigate away from this page and click back to see the effect in operation. You have visited this page: 1 time The previous 10 visit times: Close your browser or click reset counter to restart the session. (view session dump) CSS tricks.

Developing An Embeddable Javascript Widget. A clear trend in web development today is that sites are composed of many 3rd party widgets. Go to any big site, open up the web inspector and see how much is really loaded from the address you typed!

Free assets

Galleries. Mobile Site Optimization. Tutorials-Web Development. 10 Feedback Tools for Designers. If you want a project to be successful, user experience and interaction are key. An effective web design process needs to include testing, feedback and refinement. Receiving feedback can act as quality assurance, give you an alternative perspective, help you develop new ideas and ensure you're meeting your users' requirements and expectations. There are various types of feedback, from "voice of the customer" and surveys to process level and crowdsourcing. In this article, we concentrated on UI/UX testing and usability. We've put together a selection of software and online-based tools that you can use to help your website reach its maximum potential. Are there any similar tools that you would recommend? The 30 CSS Selectors you Must Memorize.