Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div id='calendar'></div>

<!----------
Inicio mostrar un modal con un formulario que nos permita obtener los datos del evento escrito por el usuario
agregar modificar , eliminar
----------->				
 <div class="modal"  id="ModalEventos" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Modal title</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div id="descripcionEvento"></div>		  
		  Fecha  		<input type="text" id="txtFecha"><br>
		  Titulo 		<input type="text" id="txtTitulo"><br>
		  Hora 			<input type="text" id="txtHora" value="10:30"><br>
		  <textarea id="txtDescripcion" rows="2"   cols="5">Descripcion</textarea><br>		  	
		  Color 		<input type="color" id="txtColor"  value="#FF0000"><br>
		  
      </div>

      <!--Este es el pie del modal aqui puedes agregar mas botones-->
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div>
  </div>
</div>
<!----------
Fin mostrar un modal con un formulario que nos permita obtener los datos del evento escrito por el usuario
----------->				

              
            
!

CSS

              
                html, body {
  margin: 0;
  padding: 0;
  font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
  font-size: 14px;
}

#calendar {
  max-width: 900px;
  margin: 40px auto;
}

#calendar a.fc-event {
  color: #fff; /*los estilos predeterminados de bootstrap lo hacen negro. deshacer  */
}
              
            
!

JS

              
                $(document).ready(function() {		
	 $('#calendar').fullCalendar({           			header: {				
			left: 'prev,next today',
			center: 'title',
			right: 'month,basicWeek,basicDay',			 
		},
		locale: 'es',
		 monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
		monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'],
		dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
		dayNamesShort: ['Dom','Lun','Mar','Mié','Jue','Vie','Sáb'],	
                                
//-----Inicio Evento Click
  		dayClick: function(date, jsEvent, view) {
			$("#txtFecha").val(date.format());
  			$("#ModalEventos").modal();
		}
 		//-----Fin Evento Click		
                                
		});		 // full calendar		
	});  // function
              
            
!
999px

Console