반응형
반응형

Zepto Builder: A web based Zepto customizer

zeptobuilder

Zepto Builder will let you generate a custom version of Zepto that just includes the modules you need.

 

Getting started

After cloning (or downloading) the repo you must run npm install to fetch all dependencies, when this is done all Bower packages will automatically be downloaded and a browser build of Uglify will be created. Needless to say, for this to work you will need to have Node.js and Bower installed on your machine.

Grunt task

Grunt is used to create a distribution build. By running the default Grunt task it will optimize all resources and store them in the dist folder. The files located in this folder are prepared to be uploaded / deployed as is.

Under the hood

So, how does this tool actually work? Well, altough Zepto offers a CLI-based build tool I have decided to make it client-side only, based on DownloadBuilder. The process from selecting the modules to actually generating the build (and minify it) is:

  • all available Zepto module metadata (i.e. name, size and URL) is dynamically fetched from GitHub and cached (for now this is session based);
  • the module descriptions are mapped via a static JSON file (assets/json/modules.json) and are shown when hovering the table rows;
  • based on ones selection the modules will be fetched from GitHub and concatenated by DownloadBuilder
  • the minification process is handled by a browser build of Uglify
반응형
반응형

Lazy Load XT: A jQuery plugin for images and more

lazyload

 

Lazy load XT is a jQuery plugin for images, videos and other media

http://ress.io/lazy-load-xt-jquery/

 

Lazy Load XT jQuery plugin


Table of Contents

About

Mobile-oriented, fast and extensible jQuery plugin for lazy loading of images/videos with build-in support of jQueryMobile framework.

Currently tested in IE 6-11, Chrome 1-31, Firefox 1.5-27.0, Safari 3-7, Opera 10.6-18.0, iOS 5-7, Android 2.3-4.4, Amazon Kindle Fire 2 and HD 8.9.

Required jQuery 1.7+ or Zepto 1.0+.

 

 

반응형
반응형

Slow.js: Slow down your CSS transition durations

slow.js

 

반응형
반응형
30 Best jQuery Popup Window Dialog Box plugins

 

1. A Popup Dialog Box for jQuery Mobile

BJPWDBP01

Demo & Download

2. JQuery SuperBox

BJPWDBP02

Demo & Download

3. Avgrund Modal

BJPWDBP03

Demo & Download

4. JavaScript Modal Windows

BJPWDBP04

Demo & Download

5. JQuery Confirm Dialog Replacement

BJPWDBP05

Demo & Download

6. JQuery Custom PopUp Window

BJPWDBP06

Demo & Download

7. JQuery Modals Made Easy

BJPWDBP07

Demo & Download

8. Popup Modal Window

BJPWDBP08

Demo & Download

9. SIMPLE & NICE MODAL POPUP USING JQUERY

BJPWDBP09

Demo & Download

10. A lightweight dialog box jQuery plugin

BJPWDBP10

Demo & Download

11. A simple message plugin for jQuery

BJPWDBP11

Demo & Download

12. BPopup

BJPWDBP12

Demo & Download

13. Custom JavaScript Dialog Boxes

BJPWDBP13

Demo & Download

14. Facebook like Dialog Overlay With Frills

BJPWDBP14

Demo & Download

15. Facebook Style Alert Confirm Box

BJPWDBP15

Demo & Download

16. JavaScript Popup lightbox

BJPWDBP16

Demo & Download

17. JQuery pop Box

BJPWDBP17

Demo & Download

18. JQuery PopBox Sign Up

BJPWDBP18

Demo & Download

19. JQuery Popup Login Dialog Box

BJPWDBP19

Demo & Download

20. JQuery Popup Modal Dialog Plugins

BJPWDBP20

Demo & Download

21. JQuery Popup Plugin

BJPWDBP21

Demo & Download

22. JQuery YouTube Popup Player Plugin

BJPWDBP22

Demo & Download

23. Lightview

BJPWDBP23

Demo & Download

24. Login Box Modal Dialog Window

BJPWDBP24

Demo & Download

25. Popup Dialog Windows using JQuery

BJPWDBP25

Demo & Download

26. Pop up Survey with jQuery UI Dialog

BJPWDBP26

Demo & Download

27. Simple jQuery Plugin for Popup Window

BJPWDBP27

Demo & Download

28. Simple Modal jQuery Alert

BJPWDBP28

Demo & Download

29. Simple Modal jQuery Popup Box

BJPWDBP29

Demo & Download

30. The Noty jQuery Plugin

BJPWDBP30

