Coder Social home page Coder Social logo

mobiscroll's Introduction

mobiscroll

Script:

<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<link href="css/mobiscroll.custom-2.6.2.min.css" rel="stylesheet" type="text/css" />
<script src="js/mobiscroll.custom-2.6.2.min.js" type="text/javascript"></script>

Html:

<input type="text" id="flyn">

Js:

$("#flyn").mobiscroll({
	preset: 'date',
	theme: 'android-ics light',
	lang: 'zh',
	mode: 'scroller',
});

Options:

{
	preset: 'date', // datetime,time,tree_list,image_text,select
	theme: 'ios', //皮肤【android-ics light】【android-ics】【ios】【jqm】...
	mode: "scroller",//操作方式【scroller】【clickpick】【mixed】
	lang: 'zh', // hu,de,es,fr,it,no,pt-BR,nl,tr,ja
	display: 'modal', //显示方【modal】【inline】【bubble】【top】【bottom】
	dateFormat: 'yyyy-mm-dd',
	setText: '确定',
	cancelText: '清空',
	dateOrder: 'yymmdd',
	dayText: '日', 
	monthText: '月',
	yearText: '年', 
	startYear: (new Date()).getFullYear(), 
	endYear: (new Date()).getFullYear() + 9, 
	showNow: true,
	nowText: "明天",
	showOnFocus: false,
	height: 45,
	width: 90,
	rows: 3
}

mobiscroll's People

Contributors

flynntsc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.