public marks

PUBLIC MARKS with tags javascript & jQuery

This year

jQuery - javascript - JS scrollbar recommendations? - Stack Overflow

by decembre & 1 other
I like to use: - Tiny Scrollbar for the minimalist design - JQuery Custom Content Scroller

jQuery - LIBRARY - SCROLL - Tiny Scrollbar: A crossbrowser lightweight Javascript / jQuery scrollbar.

by decembre
What is it? Tiny Scrollbar is a nice and elegant way to enable the scrolling of content on mobile and desktop devices. Its designed to be a dynamic lightweight utility. Furthermore it gives a User Interface Designer a powerful way of enhancing the Ui (user interface) of a website. It comes in 2 flavours as a vanilla Javascript microlib and as a jQuery plugin. Browser support differs between the jQuery plugin and the plain Javascript microlib. Specifically, the plain Javascript microlib does not support legacy browsers such as IE6-8. Use the jQuery plugin release if support for those browsers is required. Source is on GitHub

CSS / jQuery - Why I Love Element Queries & You Should Too! - Hashnode

by decembre & 1 other
For the past three years, I've done a lot of research and experiments related to the idea of style scoping and element queries in CSS. Since experimenting with element queries, I've noticed a big transformation in how I write HTML, and the fine-grained nature of element queries has improved the way I write CSS too. In this article I am going to explain why I love Element Queries and how you can get started easily.

2016

Umbrella JS

by Spone
Tiny and intuitive javascript library

2015

jQuery - Does jQuery .remove() clear out loaded javascript when it is used to remove a script tag? - Stack Overflow

by decembre
No. Once a script is loaded, the objects and functions it defines are kept in memory. Removing a script element does not remove the objects it defines. This is in contrast to CSS files, where removing the element does remove the styles it defines. That's because the new styles can easily be reflowed. Can you imagine how hard it would be to work out what a script tag created and how to remove it? EDIT: However, if you have a file that defines myFunction, then you add another script that redefines myFunction to something else, the new value will be kept. You can remove the old script tag if you want to keep the DOM clean, but that's all removing it does. EDIT2: The only real way to "clean up" functions that I can think of is to have a JS file that basically calls delete window.myFunction for every possible object and function your other script files may define. For obvious reasons, this is a really bad idea.

jQuery - Tuto - Use jQuery to extract data from HTML lists and tables | Encosia

by decembre (via)
Mapping the data within HTML unordered lists. Using .map() against an unordered list is one of the most straightforward examples to start with. Imagine you had this simple HTML markup: .map() like this:

jQuery - Javasript - Apprendre - Insérer et remplacer des éléments dans le DOM

by decembre
Nous allons ici nous intéresser à une autre facette de jQuery : la modification du DOM. Les méthodes qui vont être examinées permettent d'insérer, de remplacer et de supprimer des éléments quelconques dans le DOM, et ainsi de modifier le contenu de la page affichée dans le navigateur.

INFINITE SCROLL - jQuery - Reset / disable infinite scroll after AJAX call - Stack Overflow

