<html> <head> <link rel="stylesheet" href="ideal-image-slider.css"> <link rel="stylesheet" href="themes/default/default.css"> </head> <body> <div id="slider"> <img src="" alt=""> <img data-src="img/2.jpg" src="" alt=""> <img data-src="img/3.jpg" src="" alt=""> </div> <script src="ideal-image-slider.js"></script> <script> new IdealImageSlider.Slider('#slider'); </script> </body> </html>
hello.on('auth.login', function(r){ // Get Profile hello( r.network ).api( '/me' ).then( function(p){ var label = document.getElementById(r.network) label.innerHTML = "<img src='' width=24/>Connected to "+ r.network+" as " + p.name; }); }); hello.init({ google : CLIENT_IDS.google, windows : CLIENT_IDS.windows, facebook : CLIENT_IDS.facebook },{ redirect_uri:'../redirect.html' });
PayPal experts, who have already noted a product like the Bootstrap Accessibility Plugin, decided this time to tackle the problem of video content availability and solve it exclusively within HTML5 without any additional dependencies or third-party plug-ins. The following objectives were set for the project:
- Use the latest HTML5 technology in embedding videos, controls and subtitles;
- Minimize the weight of the code (5 kB CSS and 18 kB JS);
- Provide full keyboard control and accessibility for non-visual screen access programs;
- Provide subtitle support (used by WebVTT).
document.write
.Source: https://habr.com/ru/post/236683/
All Articles