I AM LISTENING TO
|
  • START
  • BUCHE MICH
  • LEISTUNGEN
  • GO GREEN
  • PORTFOLIO
  • BLOG
  • KONTAKT
  • DATENSCHUTZ
WAS ICH LIEBE
  • Englisch
  • Deutsch
  • START
  • BUCHE MICH
  • LEISTUNGEN
  • GO GREEN
  • PORTFOLIO
  • BLOG
  • KONTAKT
  • DATENSCHUTZ
  • AGB
Development Javascript

Simple function to randomly reorder a list

18. Januar 2015






Home » Development » Simple function to randomly reorder a list


1
2
3
4
5
6
7
var reorder = function(selector){
var ul = document.querySelector(selector);
for (var i = ul.children.length; i >= 0; i--) {
     ul.appendChild(ul.children[Math.random() * i | 0]);
}
  
  }




Abonnieren
Benachrichtige mich bei
guest
I allow portalzine.de the storage of my data. To keep track of comments and prevent abuse, we'll store the name, email, comment, and IP address and timestamp of your comment. You can delete your comments later at any time. Detailed information can be found in our Privacy Policy.
guest
I allow portalzine.de the storage of my data. To keep track of comments and prevent abuse, we'll store the name, email, comment, and IP address and timestamp of your comment. You can delete your comments later at any time. Detailed information can be found in our Privacy Policy.
0 Comments
Inline Feedbacks
View all comments



team_alex

Alexander Gräf

Portfolio

Book Me

Get in touch

Live Chat

Alexander

Ich bin ein Full-Stack-Entwickler. Meine Expertise umfasst:

  • Server-, Netzwerk- und Hosting-Umgebungen
  • Datenmodellierung / Import / Export
  • Geschäftslogik
  • API Layer / Action Layer / MVC
  • Benutzeroberflächen
  • User Experience
  • Verständnis für Kundenwünsche und Geschäftsbedürfnisse

 

Ich liebe die Entwicklung, das Design und kenne mich auch mit Serverarchitekturen aus.  Ich würde mich nie vollständig fühlen, wenn einer der Bereiche fehlen würde.

Ich habe ein breites Interessengebiet, deshalb tauche ich ständig in neue Technologien ein und erweitere mein Wissen, wo immer es nötig ist. Die Technologien entwickeln sich schnell und ich genieße es, die neuesten Technologien zu nutzen.

Abgesehen davon bin ich ein friedliebender Kerl, der versucht, Leute um sich herum zu haben, die dasselbe denken.  Ich glaube wirklich an das Prinzip: "Wenn man jemandem hilft, wird einem jemand helfen, wenn man es braucht."

Leistungen
Previous Next

jQuery Mobile 1.4RC1 getting better!
Stay up to date with what’s happening on GitHub – DevSpace
Headless WordPress with the HTTP REST API 2.0+
WooCommerce Appointments Enhanced with an Availability Calendar


  • ♩
  • ♪
  • ♫
  • ♬
  • ♩
  • ♪
  • ♫
  • ♬


Stettiner Str. Nord 20
49624 Löningen
Germany
Telefon +49 (0) 5432 904243

ideas@portalzine.de


© 2002-2021 portalZINE® NMN. All rights reserved.

wpDiscuz