Javascript

IM Creator – A Simple and Professional HTML5 Website BuilderThere are so many website building tools over the Internet but most of them is complicated and confusing to use. They come with offer many designing restrictions and the r...
IM Creator – A Simple and Professional HTML5 Website BuilderThere are so many website building tools over the Internet but most of them is complicated and confusing to use. They come with offer many designing restrictions and the results from most were less than professional.That is all changed now. You simply end up wasting your time and effort . if you need a simple site for creating your own website or for your work. one of the best options is IM Creator.IM Creator is The first HTML5 website builder that makes it easy with simplification process for you to provide better solutions for yourself or your work. You can design basic sites quickly and easily. you can customize the templates with a drag-and-drop editor, with no programming required. if you’d rather not use a template, you can build a site completely from scratch.There are a few reasons, why IM Creator is the best options for you?. First of all, it’s free and IM-Creator makes it easy to update, maintain, and promote your site once it’s live. the Second of all, The tool is based on professional free templates, which are very flexible for editing by a user.There are templates for artists, fashion and beauty, musicians, hotels, architects, personal sites, general business, web designers, restaurant, photography, portfolios, real estate, and much more. There are 100s of designer-made templates, all of which are incredibly flexible and can be customized. The templates of all is modern, stylish, and professional. A lot of website creators play it very safe with their templates, but IM-Creator isn’t afraid to take some risks. Their templates are not only well-designed, but they’re also modern and unique. you would certainly enjoy creating a website..Blogupstairs - Open Source Resources & Tools for Web Developer
about 1 hour ago
Recently I asked engineers to share their experiences working with GitHub at companies. I’ve always used GitHub for open source projects, but I was interested in learning more about using it professionally and how one’s devel...
Recently I asked engineers to share their experiences working with GitHub at companies. I’ve always used GitHub for open source projects, but I was interested in learning more about using it professionally and how one’s development workflow might change given all of GitHub’s capabilities. I set up a gist[1] so people could leave the answers to my questions and got some great responses. The information comes from companies such as Yammer, BBC News, Flickr, ZenDesk, Simple, and more. This is an overview of the responses I received plus some detail from Scott Chacon’s post on Git Flow at GitHub[2]. Basic setup Everyone has at least one GitHub organization under which the official repositories live. Some have more than one organization, each representing a different aspect of the business, however all official repositories are owned by an organization. I suspect this would be the case as it would be horribly awkward to have an important repository owned by a user who may or may not be at the company next year. Also, using an organizational owner for these repositories allows better visibility as to what’s going on with official projects just by looking at the organization. Several people mentioned that no one is barred from creating their own repositories on GitHub for side projects or other purposes. Creating repositories for company-related work is generally encouraged. If a side project becomes important enough, it can be promoted to an organizational repository. Developer setup Companies took a couple of different approaches to submitting code: Most indicated that developers clone the organization repository for their product and then work on feature branches within that repository. Changes are pushed to a remote feature branch for review and safe-keeping. Some indicated that each developer forks the organization repository and does the work there until it’s ready for merging into the organization repository. A couple indicated that they started out with forks and then switched to feature branches on the organization repository due to better transparency and easier workflow. The general trend is in the direction of feature branches on the organization repository. Since you can send pull requests from one branch to another, you don’t lose the review mechanism. Submitting code In the open source world, external contributors submit pull requests when they want to contribute while the maintainers of the project commit directly to the repository. In the corporate world, where everyone may logically be a maintainer for the repository, does it makes sense to have developers send pull requests? The responses were: Some required pull requests for all changes. Some required pull requests only for changes outside of their responsibility area (i.e., making a change to another team’s repo). Other changes can be submitted directly to the organization repository. Some left this up to the developer’s discretion. The developer should know the amount of risk associated with the change and whether or not another set of eyes is useful. The option to submit directly to the repository is always there. The responsibility for merging in pull requests varied across the responses. Some required the team leads to do the merging, others allowed anyone to do the merging. Interestingly, some indicated that they start a pull request as soon as a new feature branch is created in order to track work and provide better visibility. That way, there can be a running dialog about the work being done in that branch instead of temporary one at the time of work completion. Preparing code for submission A secondary part of this process is how the code must be prepared before being merged in. The accepted practice of squashing commits and rebasing still  remains common across the board though the benefits aren’t clear to everyone. Of those who responded: Some required a squash and rebase before a pull req
about 12 hours ago
Making your website ready for Retina display doesn’t have to be a hassle. Whether you are building a new website or upgrading an existing one, this guide is designed to help you get the job done smoothly.Make it Retina First The ea...
Making your website ready for Retina display doesn’t have to be a hassle. Whether you are building a new website or upgrading an existing one, this guide is designed to help you get the job done smoothly.Make it Retina First The easiest and most time-saving way to add Retina support is to create one image that is optimized for Retina devices, and serve it to non-Retina devices as well. By now, every modern browser uses bicubic resampling and does a great job with downsampling images. Here’s a comparison of downsampling in Photoshop vs. Google Chrome, using an image from our Growth Engineering 101 website. There are two ways to let the browser downsample images for you: img tags or CSS background images. You can have img tags serve the Retina-optimized image, and set the width and height attributes to half of the resolution of the actual image (e.g. 400×300 if the image dimensions are 800×600). If you use images as CSS backgrounds, you may use the CSS3 background-size property to downsample the image for non-Retina devices. .photo { background-image: url(Retina-image-800x600-2x.png); background-size: 400px 300px; background-repeat: no-repeat; display: block; width: 400px; height: 300px; } In both cases, be sure to use even numbers in both dimensions to prevent displacement of pixels when the image is being downsampled by the browser.When Downsampling is Not Good Enough Usually, browser downsampling should work quite well. That said, there are some situations where downsampling in the browser might make images blurry. Here we have a bunch of 32px social icons. And here is how they will appear, when downsampled to 16px by Photoshop’s as well as Google Chrome’s bicubic filter. It seems that we get better results from Photoshop in this case. To get the best results for our users, we can create two versions of the same image: one for Retina devices, and another one that has been downsampled by Photoshop for non-Retina devices. Now, you can use CSS media queries to serve Retina or non-Retina images, dependent upon the pixel density of the device. /* CSS for devices with normal screens */ .icons { background-image: url(icon-sprite.png); background-repeat: no-repeat; } /* CSS for high-resolution devices */ @media only screen and (-Webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5) { .icons { background-image: url(icon-sprite-2x.png); background-size: 200px 100px; background-repeat: no-repeat; } } If you use a background color for small icons, on the other hand, downsampling by the browser works rather well. Here is the same downsampling example with a white background. Polishing Your Downsampled Images If you’re still not satisfied with the results from Photoshop’s downsampling, you can go the extra mile and hand-optimize the non-Retina version to get super crisp results. Below are some examples of images from the Blossom product website that I hand-optimized for those who are still on non-Retina devices.Borders and Strokes Here’s an example of downsampling issues with hairlines, where I re-draw the lines of the downsampled image. View the Retina Version of this Image on Dribbble. Text Next, we come to an example of downsampling issues with text. In this case, I manually re-wrote the text “Feature Pipeline” to make the result as crisp as possible. Retina Version When details, crisp fonts, and clean hairlines are important, you might want to go the extra mile.Try to Avoid Images The main disadvantages of rasterized images are their considerable file size and that they don’t scale well to different sizes without affecting the image quality. Great alternatives to rasterized graphics are CSS, Scalable Vector Graphics (SVG), and Icon
about 14 hours ago
Lightweight & Powerful Responsive Web Framework : IVORYIVORY is Simple, Flexible, & Powerful responsive web framework that makes your web development faster and easier. It can handle responsive layouts from 1200px on down to 320px w...
Lightweight & Powerful Responsive Web Framework : IVORYIVORY is Simple, Flexible, & Powerful responsive web framework that makes your web development faster and easier. It can handle responsive layouts from 1200px on down to 320px widths.The Framework is perfectly designed and developed in the lightweight manner. It is packed with Typography, Form controls, Buttons and many other UI components.Demo: http://weice.in/ivory/demo.html Download: http://weice.in/ivory/ License : GPL LicenseBlogupstairs - Open Source Resources & Tools for Web Developer
1 day ago
Note: You can send your plugins and articles in for review through our contact form. Anchorify.js Anchorify.js (GitHub: willdurand / anchorify.js, License: MIT) by William Durand automatically inserts unique anchored headings. The ...
Note: You can send your plugins and articles in for review through our contact form. Anchorify.js Anchorify.js (GitHub: willdurand / anchorify.js, License: MIT) by William Durand automatically inserts unique anchored headings. The default markup is an anchor with a pilcrow sign, but this can be overridden if desired. Even though the plugin is relatively simple, William has included QUnit tests and put the project up on jQuery’s new plugin site. Minimalect Minimalect (GitHub: groenroos / minimalect, License: MIT) by Oskari Groenroos is a select element replacement that supports optgroups, searching, keyboard navigation, and themes. It comes with two themes that are intentionally simple, allowing you to easily customise them using CSS, and no images are required by default. Options include placeholder text, a message when no search results are found, class name overrides, and lifecycle callbacks.
1 day ago
Like most content management systems, PyroCMS uses front-end themes. Though PyroCMS themes are built a bit differently than what you might be used to from other systems, they’re still quite easy to create. They’re so easy, in...
Like most content management systems, PyroCMS uses front-end themes. Though PyroCMS themes are built a bit differently than what you might be used to from other systems, they’re still quite easy to create. They’re so easy, in fact, that very little PHP experience is required to assemble them!The Folder StructurePyroCMS themes consist of HTML, images, CSS, and JavaScript, arranged into the following supported folders: css img js views views/layouts views/partials views/modulesWhile these folders will no doubt look familiar to you, the "views" folder makes the most sense within the context of MVC. When building a theme for PyroCMS, you are really building the views (including assets) of a MVC patterned application. These views consist of a master layout file and multiple partial files (i.e. a header.html or footer.html) that shares presentation logic between different layouts. We’ll discuss this more shortly.Getting StartedTo get started building your first PyroCMS theme, create the supported folder structure in one of the two places that themes may reside within an instance of PyroCMS:addons/shared_addons/themes (for themes available to all sites) Or: addons/[site-name]/themes (for themes available to only one specific site) Once you have the base theme folder containing the supported folder structure created, the first file that you'll want to add to your theme is theme.php.addons/shared_addons/themes/[my-theme-name]/theme.php This theme.php file contains all essential details for your theme, including its name, author, version, etc. In a way, this file is similar to the comment block found at the top of a WordPress theme's style.css file. Here’s a basic example of a theme.php file for your PyroCMS theme:Please take note that this file extends a PyroCMS class, called Theme. Also, because you are declaring a PHP class in this file, you'll need to make sure that the name of the folder containing your theme is used in the class declaration. So, if the folder housing your theme is called, "foo," the class created in your theme.php should be named, Theme_Foo (instead of Theme_Custom, as shown in the example within PyroCMS' documentation).Once you have created your theme.php file, you can login to your PyroCMS control panel and view your theme listed in the Themes module. LayoutsAll layouts files for a PyroCMS theme exist in one of two locations:addons/[site-ref]/themes/[my-theme-name]/views/layouts/ Or: addons/shared_addons/themes/[my-theme-name]/views/layouts/ Every theme should have a layout file, named "default.html" in one of the locations listed above. Additional layout files are optional; I'll show you how to add more layout files in a moment. First, it’s important to review the contents of a layout file.Layout files in PyroCMS are built using HTML and a tag parser, referred to as the Lex Tag Parser. This is what a very basic PyroCMS layout file looks like: {{ template:title }} {{ template:metadata }} {{ template:title }} {{ template:body }} The special tags you see in this bit of HTML are Lex parser tags. If you've ever used Smarty templates in PHP, these may look somewhat familiar. The primary benefit to using Lex parser tags in your layout files is that you don't have to put PHP directly in your views (remember, we're using MVC), which gives you the best chance of creating PyroCMS themes that follow the don’t repeat yourself pattern.The example that I've given above is simple, of course, but Lex parser tags are quite powerful. They can loop through data, work with attributes, and more. Learn more about the Lex Parser in the PyroCMS documentation.A more complex PyroCMS layout file looks like this: {{ template:title }} {{ template:metadata }} {{ theme:favicon file="favicon.png" }} {{ theme:css file="style.css" }} {{ theme:js file="site.js" }} {{ theme:im
1 day ago
A while back I wrote a post about WordPress Shortcode creation.  Shortcodes are convenient and useful on so many levels and for so many levels of skilled WordPress users.  A basic user can quickly learn shortcodes, as can an expert-level...
A while back I wrote a post about WordPress Shortcode creation.  Shortcodes are convenient and useful on so many levels and for so many levels of skilled WordPress users.  A basic user can quickly learn shortcodes, as can an expert-level developer.  In short, shortcodes are an invaluable tool for all levels of WordPress user.  Mighty Deals is offering a WordPress plugin containing 5,000 WordPress shortcodes plus three bonus themes for less than $20.  Shortcodes include: Buttons Hate the same old buttons you have on your site? No worries. Choose from literally hundreds of CSS3 button variations to add to your page. You can even alter the icon, color and size of each one. Tooltips Want to convey a lot of crucial information without busying up your page? Tooltips let you do just that with a small layer that pops up when moused over. Choose from a large variety of CSS3 tooltips and customize the color, pick the direction, and even embed images and videos right in there. Image ShadowsYou can add a touch of oomph to all your photos by putting an extra 3D shadow on each image. Quick and easy to implement on any images within your blog. Content Info BoxesYou want boxes? You’ve got boxes! Choose from a huge selection of content info boxes that can include icons, pictures, links, and even a video. Pricing TablesLooking to show off prices for your product or service? The sleek pricing table will fit any blog design no matter if your site is a corporate or personal one. QuotesDisplay huge pull quotes easily to make important content truly stand out. Justify your text with left, right, and full alignments. HighlightsColorful highlights can display key words or phrases throughout your page. Customize each highlight with any color you can imagine. AccordionOrganize large blocks of text into smaller pieces of content with toggable sections that slide open to reveal text when users click on each section. Tabbed ContentGo ahead and add vertical or horizontal tabs to your content to further organize things for your users. Custom ListsChoose from a variety of fresh icons to spice up your unordered lists. ColumnsWant to break you content into columns for better flow? Choose from a variety of column options to suit your needs. If you run a WordPress-powered website, you may want to consider this package; it may contain dozens and dozens of shortcodes that make your job much easier! Get Shorcodes!Read the full article at: Mighty Deals: WordPress Shortcodes Plugin + 3 Premium WP Themes
1 day ago
A Pretty JSON Inspector & Visualizer – JSONmateJSONmate is a JSON editor component for you web apps/pages that can beautifier JSON strings where these strings can be directly pasted or loaded from a remote URL. It can customiz...
A Pretty JSON Inspector & Visualizer – JSONmateJSONmate is a JSON editor component for you web apps/pages that can beautifier JSON strings where these strings can be directly pasted or loaded from a remote URL. It can customizing and a visualizer the data that provides with different view. With this app you’r not anymore hard too understand their hierarchy at the first look.HomePage & Demo : http://jsonmate.com/ Download : https://github.com/DavidDurman/FlexiJsonEditor License : MIT licenseBlogupstairs - Open Source Resources & Tools for Web Developer
2 days ago
Learning modern modular frameworks like Backbone.js and AngularJS involves mastering a large amount of terminology, even just to understand a Hello, World application. With that in mind, I wanted to take a break from higher-level librari...
Learning modern modular frameworks like Backbone.js and AngularJS involves mastering a large amount of terminology, even just to understand a Hello, World application. With that in mind, I wanted to take a break from higher-level libraries to answer the question: what is a module? The Background Story Client-side development has always been rife with techniques for patching missing behaviour in browsers. Even the humble tag has been cajoled and beaten into submission to give us alternative ways to load scripts. It all started with concatenation. Rather than loading many scripts on a page, they are instead joined together to form a single file, and perhaps minimised. One school of thought was that this is more efficient, because a long HTTP request will ultimately perform better than many smaller requests. That makes a lot of sense when loading libraries – things that you want to be globally available. However, when writing your own code it somehow feels wrong to place objects and functions at the top level (the global scope). If you’re working with jQuery, you might organise your own code like this: $(function() { function MyConstructor() { } MyConstructor.prototype = { myMethod: function() { } }; var instance = new MyConstructor(); }); That neatly tucks everything away while also only running the code when the DOM is ready. That’s great for a few weeks, until the file is bustling with dozens of objects and functions. That’s when it seems like this monolithic file would benefit from being split up into multiple files. To avoid the pitfalls caused by large files, we can split them up, then load them with tags. The scripts can be placed at the end of the document, causing them to be loaded after the majority of the document has been parsed. At this point we’re back to the original problem: we’re loading perhaps dozens of tags inefficiently. Also, scripts are unable to express dependencies between each other. If dependencies between scripts can be expressed, then they can be shared between projects and loaded on demand more intelligently. Loading, Optimising, and Dependencies The tag itself has an async attribute. This helps indicate which scripts can be loaded asynchronously, potentially decreasing the time the browser blocks when loading resources. If we’re going to use an API to somehow express dependencies between scripts and load them quickly, then it should load scripts asynchronously when possible. Five years ago this was surprisingly complicated, mainly due to legacy browsers. Then solutions like RequireJS appeared. Not only did RequireJS allow scripts to be loaded programmatically, but it also had an optimiser that could concatenate and minimise files. The lines between loading scripts, managing dependencies, and file optmisation are inherently blurred. AMD The problem with loading scripts is it’s asynchronous: there’s no way to say load('/script.js') and have code that uses script.js directly afterwards. The CommonJS Modules/AsynchronousDefinition, which became AMD (Asynchronous Module Definition), was designed to get around this. Rather than trying to create the illusion that scripts can be loaded synchronously, all scripts are wrapped in a function called define. This is a global function inserted by a suitable AMD implementation, like RequireJS. The define function can be used to safely namespace code, express dependencies, and give the module a name (id) so it can be registered and loaded. Module names are “resolved” to script names using a well-defined format. Although this means every module you write must be wrapped in a call to define, the authors of RequireJS realised it meant that build tools could easily interpret dependencies and generate optimised builds. So your development code can use RequireJS’s client-side library to load the necessary scripts
2 days ago
AudioPlayer.js – Responsive & Touchable HTML5 Audio PlayerAudioPlayer.js is a jQuery plugin for easily and quickly adding a HTML5-powered audio player to any web page. The player’s interface has a responsive layout and touchab...
AudioPlayer.js – Responsive & Touchable HTML5 Audio PlayerAudioPlayer.js is a jQuery plugin for easily and quickly adding a HTML5-powered audio player to any web page. The player’s interface has a responsive layout and touchable with Image-less The plugin is lightness, it is just 4KB. It has the major controls (play/pause, volume and duration). It works fine on the latest Safari, Chrome, Firefox, Opera both Mac and Windows versions. The player works well on Internet Explorer 9, 10 and gracefully degrades to mini mode on earlier versions. Website: http://osvaldas.info/audio-player-responsive… Demo: http://osvaldas.info/examples/audio-player-responsive… License : Other License Blogupstairs - Open Source Resources & Tools for Web Developer
3 days ago