All Projects → etienne-martin → Mapify

etienne-martin / Mapify

Licence: other
Responsive and stylable image maps using jQuery, SVG and CSS3

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mapify

Vue Draggablecal
Not your ordinary datepicker. A Vuejs draggable date selector with a fresh responsive design, mobile ready and 0 dependencies, 17kb gzipped
Stars: ✭ 79 (-21%)
Mutual labels:  responsive
Natural Gallery Js
A lazy load, infinite scroll and natural layout list gallery
Stars: ✭ 93 (-7%)
Mutual labels:  responsive
Particles.js
A lightweight, dependency-free and responsive javascript plugin for particle backgrounds.
Stars: ✭ 1,336 (+1236%)
Mutual labels:  responsive
Paperadmin
A flat admin dashboard using Angular JS 2/4
Stars: ✭ 80 (-20%)
Mutual labels:  responsive
Ungrid
ungrid - the simplest responsive css grid
Stars: ✭ 1,292 (+1192%)
Mutual labels:  responsive
Quasar Apexcharts
📊 📈 📉 Project using Quasar framework and ApexCharts.
Stars: ✭ 94 (-6%)
Mutual labels:  responsive
Easygrid
EasyGrid - VanillaJS Responsive Grid
Stars: ✭ 77 (-23%)
Mutual labels:  responsive
React Responsive Select
A customisable, touchable, React select / multi-select form control. Built with keyboard and screen reader accessibility in mind
Stars: ✭ 98 (-2%)
Mutual labels:  responsive
React Responsive Picture
A future-proof responsive image component that supports latest Picture specification
Stars: ✭ 91 (-9%)
Mutual labels:  responsive
Educenter Hugo
Educenter is an educational website template. It can be used as an online teaching platform, school and university websites
Stars: ✭ 96 (-4%)
Mutual labels:  responsive
Infima
A UI framework that provides websites with the minimal CSS and JS needed to get started with building a modern responsive beautiful website
Stars: ✭ 82 (-18%)
Mutual labels:  responsive
Vue Responsive
A plugin for responsive handling with vue.js
Stars: ✭ 86 (-14%)
Mutual labels:  responsive
React Native Flexbox Grid
Responsive Grid for React Native
Stars: ✭ 95 (-5%)
Mutual labels:  responsive
Jekyll Cloudinary
Jekyll plugin adding a Liquid tag for Cloudinary, for better responsive images
Stars: ✭ 79 (-21%)
Mutual labels:  responsive
Universal Resume
Minimal and formal résumé (CV) website template for print, mobile, and desktop. https://bit.ly/ur_demo
Stars: ✭ 1,349 (+1249%)
Mutual labels:  responsive
React Poppop
A mobile support and multi-directional modal for ReactJS
Stars: ✭ 78 (-22%)
Mutual labels:  responsive
Match Media
Universal polyfill for match media API using Expo APIs on mobile
Stars: ✭ 95 (-5%)
Mutual labels:  responsive
Angular Generic Table
A generic table for Angular 2+. Generic table uses standard markup for tables ie. table, tr and td elements etc. and has support for expanding rows, global search, filters, sorting, pagination, export to CSV, column clicks, custom column rendering, custom export values.
Stars: ✭ 100 (+0%)
Mutual labels:  responsive
Imgnotes
Extension of the jQuery imgViewer plugin to add markers and notes to the image
Stars: ✭ 98 (-2%)
Mutual labels:  responsive
Fitvids
Make your video embeds responsive
Stars: ✭ 95 (-5%)
Mutual labels:  responsive

Mapify plugin

Responsive and stylable image maps using jQuery, SVG and CSS3

Project website: http://etiennemartin.ca/mapify/

Basic usage

Embed jquery.mapify.css and jquery.mapify.js in your page and call the plugin with the following function:

$("img[usemap]").mapify();

Popovers

$("img[usemap]").mapify({
	popOver: {
  		content: function(zone){ 
  				return "<strong>"+zone.attr("data-title")+"</strong>"+zone.attr("data-nbmembre")+" Members";
  		},
  		delay: 0.7,
  		margin: "15px",
  		height: "130px",
  		width: "260px"
  	}
});

Custom class for a specific popOver

<area data-pop-over-class="custom-popover" href="#" shape="poly" coords="..." />

Hover effects

Custom hover class for all areas

$("img[usemap]").mapify({
	hoverClass: "custom-hover"
});  

Custom hover class for a specific area

<area data-hover-class="custom-hover-2" href="#" shape="poly" coords="..." />

Group multiple areas together

<area data-group-id="group-1" href="#" shape="poly" coords="..." />
<area data-group-id="group-1" href="#" shape="poly" coords="..." />

Stylable with css

.custom-popover{
	background: #09f;
}

.mapify-hover{
	fill:rgba(0,0,0,0.15);
	stroke: #fff;
	stroke-width: 2;
}
	
.custom-hover{
	fill:rgba(0,0,0,0.15);
	stroke: #fff;
	stroke-width: 2;
}

.custom-hover-2{
	fill: #09f;
	stroke: #fff;
	stroke-width: 2;
}

Examples

See http://etiennemartin.ca/mapify/ for live examples.

Built With

  • Grunt - The JavaScript Task Runner
  • jQuery - A fast, small, and feature-rich JavaScript library
  • Sass - Syntactically Awesome Style Sheets

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Update the README.md with details of changes to the plugin.

Update the demo with examples demonstrating the changes to the plugin.

Build the project & test all the features before submitting your pull request.

Authors

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

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].