Recently had to use mailto: in href and callback function on onclick event at the same time to let google email (= gmail) understand and display the recipient’s email address. Old code <a id=”webdesigncolors-email” href=”mailto:{{webDesignColors.email}}” target=”_blank” onclick=”window.open(‘https://mail.google.com/mail/?view=cm&tf=1&to={{webDesignColors.email}}, ‘_blank’);”>Email me</a> The problem… Continue Reading →
There is a conflict between ng-attr and some SVG elements attributes. Following attributes has conflict when using them with ng-attr: Attributes of <svg> tag: viewBox preserveAspectRatio Attributes of <marker> tag: orient markerunits markerheight markerwidth refy refx viewbox Attributes of <path>… Continue Reading →
In AngularJS .query() and .get() methods often used to retrieve data/response from server. Sometimes you have to use same method to get that information but in another controller/s. In this case you are actually affecting the performance. These same queries (called in different controllers)… Continue Reading →
Adds Bootstrap 12 columns grid classes to the selector in ng-repeat directive.
jqExtension – jQuery plugin to validate file type (extension) at client-side
In our previous post we had discussed on how to do a Basic Search in AngularJS using built-in angular filter. Now lets see how to make an advanced search in AngularJS. We split this into two parts. Part 2 will be even more advanced. Demo… Continue Reading →
Using pure CSS arrows is good for performance and cross-browser compatibility. Creating CSS arrows with Sass is even easy to maintain. Markup <p>Awesome pure CSS arrows using Sass!</p> Sass mixin $default-direction: right; $default-color: #69f; $default-size: 0.4; @mixin css-arrow($direction: $default-direction, $color: $default-color, $size: $default-size)… Continue Reading →
Profile image management using Gravatar is really exciting and stress-free. Know the reasons why you need to and how simply Gravatar API can be implemented.
OpenGL program with C++ was easy to write using Microsoft Visual Studio. IGNOU MCA student has to write one OpenGL program during their practical exam.
Designers and Developers generally go with traditional uni-platform font families ie. Arial, Helvetica, san-serif. But if we use a custom font in design it is also easy to integrate in our webpage. Method 1 – @font-face in CSS @font-face {… Continue Reading →
© 2024 Web Design Colors — Powered by WordPress
Theme by Anders Noren — Up ↑