Un petit exemple de ce qu’il est possible de faire avec jQuery en quelques lignes de codes : https://vinch.be//attic/99-jquery/
Le but du jeu est d’afficher les paroles de la chanson “99 Bottles of Beer”. J’en expliquais le principe dans un précédent billet.
Le code source (99.js) :
Il y a certainement moyen d’optimiser encore… (je débute dans ce fabuleux framework JavaScript)
Seuls prérequis, le fichier jquery.js et un fichier HTML minimal :
Si vous souhaitez apprendre le jQuery, je vous recommandes les tutoriaux de jQuery.info
As you’re growing up as a teenager, there are a number of things that you look forward to; getting your drivers license,
graduating from high school, going to your senior prom, having your first date and having your first beer. The problem
with this last one is that the drinking age and the thing you want make it something that you just can’t have yet. And
still, you want it and will go to any lengths to get it.
Underage beer drinking is certainly no secret and to try to sweep it under the carpet isn’t going to make it go away. But
the most odd thing about underage drinking when it comes to beer is that even after kids sneak their first beer, they
still want to have another one. If you’re wondering why that sounds so strange then you need to think back to when YOU
had your first beer. It was pretty nasty tasting. Let’s be honest, beer is bitter and is an acquired taste. Very few
people, if any at all, enjoyed their first beer. Many even get sick after it because of the taste or the fact that
they’re not used to the alcohol yet.
LikeLike
Si vous voulez un aperçu du potentiel de jQuery :
http://ajax.nouvelle-bulle.com/search.php?search=jquery&tag=true
Je me permet de poster un lien vers le site(Référentiel de DHTML et AJAX) que je suis en train de finir. Vous pouvez d’ailleurs aider.
LikeLike