Функции и условия if-else в JavaScript
Главная -> Материалы -> Функции и условия if-else в JavaScript JavaScript и jQuery с нуля Курс предназначен для тех, кто хочет повысить интерактивность и удобство своего сайта для посетителей. Изучив его, Вы сможете создавать более красивые и функциональные сайты. 104 видеоурока: от основ JavaScript до готовых решений на jQuery.
Introducing Material Design Lite — Google Developers
getmdl.io -a library of components & templates in vanilla CSS, HTML and JS Back in 2014, Google published the material design specification with a goal to provide guidelines for good design and beautiful UI across all device form factors. Today we are releasing our effort to bring this to websites using vanilla CSS, HTML and JavaScript.
элементы управления флажком
Сведения о создании элементов управления checkbox. Используйте флажки, чтобы предоставить пользователю двоичный выбор, выбор одного или нескольких не являющихся взаимоисключающими вариантов или смешанный выбор. Необходимые условия Краткое руководство: добавление элементов управления HTML и обработка событий
Using Knockout.js Model Validation for ASP.NET MVC Models
Posted by: Mahesh Sabnis , on 6/4/2015, in Category ASP.NET MVC Abstract: Knockout.js provides UI independent Model validation features to help us out with client-side validation in ASP.NET MVC Client-side validation improves performance and gives the users of our application, a better experience.
jQuery Form Styler
В данном плагине я объединил 3 своих предыдущих jQuery-плагина, плюс добавил возможность стилизации полей для отправки файлов. Таким образом, он позволяет стилизовать с помощью CSS следующие html-элементы: раскрывающийся список <select>;флажок <input type="checkbox">;переключатель <input type="radio">;поле для выбора файла <input type="file">. Демонстрация работы плагина Живые примеры можно посмотреть на отдельной странице. Стоит заметить, что при оформлении элементов форм я не использовал ни одного изображения.
The CSS Transitions Cheatsheet
When it comes to CSS Transitions, you don't need a bazillion pages of content or even a book to quickly figure out something. If you are in a rush or just want something you can refer to really quickly, I've created this handy cheatsheet that provides snippets for common CSS Transitions situations. If you find something missing that should be here, post here and I'll get to it shortly :P Enjoy! The Topics Click on any of the topics below to jump directly to the relevant section:
Calendar Documentation
This is the documentation of the new Dynarch Calendar (“JSCal2”). Note that it is not compatible with our old calendar project. The new calendar has less predefined ways to setup, and rather focuses on an extensive API that you can use to do what you want. Because it's a lesson I've learned that you can't please everybody, so it's better to provide lots of features so that people can please themselves. ;-) Contents ContentsInstallationBasic setup — constructor
Centering in CSS: A Complete Guide
Centering things in CSS is the poster child of CSS complaining. Why does it have to be so hard? They jeer. I think the issue isn't that it's difficult to do, but in that there so many different ways of doing it, depending on the situation, it's hard to know which to reach for. So let's make it a decision tree and hopefully make it easier.
Делаем плагин для "липкого" информационного блока
В данном уроке мы разберем процесс создания плагина для организации удобного блока дополнительной информации, который "прилипает" к верху экрана при прокрутке страницы. Дополнительным свойством "липкого" блока будет ограничение его действия родительским контейнером элемента, к которому он прикреплен. То есть, если при прокрутке страницы родительский контейнер заканчивается, то "липкий" блок остается в нем и уходит вместе с контентом за пределы экрана.
Good and Bad CSS Practices for Beginners
With CSS3, we can manage media queries, utilize better background images and even handle animations that can be loaded faster on your website – depending on the host you use. These features have made the life of every web designer and developer easier. That being said, not all web designers and developers follow best practices. If you want to be a good web designer/developer, writing clean, manageable CSS is a healthy habit to make your code easier to maintain as your project development progresses.
JavaScript Гарден
Although JavaScript deals fine with the syntax of two matching curly braces for blocks, it does not support block scope; hence, all that is left in the language is function scope. function test() { // a scope for(var i = 0; i < 10; i++) { // not a scope // count } console.log(i); // 10} There are also no distinct namespaces in JavaScript, which means that everything gets defined in one globally shared namespace. Each time a variable is referenced, JavaScript will traverse upwards through all the scopes until it finds it. In the case that it reaches the global scope and still has not found the requested name, it will raise a ReferenceError.
Learn modern web application development with JavaScript
JavaScript: от начала до конца
TL;DR Эта обзорная статья. Такое себе "краткое содержание предыдущих серий". Она будет полезна для новичков, или тех, кто не следил за отраслью в последнее время.
tooltip
Гуру верстки вряд ли найдут в этом посте что-то новое для себя. Этот пост скорее для начинающих верстальщиков у которых, как и у меня, были проблемы с созданием и стилизацией универсальных всплывающих подсказок. Недавно, когда я делал небольшой блог, передо мной встала задача сделать стильные, но одновременно простые всплывающие подсказки. Попробовав разные способы создания отдельных div-контейнеров для подсказок, или создание всплывающих подсказок на чистом CSS, я нашел универсальное решение, которое не будет загромождать код, будет кроссбраузерним, и в то же время будет очень простым для реализации.