반응형
반응형

Skeuocard: An innovative way to enter credit card details

skeuocard

 

반응형
반응형

Caching jQuery selections in an object

 

 

Before

 

jQuery(document).ready(function() {

jQuery('#some-selector').on('hover', function() {
jQuery(this).fadeOut('slow').delay(400).fadeIn();
console.log(jQuery(this).text());
});
jQuery('#another-element').on('hover', function() {
jQuery(this).slideUp();
});
jQuery('#some-selector').on('click', function() {
alert('You have clicked a featured element');
});
jQuery('#another-element').on('mouseout', function() {
jQuery(this).slideUp();
});
});

 

After

 

var someNamespace_Dom = {
 someSelector : 'jQuery("#some-selector")',
 anotherElement: 'jQuery("#another-element")',
};

jQuery(document).ready(function() {
 someNamespace_Dom.someSelector.on('hover', function() {
  jQuery(this).fadeOut('slow').delay(400).fadeIn();
  console.log(jQuery(this).text());
 });
 someNamespace_Dom.anotherElement.on('hover', function() {
  jQuery(this).slideUp();
 });
 someNamespace_Dom.someSelector.on('click', function() {
  alert('You have clicked a featured element');
 }); 
 someNamespace_Dom.anotherElement.on('mouseout', function() {
  jQuery(this).slideUp();
 });
}); 

반응형
반응형

Pickadate.js — Responsive date & time picker

Pickadate.js is a responsive, mobile-friendly jQuery date & time input picker. Just insert one line of code and get a date picker with a popup calendar.

pickadate.js

Homepage: http://amsul.ca/pickadate.js/
GitHub: https://github.com/amsul/pickadate.js

 

pickadate.js

The mobile-friendly, responsive, and lightweight
jQuery date & time input picker. 

반응형
반응형

Sticky-kit: A sticky element jQuery plugin

컨텐츠 영역에 빈 공간이 있고, 풋터가 멀리 있을 경우, 긴 컨텐츠 영역이 끝날때까지 짦은 컨텐츠 영역이 따라서 스크롤 된다.

 

stickykit

 

Sticky-kit

A jQuery plugin for making smart sticky elements.

See the hompage for directions and examples: http://leafo.net/sticky-kit/

License: WTFPL

반응형
반응형
HTML5, CSS, javascript 게임

 

 

https://www.cubeslam.com/yfnbhu

 

 

 

반응형
반응형

YouCompleteMe — Fuzzy-search code completion in Vim

youcompleteme

반응형

+ Recent posts