Lee un archivo json y añade la lista de opciones a un elemento select
Reading json file and append list options into element select
| .svg_support { | |
| content: url(../img/imagenSvg.svg); | |
| } |
| .desaturate { | |
| filter: grayscale(100%); /* Current draft standard */ | |
| -webkit-filter: grayscale(100%); /* New WebKit */ | |
| -moz-filter: grayscale(100%); | |
| -ms-filter: grayscale(100%); | |
| -o-filter: grayscale(100%); /* Not yet supported in Gecko, Opera or IE */ | |
| filter: url(resources.svg#desaturate); /* Gecko */ | |
| filter: gray; /* IE */ | |
| -webkit-filter: grayscale(1); /* Old WebKit */ | |
| } |
Lee un archivo json y añade la lista de opciones a un elemento select
Reading json file and append list options into element select
| # HTACCESS: Alfredo González P. | |
| # Configuración avanzada | |
| # Advanced settings | |
| # Añadir soporte para imágenes svg | |
| AddType image/svg+xml svg svgz | |
| AddEncoding gzip svgz | |
| # Cache de archivos | |
| <IfModule mod_headers.c> |
| <!DOCTYPE html> | |
| <html lang="es-ES"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
| <title>Bootstrap 2.3 INI</title> | |
| <!-- Bootstrap css --> |
| $(document).on('ready', function() { | |
| // Mejor añadir clase que css en línea como css() | |
| // addClass() añade clase | |
| // removeClass() borra una clase | |
| // toggleClass() conmuta una clase | |
| }); | |
| $(document).ready(function($) { | |
| /* getting viewport width */ | |
| var responsive_viewport = $(window).width(); | |
| /* if is below 481px */ | |
| if (responsive_viewport < 481) { | |
| } /* end smallest screen */ |
| timeout = setTimeout(function(){myFunction(param)},time); |
| $(document).ready(function($) { | |
| /* getting viewport width */ | |
| var responsive_viewport = $(window).width(); | |
| /* if is below 481px */ | |
| if (responsive_viewport < 481) { | |
| } /* end smallest screen */ |
| // Añade efecto a los enlaces - fade | |
| $('a').click(function (event) { | |
| $(this).hide(0,function () { | |
| $(this).fadeTo('slow',1); | |
| }); | |
| }); |