Les actualités du Mardi 02 aout 2016 dans les métiers du web - Marmits.com - Reims

Le: 02 08 2016 à 23:44 presse-citron.net Auteur: Setra

Pikachu Pokémon Go NounoursCes sites interféraient avec les serveurs de Pokémon Go.

Le: 02 08 2016 à 22:58 presse-citron.net Auteur: Emmanuel Ghesquier

Pooper : une application de ramassage de crottes de chien dans le style d'UberUne application pour faciliter le ramassage des crottes de chien a été lancée par Ben Becker et Eliot Glass. Leur idée : ubériser cette tâche ingrate ! L’application Pooper, contre toute attente a connu un vrai succès en quelques heures…

Le: 02 08 2016 à 22:00 jquery4u.com Auteur: Baljeet Rathi

Whether you want to manipulate the content of an element on a web page, attach an event to it, or do something else, you will need to select it first. This is where jQuery selectors come into play: they form a crucial part of the library.

In this tutorial, I will cover all of these selectors and point out important things that you need to keep in mind while using them.

jQuery Selectors

The main purpose of these selectors is to select elements on a web page that meet certain criteria. The criteria can be anything like their id, classname, attributes or a combination of any or all of these. Most of the selectors in jQuery are based on existing CSS selectors but the library also has its own custom selectors.

Basic selectors

You can select elements on a webpage using their ID $("#id"), their class $(".class") or their tag name $("li") . You can also use a combination of these selectors like $(".class tag") or select combined result of multiple selectors like $("selectorA, selectorB, selectorC").

jQuery also offers few other basic selectors that I have listed below:

  • :header Selector — Let's say you have to select all the headings like <h1>, <h2>, <h3> in a <section>. In this case, you could either use the verbose $("section h1, section h2, section h3") selector or the much shorter $("section :header") selector. Both will do the same job and the latter one is comparatively easier to read. The header selector has set the background of all headlines to yellow in this demo.

  • :target Selector — This selector returns the element whose id matches the fragment identifier or hash of the document's URI. For instance, if the URI is "https://sitepoint.com/#hash". Then, the selector $("h2:target") will select the element <h2 id="hash">.

  • :animated Selector — This selector returns all elements that have an animation in progress when the selector is run. This implies that any element whose animation starts after the selector has been executed, won't be returned. Also, keep in mind that if you are using a custom jQuery build without the effects module, this selector will throw an error. In this demo only the animated box turns orange because of the selector.

Index-based selectors

Besides the basic selectors we discussed above, you can also select elements on the basis of their index. jQuery provides its own set of index-based selectors which use zero-based indexing. This means that to select the third element you will have to use the index 2.

Here is a list of all index based selectors:

  • :eq(n) Selector — This selector will return the element at index n. From version 1.8 onward, it accepts both positive and negative index value. When a negative value is supplied counting occurs backward from the last element.
  • :lt(n) Selector — This selector will return all elements with index less than n. It also accepts both positive and negative values from version 1.8 onward. Just like the :eq(n) selector, when a negative value is provided counting occurs backward from the last element.
  • :gt(n) Selector — This selector is just like :lt(n). The only difference is that it returns all elements with an index greater than or equal to n.
  • :first Selector — This will return the first matched DOM element on a webpage. It is equivalent to :eq(0) and :lt(1). One difference between :first and :first-child selector is that :first-child can select multiple elements each of which is first child of their parent.
  • :last Selector — This one is similar to the :first selector but returns the last child instead.
  • :even Selector — This will return all elements with an even index. Since indexing in jQuery is zero-based, the selectors selects first child, third child and so on. This seems counter-intuitive but that's how it works.
  • :odd Selector — This one works like the :even selector but returns elements with odd indexes.

In the following example, you can click on the three buttons :lt, :gt and :eq and they will randomly generate an index and apply the resulting selector to a list:

See the Pen Index-based Selectors by SitePoint (@SitePoint) on CodePen.

As you can see, using :first and :last only selects the respective first and last elements on the webpage and not within every parent.

Child selectors

jQuery enables you to select the children of an element based on their index or type. The CSS child selectors are different from jQuery ones in the sense that they don't use zero-based indexing.

