All Projects → mberneti → jquery-svg

mberneti / jquery-svg

Licence: MIT License
A jQuery plugin to apply css styles and js scripts to a SVG which is embedded (using the <object> tag).

Programming Languages

HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to jquery-svg

instastory.js
This is a jQuery plugin to make it easy to get a feed from instagram. No need of access tokens and other stuff, Only thing needed is jQuery.
Stars: ✭ 36 (+28.57%)
Mutual labels:  jquery-plugin
jquery-alphaindex
jQuery plugin to create alphabetical indexes for your lists
Stars: ✭ 12 (-57.14%)
Mutual labels:  jquery-plugin
jqIpLocation
jqIpLocation – jQuery Plugin that returns the location of an IP address in JSON format
Stars: ✭ 18 (-35.71%)
Mutual labels:  jquery-plugin
KeyboardDelimiter
jQuery Plugin for delimite pressed key on keyboard
Stars: ✭ 14 (-50%)
Mutual labels:  jquery-plugin
jquery-imageuploader-js
A JQuery plugin that provides an interface for managing a set of files to upload. Files will have a thumbnail preview and can be removed before the upload step.
Stars: ✭ 18 (-35.71%)
Mutual labels:  jquery-plugin
GaugeMeter
An elegant and dynamic animated graphical gauge meter built with jQuery. GaugeMeter.js is highly customizable and includes full-radial, semi-radial & arch dials.
Stars: ✭ 30 (+7.14%)
Mutual labels:  jquery-plugin
jquery.smartbox
基于jquery 的弹出层插件。官方文档:http://smartbox.huangsw.com/cn/introduce.html
Stars: ✭ 21 (-25%)
Mutual labels:  jquery-plugin
busy-load
A flexible loading-mask jQuery-plugin
Stars: ✭ 76 (+171.43%)
Mutual labels:  jquery-plugin
lazeemenu
Multi-level sidebar menu - JQuery plugin
Stars: ✭ 40 (+42.86%)
Mutual labels:  jquery-plugin
ivia
A reactive & model-driven MVVM framework for jQuery with Vue-like interface.
Stars: ✭ 69 (+146.43%)
Mutual labels:  jquery-plugin
jq-ajax-progress
jQuery plugin that adds support of `progress` promise
Stars: ✭ 59 (+110.71%)
Mutual labels:  jquery-plugin
selectr
✅ The coolest jQuery select plugin you've never seen
Stars: ✭ 19 (-32.14%)
Mutual labels:  jquery-plugin
intl-tel-input-rails
intl-tel-input for the Rails asset pipeline
Stars: ✭ 35 (+25%)
Mutual labels:  jquery-plugin
provejs-jquery
An event based jQuery plugin for client-side validation of html forms.
Stars: ✭ 76 (+171.43%)
Mutual labels:  jquery-plugin
biz-ui
jQuery Plugin Collections for Business
Stars: ✭ 24 (-14.29%)
Mutual labels:  jquery-plugin
jquery.niceform
The jQuery plugin for validation and post form data to server
Stars: ✭ 16 (-42.86%)
Mutual labels:  jquery-plugin
jquery-regexp-classes
$(elem).removeClass(regExp) and $(elem).hasClass(regExp)
Stars: ✭ 18 (-35.71%)
Mutual labels:  jquery-plugin
cascading-dropdown
Cascading form drop-down menus
Stars: ✭ 43 (+53.57%)
Mutual labels:  jquery-plugin
decoy
jQuery plugin to make decoys for your elements.
Stars: ✭ 53 (+89.29%)
Mutual labels:  jquery-plugin
ml-stack-nav
Customizable, responsive, accessible, easy-to-use multi-level stack navigation menu with slide effect.
Stars: ✭ 20 (-28.57%)
Mutual labels:  jquery-plugin

jquery-svg

A lightweight jQuery plugin to apply css styles and js scripts to a SVG which is embedded (using the <object> tag).

Usage

  1. Include jQuery:

    <script src="../lib/jquery.min.js"></script>
  2. Include plugin's code:

    <script src="../dist/jquery.svg.es5.min.js"></script>
  3. Call the plugin:

        window.onload = function(){
            
                //apply embed css to the svg object
                $("#cars").setSVGStyle(style);
                //or
                //apply css by stylesheet link
                $("#cars").setSVGStyleLink(stylepath);
    
                //get svg object, like a jquery object
                var svg = $("#cars").getSVG();
                //use jquery functions to do some thing
                svg.find("g path:first-child()").attr('fill', color);
                
            };

Demo

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