Demo & Download

 

 

 

 

반응형
반응형

10 JavaScript Audio Libraries for Developers

 

1. Howler.js

howlerjs
Howler.js is a JavaScript library that works with Web Audio API by default and falls back to HTML5 Audio when not supported. It accepts multiple file formats for cross-browser compatibility, has caching and can play many sounds at the same time (it is also mute/un-mute them one-by-one or globally). The sounds can be looped, a fadeIn/fadeOut effect exists and standard media controls are just a part of the library. It is lightweight (5kb), has support for chaining methods and doesn’t require any JS frameworks.

Source

2. Annyang.js

annyang
Annyang is a tiny javascript library that lets your visitors control your site with voice commands. Annyang has no dependencies, weighs less than 1kb, and is free to use and modify. It plays nicely with all browsers, progressively enhancing browsers that support SpeechRecognition, while leaving users with older browsers unaffected. It is licensed under MIT License.

Source

3. Voix.js

Voix-JS-Component
Voix.JS is handy, lightweight JavaScript library for adding voice commands to your site, games and apps. It has functions to start and stop listening through the microphone and we can set events to be fired when a given keyword is detected.

Source

4. Audio.js

audio.js
Audio.js is a drop-in javascript library that allows HTML5′s audio tag to be used anywhere. It uses native audio where available and an invisible flash player to emulate audio for other browsers. It provides a consistent html player UI to all browsers which can be styled used standard css.
Audio.js focuses on playing mp3s. It doesn’t currently support the ogg format. As mp3 is the current defacto music transfer format, ogg support is lower on our list of priorities. It has been tested on Mobile Safari (iOS 3+), Android (2.2+, w/Flash), Safari (4+), Chrome (7+), Firefox (3+, w/ Flash), Opera (10+, w/ Flash), IE (6, 7, 8, w/ Flash).

Source

5. Buzz

Buzz
Buzz is a small but powerful Javascript library that allows you to easily take advantage of the new HTML5 audio element. It degrades properly on non-modern browsers. It is written by Jay Salvat and licensed under the MIT License.

Source

6. SoundManager 2

SoundManager 2
SoundManager 2 is an attempt at providing the sound API which Javascript has been missing. It’s a Javascript library which wraps and extends Flash’s sound capabilities, bringing cross-platform audio functionality to Javascript. SoundManager 2 was written to meet a desire to have Javascript-driven sound for interactive web-based projects. It is free for use in both personal and commercial projects. SoundManager 2 gives you a single, powerful API that supports both new and old, using HTML5 audio where supported and optional Flash-based fallback where needed. Ideally when using SoundManager 2, audio “just works.”

Source

7. Sound.js

soundjs
SoundJS is a library to make working with audio on the web easier. It provides a consistent API for playing audio in different browsers, including using a target plugin model to provide an easy way to provide additional audio plugins like Web Audio, and a Flash fallback. A mechanism has been provided for easily tying in audio preloading to PreloadJS.

http://www.createjs.com/#!/SoundJS

8. Audiolet

Audiolet
Audiolet is a JavaScript library for real-time audio synthesis and composition from within the browser. It uses graph-based routing and pattern-based scheduling to make complex audio simple to program, and easy to understand.

Source

9. ION.Sound

ionsounds
Ion.Sound is a jQuery plugin for playing sounds on events. It has been tested on Google Chrome, Mozilla Firefox, Opera, Safari, IE(9.0+) and mobile browsers. Ion.Sound freely distributed under terms of MIT license.

Source

10. Audio5js

Audio5js
Audio5js is a Javascript library that provides a seamless compatibility layer to the HTML5 Audio playback API, with multiple codec support and a Flash-based MP3 playback fallback for older or unsupported browsers.
The motivation for creating Audio5js is to provide a light-weight, library-agnostic, Javascript-only
interface for audio playback in the browser.

Source

반응형
반응형

form 전송시 오류발생할때, input type="file" 을 onclick 했을경우.

 

"엑세스가 거부되었습니다." 라고 폼전송할때 오류가 발생한다면.

 

<input type="file" > 을  다른 오브젝트에서 onclick="이벤트" 를 지정했을때 IE7에서 오류가 발생할 수 있다.

 

그런데, UI상 별도로 클릭이벤트가 필요하다면 <input type="file" >을 해당 위치에 두고

투명도를 0으로 변경해서 클릭하게 변경해보자.

 

 

style="filter:alpha(opacity=0);"

 

 

style="filter:alpha(opacity=0);"

 

반응형

+ Recent posts