Here is a list of all child selectors:

  • :first-child — This selector returns all elements which are the first child of their parent.

  • :first-of-type — This one selects all elements which are the first sibling of their own kind among many others.

  • :last-child — This will select the last child of a parent. Just like :first-child, it can select multiple elements in case of many parents.

  • :last-of-type — It selects all children that are the last of their type in a parent. In case of multiple parents, it can select multiple elements.

  • :nth-child() — This one is a bit complex. It can accept a variety of values as parameter like a number greater than or equal to 1, the strings even and odd or an equation like 4n+1.

  • :nth-last-child() — This selector is similar to the previous one and accepts the same parameters. The only difference is that it begins its counting from the last child.

  • :nth-of-type() — This selector returns all elements that are the nth child of their parent with respect to their siblings with same name.

  • :nth-last-of-type() — This selector functions just like the :nth-of-type() selector but the counting begins from the end.

Continue reading %A Comprehensive Look at jQuery Selectors%

Le: 02 08 2016 à 21:00 Web Design Shock Auteur: jakewalker

creastore-ui-kit

An online store for Sketch featuring over 55 screens, 15 plus categories, a large pack of UI base elements, and perfect layer organization (carefully named and grouped). It offers 100 % free fonts, pixel perfect designs, and free updates.

The post Creastore: Store UI Kit appeared first on ByPeople.

Le: 02 08 2016 à 21:00 Web Design Shock Auteur: TommyFranco

hyperterm-web-terminal

Using open web standards, HyperTerm offers a beautiful and extensible experience for command-line interface users. A download is available for macOS, but builds for Windows and Linux are coming soon.

The post HyperTerm: Front-end Web Terminal appeared first on ByPeople.

Le: 02 08 2016 à 20:54 presse-citron.net Auteur: Thomas-Estimbre

Samsung-presente-galaxy-note-7Le Galaxy Note est de retour ! Samsung vient de présenter son nouveau smartphone grand format : le Note 7.

Le: 02 08 2016 à 20:29 presse-citron.net Auteur: Emmanuel Ghesquier

Uber vs TaxisPour se passer de Google Maps, Uber a dû mettre la main au portefeuille, puisque l’entreprise de VTC va débourser 500 millions de dollars pour concevoir son propre service de cartographie maison.

Le: 02 08 2016 à 19:00 Web Design Shock Auteur: BillHenshaw

material-boostrap-ui-kit

Based on Material Design, this is a complete Bootstrap UI kit featuring tons of elements such as buttons, checkboxes, inputs, progress bars, dropdowns and more. Each element was redesigned providing a brand new feature inside the Bootstrap UI architecture.

The post Material Bootstrap UI Kit appeared first on ByPeople.

Le: 02 08 2016 à 18:54 freebiesbug.com Auteur: Pasquale Vitiello

Pasco: A free PSD multipurpose template

Free PSD sample pack from Pasco, a modern multipurpose template for building professional websites designed and released by Igor Ten.

The post Pasco: A free PSD multipurpose template appeared first on Freebiesbug.

Le: 02 08 2016 à 18:25 line25.com Auteur: Iggy

Emotion icons, also known as emoticons, are a major part of the Internet and can be found especially in the chat, instant messaging, social media and e-mail interactions. These emotion icons are used to transmit emotions which cannot be put into words. Emotion icons can have multiple variations. They can be static or animated, small […]

The post 20 Free Emotion Icons You can Download appeared first on Line25.

Le: 02 08 2016 à 18:04 presse-citron.net Auteur: Emmanuel Ghesquier

WhatsAppTous les experts informatiques le savent, supprimer des données est très souvent, bien plus complexe qu’on ne le pense et il ne suffit pas de cliquer sur un simple bouton " supprimer " pour éradiquer des archives… La preuve avec Whatsapp.

Le: 02 08 2016 à 17:00 WebLife Auteur: Géraud

AUBE : Test du purificateur d’air, sans filtres

Saviez-vous que l’intérieur de nos bâtiments est 7 à 20 fois plus pollué que l’air extérieur ? Sont en cause l’humidité, les acariens, poussières, composés organiques volatiles (COV) présents dans les […]

L'article AUBE : Test du purificateur d’air, sans filtres est la propriété de Géraud sur WebLife - Actualités internet, high-tech & startups.

Le: 02 08 2016 à 15:45 Webdesigner Depot Auteur: Ben Moss

In the last few years the term User Experience has come to the fore, and with it we’ve seen the rise of the UX Designer. Every few months someone tweets a pair of images, one will be a biscuit (labeled ‘UI’), and the other will be a smug face eating said biscuit (labeled ‘UX’). A […]

