Giter Site home page Giter Site logo

consultoria-sap.github.io's People

Contributors

sidval avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

consultoria-sap.github.io's Issues

CSS: sponsors.css

Para el código de sponsors, que lo llame únicamente en la página de sponsors.

<b:if cond='data:blog.url == data:blog.canonicalHomepageUrl + "p/sponsors.html"'> 
<link rel="stylesheet" href="https://consultoria-sap.github.io/css/sponsors.css" />
</b:if>

Pop-up suscribers

Ver de agregar http://luisvinicius167.github.io/gliojs/ para captar suscriptores que están saliendo de la página.

<data data-token="02f60ac69d4a4bf19224a804e677af65" class="mj-w-data" data-apikey="2OPA" data-w-id="5uU" data-lang="es_ES" data-base="https://app.mailjet.com" data-width="640" data-height="410" data-statics="statics"></data>

<div class="mj-w-button mj-w-btn" data-token="02f60ac69d4a4bf19224a804e677af65" style="font-family: Ubuntu, Helvetica; color: white; padding: 0 25px; background-color: #f0622b; text-align: center; vertical-align: middle; display: inline-block; border-radius: 3px;">
    <div style="display: table; height: 45px;">
        <div style="display: table-cell; vertical-align: middle;">
            <div class="mj-w-button-content" style="font-family:Ubuntu, Helvetica; display: inline-block; text-align: center; font-size: 13px; vertical-align: middle;"><b>¡SUSCRIBIRSE!</b></div>
        </div>
    </div>
</div>

<script type="text/javascript" src="https://app.mailjet.com/statics/js/widget.modal.js"></script>

Enlace

<a href="#" data-token="02f60ac69d4a4bf19224a804e677af65" onclick="mjOpenPopin(event, this)">¡Suscríbase ahora!</a>

Lazy-Loading

Para ciertas imágenes quiero poner algún simple script que me ayude a optimizar las cargas de imágenes.

Después de leer: Five Techniques to Lazy Load Images for Website Performance, me quedo con esta idea muy simple, que tengo que probar: Simple Image Lazy Load and Fade

  1. Agregar CSS:
img {
	opacity: 1;
	transition: opacity 0.3s;
}

img[data-src] {
	opacity: 0;
}
  1. Agregar JS:
[].forEach.call(document.querySelectorAll('img[data-src]'), function(img) {
	img.setAttribute('src', img.getAttribute('data-src'));
	img.onload = function() {
		img.removeAttribute('data-src');
	};
});
  1. En la imagen, usar "data-src" y no "src" como siempre:
    <img data-src="/path/to/image.jpg" alt="">

Catálogo de Descargas

Hay tanto material disponible, que estaría bueno tener una página estática y simple que contenga las descargas disponibles.

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.