by decembre
I am using infinite-ajax-scroll (https://github.com/webcreate/infinite-ajax-scroll) plugin with filtering. I have the filters working with the infinite scroll but my issue is, whenever the scroll get the the end of the results for one filter it will no longer scroll, even after another filter is selected. I therefore need to reset the infinate scroll when the filter is selected but I cannot find anywhere in the documentation on how to reset this and am not great with JQuery and so cannot figure this out.

Blink Title of Tab in Browser

by calipussoftware (via)
Did you ever notice that sometimes your tab title gets updated on it’s own while you are browsing websites in other tab. There are many websites that do it. For eg. you shall notice that GMAIL update the title tab with counter of total number of unread email, each time your receive a new email. It’s a good practice to notify your customer that – something has just happened which needs your attention. That way your customer would not loose that important task and you would not loose that customer. Sounds Great!!

jQuery - TUTO - AJAX simplifié avec jQuery

by decembre
AJAX (littéralement : Javascript et XML Asynchrones). AJAX c'est le pont entre les langages serveur (PHP, .NET...) et JavaScript, cette technologie permet de faire communiquer les deux de manière asynchrone, c'est-à-dire qu'on a plus besoin de recharger toute la page mais seulement une partie de la page, en y insérant des informations qui viennent directement du serveur.

jQuery - TUTO - Le sélecteur jQuery - débuter en jQuery

by decembre
$ : le sélecteur raccourci __ Encore une petite précision : dans mon extrait de code ci-dessus, vous voyez que j'ai ajouté un paramètre $ pour ma fonction anonyme, et que j'ai ensuite utilisé $() à la place de jQuery().__En fait, $() est un alias de la fonction jQuery() (un autre nom pour la même fonction), on l'utilise plus souvent que jQuery(), tout simplement parce que c'est plus court à écrire ! __ Le seul problème est que d'autres framework javascript (Mootools nottament) utilisent également $ comme raccourci, du coup si vous utilisez plusieurs frameworks sur la même page, il y aura des conflits. ___ Heureusement, jQuery propose un mode noConflict(). Dans ce mode, le raccourci $ n'est pas créé pour éviter les problèmes. Le mode noConflict est par exemple activé par défaut dans Wordpress, donc $ ne marche pas et il faut donc se rabattre sur jQuery() à la place, la loose -_-'. __ L'astuce que j'ai utilisée me permet d'utiliser $ comme raccourci SEULEMENT à l'intérieur de ma fonction anonyme. Comme ça, même sous Wordpress où le mode noConflict est activé, je pourrais utiliser $ à l'intérieur de mon jQuery(document).ready.

jQuery - TUTO - Iframe - Créer un élément HTML dans le DOM avec jQuery

by decembre
Le sélecteur jQuery est la plupart du temps utilisé pour sélectionner des éléments existant dans le DOM, via une règle CSS. Mais le sélecteur peut aussi créer de nouveaux éléments HTML de manière extrêmement simple ! Voici un petit exemple très simple qui créé un élément div , écrit "Salut !" à l'intérieur, puis enfin ajoute cet élément à la fin de la page web (en l'ajoutant à la fin body) :

2014

Strip - A Less Intrusive Responsive Lightbox

by Krome & 2 others
Strip is a Lightbox that only partially covers the page. This makes it less intrusive and leaves room to interact with the page on larger screens while giving smaller mobile devices the classic Lightbox experience.

Strip - A Less Intrusive Responsive Lightbox

by Spone & 2 others
Strip is a Lightbox that only partially covers the page. This makes it less intrusive and leaves room to interact with the page on larger screens while giving smaller mobile devices the classic Lightbox experience.

slick - the last carousel you'll ever need

by Spone & 6 others
- Fully responsive. Scales with its container. - Separate settings per breakpoint - Uses CSS3 when available. Fully functional when not. - Swipe enabled. Or disabled, if you prefer. - Desktop mouse dragging - Infinite looping. - Fully accessible with arrow key navigation - Add, remove, filter & unfilter slides - Autoplay, dots, arrows, callbacks, etc...

PUBLIC TAGS related to tag javascript

accessibility +   ajax +   api +   art +   blogs +   code +   computer +   css +   design +   development +   dhtml +   documentation +   editor +   education +   firefox +   free +   freeware +   graphics +   guide +   html +   images +   internet +   java +   library +   opensource +   photo +   photos +   php +   programming +   rails +   reference +   resources +   rss +   ruby +   scripts +   search +   software +   standards +   technology +   tips +   tools +   tutorial +   tutorials +   usability +   utilities +   web +   web2.0 +   webdesign +   wordpress +   xml +  

Active users

decembre
last mark : 09/06/2017 10:15

bamthomas
last mark : 13/03/2017 09:40

dzc
last mark : 20/09/2016 10:29

Spone
last mark : 25/01/2016 11:51

mfaure
last mark : 04/08/2015 08:43

calipussoftware
last mark : 14/03/2015 13:29

ghis
last mark : 06/01/2015 18:55

Hieroglyphe
last mark : 09/12/2014 17:24

Krome
last mark : 06/10/2014 10:32

84GHz
last mark : 08/04/2014 09:59