Le: 02 08 2016 à 15:16 presse-citron.net Auteur: Emmanuel Ghesquier

Google MapsVoilà un bon plan que les utilisateurs de terminaux fonctionnant sous iOS seront ravis de pouvoir tester en cette période de vacances estivales. Google Maps a dévoilé une nouvelle fonctionnalité permettant d’élaborer des itinéraires à plusieurs étapes.

Le: 02 08 2016 à 15:00 FrenchWeb.fr Auteur: La rédaction

«Avec l'holacratie, le pouvoir est totalement redistribué. Cette nouvelle organisation est basée sur le salarié en tant qu'être, sur ses capacités, sur ses actions», explique Philippe Pinault, Fondateur de talkSpirit.

Le: 02 08 2016 à 14:23 open-source-guide.com Auteur: com@smile.fr (Leslie Martin)

Le titre de l’éditeur français de la solution open source éponyme flambe dans les premiers échanges.

Le: 02 08 2016 à 13:17 WebdesignerNews Auteur: Cameron

Spoon aims to make Android testing easier as the number of devices out there grows. It distributes instrumentation test execution and displays the results in a meaningful way.

Le: 02 08 2016 à 12:00 FrenchWeb.fr Auteur: Les Experts

«Le principal avantage du blockchain est de permettre aux individus de se faire confiance entre eux sans l’intervention d’un «tiers de confiance»». Par Xavier Dalloz.

Le: 02 08 2016 à 10:51 blogduwebdesign.com Auteur: Benjamin SANCHEZ

Le: 02 08 2016 à 10:02 cssdesignawards.com

POP Montreal International Music Festival is an annual not-for-profit curated cultural event that champions independence in the art

Le: 02 08 2016 à 10:00 korben.info Auteur: Korben

Il y a quelques semaines, le magazine Causette a mis en ligne sur Twitter cette fabuleuse interview de Patrice Prut, le boss de PC Soft qui édite la suite de développement Windev connu pour ses babes photoshopées aux poses suggestives comme celles-ci : Je pense que c'est intéressant que vous la lisiez. Je pense que > Lire la suite

Cet article merveilleux et sans aucun égal intitulé : Dialogue de sourds ; a été publié sur Korben, le seul site qui t'aime plus fort que tes parents.

Le: 02 08 2016 à 09:18 webappers.com Auteur: Ray Cheung

Advertise here via BSA

Lightgallery is a lightweight modular responsive light box gallery, which allows you to create beautiful image & video galleries. Lightgallery allows you to create animated thumbnails for your gallery with the help of thumbnail plugin. It supports touch swipe navigation on touchscreen devices as well as mouse drag for desktops. It also allows users to […]

The post LightGallery.js – Full Featured Javascript Lightbox Gallery appeared first on WebAppers.

Sponsors

Professional Web Icons for Your Websites and Applications

Le: 02 08 2016 à 08:55 presse-citron.net Auteur: Setra

Pikachu Pokémon GoLe gouverneur de New York pense que des prédateurs sexuels pourraient utiliser Pokémon Go pour se rapprocher des jeunes joueurs.

Le: 02 08 2016 à 08:19 presse-citron.net Auteur: Setra

Twitter, Facebook, Instagram, LinkedIn, Vine, YouTube, Réseaux sociaux, pixabayBientôt, vous aurez peut-être des pauses publicitaires (comme à la télé) dans les Live de Facebook.

Le: 02 08 2016 à 08:00 FrenchWeb.fr Auteur: Les Experts

Comment fonctionne un CDO? Quelles sont ses attributions? Les analyses de deux experts.

Le: 02 08 2016 à 07:51 presse-citron.net Auteur: Emmanuel Ghesquier

Le Japon autorise les rétroviseurs camérasLa fin des angles morts avec les rétroviseurs-caméras, le japon dit : oui ! Le pays nippon toujours à la pointe de la technologie, a décidé de valider ce type de rétroviseurs, ce qui devrait faciliter le travail des constructeurs automobiles pour une future démocratisation.

Le: 02 08 2016 à 07:16 WebdesignerTrends Auteur: Arnaud STECKLE

La connaissance du comportement consommateur face à son écran est plus que jamais primordial pour optimiser l’expérience de votre site e-commerce....