background preloader


Facebook Twitter

Mini-page navigation – dropthebit. I went to sleep and suddenly I had a thought, that I must create a script that lets the user navigate through a web page using a "mini-page" helper on the side of the page, so the user could see where he is in relation to page as a whole. I don't really think it's super helpful to anyway, but I sure did wanted to create it. and 2 days later I have my first prototype using a bunch of wonderful code that others wrote and I incorporated into my solution. This is only a prototype so far, so I need to clean up some code and write my own drag function because jQueryUi draggable sucks (they don't care about a major 4 years bug) and also it's way too fat of a script with all the shit in it (custom built), So I used this much better plugin &ndash jQuery.event.drag (but i'm gonna write my own because even this one is way to much for such a simple thing I need).

The heart of this is the super awesome code html2canvas which I'm using to convert the DOM into a Canvas image I could work with. REST API. The CloudConvert REST API offers you great possibilites to convert files in the same way as you can do on the CloudConvert website. To get started you can just play around with the API console below.

The API Console also generates basic code snippets, which can be used for an easy and fast integration in your app! Click on the button below to read the full API documentation.  Read the API Documentation POST Code Snippets curl -L -F file=@"input.undefined" " Papa Parse - Powerful CSV parser for Javascript. Examples - jQuery Bootgrid. It's just that simple. Turn your simple table into a sophisticated data table and offer your users a nice experience and great features without any effort. Code <table id="grid-basic" class="table table-condensed table-hover table-striped"> <thead> <tr> <th data-column-id="id" data-type="numeric">ID</th> <th data-column-id="sender">Sender</th> <th data-column-id="received" data-order="desc">Received</th> </tr> </thead> <tbody> <tr> <td>10238</td> <td></td> <td>14.10.2013</td> </tr> ...

</tbody></table> JavaScript $("#grid-basic").bootgrid(); <table id="grid-data" class="table table-condensed table-hover table-striped"> <thead> <tr> <th data-column-id="id" data-type="numeric">ID</th> <th data-column-id="sender">Sender</th> <th data-column-id="received" data-order="desc">Received</th> <th data-column-id="link" data-formatter="link" data-sortable="false">Link</th> </tr> </thead></table> POST Body (Request) JSON (Response) All setting can be also set via data attributes.

Parsley - Examples | Custom validator. Chained Selects Plugin for jQuery and Zepto. Chained is simple chained selects plugin. It works with both jQuery and Zepto. Use class based version if you do not want to make external queries. It uses HTML class names of select options to decide content. To create selects from AJAX queries use remote version instead. This version makes an external AJAX query and uses the returned JSON to build child selects. See standalone demo page for quick working example. Class Based Usage Child selects are chained to parent select.

First you must include jQuery and Chained in your code: Then lets assume you have the following HTML code: You can now chain the #series to #mark. $("#series").chained("#mark"); /* or $("#series").chainedTo("#mark"); */ Try here to see how it works. Many Selects Let’s add a third select.

Now lets chain #model to #series. $("#series").chained("#mark"); $("#model").chained("#series"); Chaining to Multiple Parents One child can also have two parents. Here is HTML for fourth select. Using Remote Version PRO TIP! PRO TIP! Install. iPicture - Tooltip your images. ScrollUp jQuery plugin — Mark Goodyear — Front-end developer and designer. ScrollUp is a lightweight jQuery plugin to create a customisable “Scroll to top” feature that will work with any website, with ease. Recently whilst working on a client project I was required to implement a “Scroll to top” feature to make it easy for the user to get back to the top of the page.

I decided to take this further and turn it into a fully customisable jQuery plugin to work with any site. How to use Simply include the jquery.scrollUp.min.js file and place the following in the head of your document (make sure jQuery is included): Minimum setup Example with default options activeOverlay To create a visible line to help determin an ideal scroll distance from the top, assign a valid CSS colour to the activeOverlay setting. Fully Customisable ScrollUp is fully customisable through CSS which makes it simple to fit right into your project. Check out the demo for more style and feature examples.

Redactor WYSIWYG html editor. By James Fenimore Cooper Winding its way among countless islands, and imbedded in mountains, the "holy lake" extended a dozen leagues still further to the south. With the high plain that there interposed itself to the further passage of the water, commenced a portage of as many miles, which conducted the adventurer to the banks of the Hudson, at a point where, with the usual obstructions of the rapids, or rifts, as they were then termed in the language of the country, the river became navigable to the tide.​ "Come," he said, with a good-humored smile; "the buck that will take to the water must be headed, and not followed. " The route taken by Hawkeye lay across those sandy plains, relived by occasional valleys and swells of land, which had been traversed by their party on the morning of the same day, with the baffled Magua for their guide.

The sun had now fallen low toward the distant mountains; and as their journey lay through the interminable forest, the heat was no longer oppressive. Tutoriel Javascript : VelocityJS. Multiple Select. Multiple Select Multiple select is a jQuery plugin to select multiple elements with checkboxes :). Multiple Selected is licensed under the The MIT License. Completely free, you can arbitrarily use and modify this plugin. If you like this plugin, you can give me a star, and I will do better, thanks. Current version: 1.1.0 Requirements jQuery >= 1.7.0 Features Default option allows to show checkbox.Ability to grouping elements.Supports to show multiple items in single row.Select all options.Feature to show placeholder.

Browser Compatibility IE 7+Chrome 8+Firefox 10+Safari 3+Opera 10.6+ Examples The Basics1 Multiple Select can take a regular select box like this: and turns it into: <head><link href="multiple-select.css" rel="stylesheet"/></head><body><select multiple="multiple"><option value="1">January</option> ... The Basics2 <head><link href="multiple-select.css" rel="stylesheet"/></head><body><select multiple="multiple" disabled="disabled"><option value="1">January</option> ... The Basics3 The Styler. Examples - BootstrapValidator. Edit on Github Attribute This example illustrates the ability of setting validator options via HTML attributes. In order to set a specific validator to given field, you have to declare additional attributes for the field.

For example: Here are some important points when setting the attributes for field: {validatorname} and {validatoroption} must be lowercase. Set data-bv-{validatorname} or data-bv-{validatorname}="true" to enable particular validator for field.Set data-bv-{validatorname}="false" to disable the validator. If there are multiple elements having the same name, you just need to set the HTML attribute to one of them.

<script> $(document).ready(function() { $('#attributeForm').bootstrapValidator(); }); </script> BootstrapValidator supports a few of HTML 5 types, attributes listed as following: <script type="text/javascript"> $(document).ready(function() { $('#html5Form').bootstrapValidator(); }); </script> Modal Setting Options via HTML Attributes Using Ajax to Submit Form Toggling Tabs. Powerange - iOS 7 style range slider. About Powerange Powerange is a range slider control, inspired heavily by iOS 7 and the "Power Rangers" TV series. It is easily customizable, both by CSS and JavaScript. With it's many features, including changing color and overall style, switching between horizontal and vertical style, custom min, max and start values, custom step interval, displaying decimal values, displaying icons instead of min/max numbers, it is a really powerful UI tool to use on your website.

A great cross-browser solution, supporting: Google Chrome 14+, Mozilla Firefox 6.0+, Opera 11.6+, Safari 5+, IE 9+ Licensed under The MIT License. If you like this module and you're a fan of iOS 7 style UI widgets, check out Switchery. Star the GitHub repo Installation Standalone Component $ component install abpetkov/powerange Bower $ bower install powerange Usage var elem = document.querySelector('.js-range'); var init = new Powerange(elem); Use the above for the standalone version.

NOTE: your element must be a text input defaults = { Velocity.js. Lazy Load Plugin for jQuery. Lazy Load is delays loading of images in long web pages. Images outside of viewport are not loaded until user scrolls to them. This is opposite of image preloading. Using Lazy Load on long web pages will make the page load faster. In some cases it can also help to reduce server load.

Plugin is inspired by YUI ImageLoader Utility by Matt Mlinac. For those in hurry there are several demo pages: basic options, with fadein effect, noscript fallback, horizontal scrolling, horizontal scrolling inside container, vertical scrolling inside container, page with gazillion images, load images using timeout and load images using AJAX(H). When checking the demos clear browser cache between each request. How to Use? Lazy Load depends on jQuery. You must alter your image tags. <img class="lazy" data-original="img/example.jpg" width="640" height="480"> $(function() { $("img.lazy").lazyload(); }); This causes all images of class lazy to be lazy loaded. PRO TIP! Setting Threshold Event to Trigger Loading. NanoGALLERY - image gallery simplified. The language defined in the browser is used. If no corresponding definition is found, then the default language is used. - Internationalization of UI elements: Following elements support multi-language: 'breadcrumbHome' 'paginationPrevious' 'paginationNext' 'thumbnailImageTitle' 'thumbnailAlbumTitle' 'thumbnailImageDescription' 'thumbnailAlbumDescription'.

Set the correponding i18n properties. Use _LanguageCode to specify one language. Example: - Multi-language image titles and descriptions: Supported by API-method. Use _LanguageCode to specify one language. Impressivewebs/frontend-feeds.