https://github.com/moagrius/jquery-zencoding
https://github.com/moagrius/jquery-zencoding
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/moagrius/jquery-zencoding
- Owner: moagrius
- Created: 2012-08-25T05:53:02.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-08-25T06:06:13.000Z (almost 14 years ago)
- Last Synced: 2025-01-29T12:47:05.991Z (over 1 year ago)
- Size: 113 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jQuery - ZenCoding
Simple jQuery plugin based on Sergey Chikuyonok's excellent Zen Coding implementation.
Adds a single method to jQuery instances, `zencode(abbreviation /* string */)`, which accepts a string abbreviation and expands it, then set the calling element's html to the expanded markup.
$('#some-element').zencode('div#page>div.logo+ul#navigation>li*5>a');
See demo.html for a simple example.