Overview
Datejs is an open source JavaScript Date library for parsing, formatting and processing.
The last ‘official’ release was Alpha-1 on November 19th, 2007. The project has been mostly dormant since that early release, but steps are being taken to revive the project.
A test suite is available online at http://datejs.com/test/.
Getti… Read More
直接代码:
<script type="text/javascript">
$(document).ready(function(){
$("div").click(function(){
var $c=$(this).css("background-color");
alert($c);
});
});
</script>
本文: jQuery获取div的背景颜色 How to get background color of div?… Read More
下载: zoom-master
项目地址: https://github.com/jackmoore/zoom
Compatible with: jQuery 1.7+ in Chrome, Firefox, Safari, Opera, Internet Explorer 7+.
Install via NPM
npm install jquery-zoom
Instructions
Zoom appends html inside the element it is assigned to, so that element has to be able to accept html, like <a>, <span>, <li>, <div… Read More
Writing the Markup
Lets start by writing our markup as if our visitor doesn’t even have JavaScript enabled. Even if you do not wish to support users without JavaScript, it is still a good pattern to follow to exercise separation of concerns.
<ul class='tabs'>
<li><a href='#tab1'>Tab 1</a></li>
<li><a h…
A jQuery & CSS3 based off-canvas navigation menu that pushes the main page to the right when toggled.
How to use it:
1. Create an off-canvas menu with a close menu as follows.
<div class="menu">
<!-- <a href="http://www.jqueryscript.net/menu/">Menu</a> icon -->
<div class="icon-close"> <img src="close.png… Read More
A simple lightweight javascript plugin used to create side menus/panels that smoothly slide out from the edge of your screen when toggled, built with jQuery and Bootstrap 3.
How to use it:
1. Load the Bootstrap’s stylesheet and BootSideMenu.css in the head section of the web page.
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/boo… Read More
官网:http://lipis.github.io/bootstrap-social/
View on GitHub : https://github.com/lipis/bootstrap-social
Download:bootstrap-social-gh-pages
How to use
Include Bootstrap and Font AwesomeIf you haven’t done that already, include the latest Bootstrap and Font Awesome in your project.
Include the CSS or LessYou have two options for enabl… Read More