ArunMichaelDsouza / Picla

Licence: mit
jQuery plugin that converts Alt-texts into simple image labels

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Picla

Ditherjs
A javascript library which dithers an <img> using a fixed palette
Stars: ✭ 76 (-20%)
Mutual labels:  jquery-plugin
Promoslide
jQuery plugin for promotional content that appears with user scrolling
Stars: ✭ 86 (-9.47%)
Mutual labels:  jquery-plugin
Gdb
Generic Data Binder (GDB) for jQuery is a framework agnostic and extremely easy to use 2 way data binder. GDB binds views and models in realtime with live two-way binding and no hefty framework necessary.
Stars: ✭ 90 (-5.26%)
Mutual labels:  jquery-plugin
Bootstrap Strength Meter
Password strength meter based on Twitter Bootstrap and Password Score.
Stars: ✭ 79 (-16.84%)
Mutual labels:  jquery-plugin
Tui.calendar
🍞📅A JavaScript calendar that has everything you need.
Stars: ✭ 9,537 (+9938.95%)
Mutual labels:  jquery-plugin
Jquery Slick Rails
Integrates Slick carousel, a jQuery plugin, into your Rails app.
Stars: ✭ 89 (-6.32%)
Mutual labels:  jquery-plugin
Tag Handler
Tag Handler is a jQuery plugin used for managing tag-type metadata.
Stars: ✭ 76 (-20%)
Mutual labels:  jquery-plugin
Basictable
Basic Table jQuery or Vanilla JS plugin for simple responsive tables.
Stars: ✭ 94 (-1.05%)
Mutual labels:  jquery-plugin
Jbox
jBox is a jQuery plugin that makes it easy to create customizable tooltips, modal windows, image galleries and more.
Stars: ✭ 1,251 (+1216.84%)
Mutual labels:  jquery-plugin
Jquery Youtube Channels Playlist
jQuery plugin youtube playlist
Stars: ✭ 90 (-5.26%)
Mutual labels:  jquery-plugin
Jquery Mosaic
A jQuery plugin to build responsive mosaics of images or any other content fitted to match heights in multiple rows while maintaining aspect ratios. http://jquery-mosaic.tin.cat
Stars: ✭ 80 (-15.79%)
Mutual labels:  jquery-plugin
Jquery Wizard
A powerful jquery plugin for creating step-by-step wizards. Work great with bootstrap.
Stars: ✭ 82 (-13.68%)
Mutual labels:  jquery-plugin
Waitforimages
A jQuery plugin that lets you attach callbacks to useful image loading events.
Stars: ✭ 1,298 (+1266.32%)
Mutual labels:  jquery-plugin
Jquery.ajax Combobox
jQuery plugin to create a text box which can auto-complete and pull-down-select.
Stars: ✭ 78 (-17.89%)
Mutual labels:  jquery-plugin
Jquery Lightbox
Superseded by Fancybox: https://fancyapps.com/fancybox/3/
Stars: ✭ 90 (-5.26%)
Mutual labels:  jquery-plugin
Richtext
WYSIWYG editor developed as jQuery plugin
Stars: ✭ 77 (-18.95%)
Mutual labels:  jquery-plugin
Popup Maker
Popup Maker plugin for WordPress
Stars: ✭ 87 (-8.42%)
Mutual labels:  jquery-plugin
Jquery Sortablejs
A jQuery binding for SortableJS
Stars: ✭ 94 (-1.05%)
Mutual labels:  jquery-plugin
Translucent
Translucent plastic card theme.
Stars: ✭ 93 (-2.11%)
Mutual labels:  jquery-plugin
Multipicker
Form styling plugin for jQuery
Stars: ✭ 90 (-5.26%)
Mutual labels:  jquery-plugin
picla icon

npm version NPM Downloads Latest Stable Version Patreon donate button

jQuery plugin that converts Alt-texts into simple image labels

http://arunmichaeldsouza.github.io/picla/

Demo on CodePen

picla


Installation

CDN

Use picla directly from jsdelivr CDN

https://cdn.jsdelivr.net/npm/[email protected]/build/picla.min.js

via bower

You can install the package using bower. Make sure you have bower installed, then run :

bower install picla

via npm

npm install picla

Or, download the latest version and include picla.min.js to your project.


Usage

Just add the class picla to any image with descriptive Alt text in order to convert it into a label

<img src="/path-to-image" class="picla" alt="Garden Design"/>

Picla wraps the image within a wrapper and does not add any styles to the created label out of the box. You can use the data-label-class option to add your custom styles


Options

data-label-class

Add a CSS class (custom styles) to the label

<img src="/path-to-image" class="picla" data-label-class="image-label-black" alt="Garden Design"/>

data-label-slideUp

Make the label slide up from the bottom when the user hovers over the image wrapper

<img src="/path-to-image" class="picla" data-label-slideUp data-label-class="image-label-black" alt="Garden Design"/>

You can also add in some transition to this effect by passing in a duration. Default is 300ms

<img src="/path-to-image" class="picla" data-label-slideUp="2s" data-label-class="image-label-black" alt="Garden Design"/>

data-label-fadeIn

Make the label fade in when the user hovers over the image wrapper

<img src="/path-to-image" class="picla" data-label-fadeIn data-label-class="image-label-black" alt="Garden Design"/>

You can add some transition to this effect as well by passing in a duration


picla also supports HTML tags within the alt text

<img src="/path-to-image" class="picla" alt="More about Garden Design <a href='/link'>here</a>" data-label-class="image-label-black"/>

Support

If you'd like to help support the development of the project, please consider backing me on Patreon -


License

MIT Licensed

Copyright (c) 2016 Arun Michael Dsouza ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].