Saturday, July 11, 2015

Magic Accordion : jQuery Plugin

There are plenty of accordion plugins out there but I wanted a really simple one for the user (client) to create from a single WYSIWYG editor instead of creating numerous amounts of fields in said CMS.

All the user has to do is separate their content with a H2 tag (or what you define) and the accordion will magically be created!

The post Magic Accordion : jQuery Plugin appeared first on jQuery Rain.


by Admin via jQuery Rain

Textcomplete : jQuery Autocomplete for Textarea

Introduce autocompleting power to textareas, like GitHub comment forms have with jQuery.

The post Textcomplete : jQuery Autocomplete for Textarea appeared first on jQuery Rain.


by Admin via jQuery Rain

Friday, July 10, 2015

#SocialMedia Marketing: 10 Ways To Be A Smarter Tumblr Marketer - #infographic

10 fundamental Tips for Smarter Tumblr Marketing - #infographic

Did you know that 90 percent of Tumblr users say they have been inspired to buy something that they found in their Tumblr feed.

In an increasingly crowded social media world, this stats bears weight. But how to stand out?

In the following infographic, produced by Curalate, you’ll learn 10 ways to boost your brand’s presence and drive engagement with your products on Tumblr.

by Irfan Ahmad via Digital Information World

Interview: How to Join a Major Open Source Project

Recently, my co-editor Aurelio was invited to become a member of the jQuery team. To mark this spectacular achievement and to find out what’s involved in contributing to the most popular JavaScript library in use today, I took the opportunity to ask him a few questions.

To kick things off Aurelio, could you tell us something about yourself?

Sure. My name is Aurelio De Rosa. I’m a (full-stack) web developer living and working in London. I have more than 5 years’ professional experience programming for the web using HTML5, CSS3, Sass, JavaScript, and PHP. I’m a regular blogger for several networks, speaker, author of books, member of the jQuery team and the JoindIn team, and co-author of some academic papers. I’m also the technical reviewer of several online courses for Learnable and the book “HTML5 & CSS3 for the Real World, second edition”. Above all these things, I’m really passionate about everything related to the web (well, not everything…sorry Java). In my spare time I love to experiment, learn, contribute to open source projects, and have a few beers.

Wow! Sounds like you’re a busy guy. What made you decide to get involved with jQuery?

I don’t think I’ve ever really thought about being involved in jQuery as part of the team, it just happened.

Like many developers that have started working on the front end a few years ago, I lived in a world full of browsers issues and inconsistencies. jQuery was (and is) the best solution to avoid dealing with such issues in order to focus on what really mattered: the website. Everyone is aware of the good work that the jQuery team has done over the years and I think this year the web community has recognized the effort by voting to have the jQuery team as one of the finalists of the Net awards in the category “Team of the year” (vote for us!).

As the curious developer that I am, only working with jQuery wasn’t enough for me. So, I often read the documentation of methods I never used and sometimes I even read the source code to learn as much as I could. In performing these activities, I started finding minor inconsistencies or issues in the documentation that I promptly notified to the jQuery team of on GitHub. Sometimes I tried to fix these issues by submitting small pull requests. This is how I started in May 2013, by submitting a pull request to improve the jQuery documentation. I was happy because I was improving a project that I used on a daily basis and that I was really passionate about.

I see. And how did you approach the project?

I probably found the issue that I fixed with my first pull request while reading the documentation to verify something. Then, I started working on my book jQuery in Action, Third Edition and everything changed. When you write a book, you put a lot of effort into it and you go even deeper into the subject compared to what you used to do. This means that often I had to read the source to understand why a method was acting in a certain way or to confirm some statements I wrote in the book. This activity allows you to find documentation inconsistencies, errors, or even undocumented method signatures. For example not so long ago I found that wrapAll() acts like wrap() when passing a function to it, an issue that is corrected in the upcoming version 3 of jQuery.

Continue reading %Interview: How to Join a Major Open Source Project%


by James Hibbard via SitePoint

This week's JavaScript news, issue 240

This week's JavaScript news
Read this e-mail on the Web
JavaScript Weekly
Issue 240 — July 10, 2015
A look at a feature proposed for ES7 (aka ES2016) that's often used in Python: decorators. They allow you to easily extend the behavior of a function without directly modifying it.
Addy Osmani

If you’ve still not got your head into React, this might be just what you need to get going. An extensive step by step introduction complete with interactive code boxes.
Shusaku Uesugi

A funny and only partly tongue in cheek comic/drawing demonstrating the ever growing complexity of the JavaScript tooling ecosystem.
Cube Drone

A short tutorial with code samples on how to build a collaborative music app that let’s users create, record, and sync beats across multiple browsers in realtime. View Tutorial
Pubnub   Sponsored
Pubnub

Luke Page shows seven quirks in the JavaScript language, including some specific to ES6.
ScottLogic

Arranges HTML5 documents and diagrams with constraint-based optimization techniques and works well with libraries like D3.js and svg.js.
Tim Dwyer

The JSHint team explain their standpoint on supporting new JavaScript features in their popular code quality tool.
JSHint

Patrick Catanzariti shows how to create an augmented reality experience within the browser using Awe.js, a Three.js based library, and your device camera.
SitePoint

Jobs

In brief

Curated by Peter Cooper and published by Cooper Press.

Stop getting JavaScript Weekly : Change email address : Read this issue on the Web

© Cooper Press Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK


by via JavaScript Weekly

Create a Most Shared Posts Plugin for WordPress

Displaying a list of posts in a blog with the most number of shares is a good way to improve a site’s user navigation. In the case of WordPress, a widget is the ideal place for this. Users who wouldn’t otherwise know where to go after reading the current post might check out and hopefully participate in your blog’s most shared posts. These are commonly also the ones which have the most page views, and are likely to be of interest to more readers.

In this tutorial we’ll create a basic plugin to display the most shared posts in a widget. Although there are lots of plugins available for this purpose, many of them tend to be overwhelming and also don’t support caching. In this article, the plugin we’ll build will be lightweight and will cache the top ten most shared posts for the past six hours.

Continue reading %Create a Most Shared Posts Plugin for WordPress%


by Narayan Prusty via SitePoint

watchOS 2: The Power of Animations