Skip to content

Latest commit

 

History

History
executable file
·
57 lines (38 loc) · 1.39 KB

File metadata and controls

executable file
·
57 lines (38 loc) · 1.39 KB

BIC Calendar

ca - BIC Calendar es un simple calendari per marcar esdeveniments. Un plugin de jQuery i Twitter Bootstrap.

en - BIC Calendar is a simple calendar to mark events, a jQuery plugin and Twitter Bootstrap.

Dependencias

  • ~jQuery 1.7.2
  • ~Twitter Bootstrap 2.0

Use

$(document).ready( function(){
	//create a array [data, text, link, color] 
	var events = [
		[ '21/1/2010', 'SENTMENAT', '', '#999' ],
		[ '23/5/2012', 'SANTA COLOMA DE GRAMENET  - Barcelonès Nord', 'http://ca.gettingcontacts.com/events/view/gramanet', '#999' ]
	];
	//create the calendar
	$('#calendari_lateral').bic_calendar({
		events: events
	});
} );

Options

  • dias (array)

    • default: ["l", "m", "x", "j", "v", "s", "d"]
  • nombresMes (array)

    • default: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"]
  • show_days (boolean)

    • default: true
  • popover_options (popover Twitter Bootstrap<http://twitter.github.com/bootstrap/javascript.html#popovers>_ object)

  • tooltip_options (tooltip Twitter Bootstrap<http://twitter.github.com/bootstrap/javascript.html#tooltips>_ object)

  • req_ajax (object)

    • req_ajax.type (string) {'get', 'post'}
    • req_ajax.url (string)

Example

http://gettingcontacts.com

http://bic.cat/bic_calendar