|
In today’s tutorial we’ll create a fullscreen photo slideshow to illustrate a New York picture series. We will add sounds with the HTML5 audio element in order to give life to the gallery and try to recreate the ambient of this vibrant city. Today we want to share another jQuery menu with you. This menu will have several panels, each one corresponding to a different background image that will show on all panels when we hover over a panel label. Also, a submenu will slide out from the bottom. This menu comes with some configuration possibilities, such as the size of the image, the hover effect and custom default states. Media queries are a way to serve different css rules to different devices and device characteristics. They’re the final piece in allowing us to create designs that are truly responsive to our audience and how our visitors choose to view our sites. In this article we will take a look at 15 jQuery techniques which will be useful for your effective use of the library. We will start with a few tips about performance and continue with short introductions to some of the library’s more obscure features. Certains sites affichent une (grande) image de fond qui s’adapte à toutes les dimensions de la fenêtre du navigateur, proportionnellement, sans la déformer. La réalisation de ce genre de prouesse n’est pas si évidente techniquement, contrairement à ce que l’on pourrait croire de prime abord. Tout d’abord le mieux est de lire l’excellent tuto sur l’internationalisation de la ferme du web qui vous expliquera comment créer vos templates et vos fichiers de langues. Ensuite il suffit de créer un filtre… Twig est un moteur de templating, utilisé par Symfony2 en parallèle avec des templates en PHP pur. L’avantage principal d’un moteur de templating est de séparer sans ambiguïté la présentation des données et leur traitement. Depuis quelques temps maintenant je travaille à temps complet avec Symfony2. J’ai écrit quelques bundles puisque, à l’heure actuelle, il n’y a pas autant d’outils fournis avec Symfony2 qu’avec symfony 1.4. Ecrire un bundle n’est pas très compliqué mais pour bien le tester, on peut vite rencontrer des problèmes. Jusqu’à présent, j’utilisais une manière naïve d’exécuter mes tests PHPUnit. Mes fichiers bootstrap.php allaient chercher le fichier autoload.php dans le projet courant. Oui, projet courant = forte dépendance. NDLR: Attention, c’est du nettuts et certains trucs sont… exotiques. In this tutorial, our goal is to create an FTP class with PHP that is well written, useful, and expandable. Outlining our Objective It’s always important to first outline exactly what functionality your class should include. In our case: connecting to a server create a folder on the server upload a file change directory retrieving the directory listing download a file Despite contemporary browsers supporting a wealth of CSS3 properties, most designers and developers seem to focus on the quite harmless properties such as border-radius, box-shadow or transform. These are well documented, well tested and frequently used, and so it’s almost impossible to not stumble on them these days if you are designing websites.
1 of 49
Older Posts »
|