background preloader

HTML - Instant search in HTML and other developer documentation

HTML - Instant search in HTML and other developer documentation
Related:  CSS3, HTML5, JAVA, PHPcsaw programming ressourcesWeb

Documentation | Spritely Spritely is a simple plugin with only two key methods, sprite() and pan() both of which simply animate the background-image css property of an element. The difference between the two is that a 'sprite' image contains two or more 'frames' of animation, whereas a 'pan' image contains a continuous image which pans left or right and then repeats. Typically, in either case, you would use a png file (with or without transparency) for this. You might wish to use a transparent gif for Internet Explorer 6, though it probably won't look as good. Your html elements must already be the correct size you want the sprite to appear, but the background image will typically be larger than the html element, and the spritely methods reposition the background image within the html element. For documentation in languages other than English, please see Unoffical Documentation. Please note: there is a problem with the current version of Mobile Safari on the iPad Quick start What's new in version 0.6? For example,

html - Javascript to figure out which button was pressed Ergonomie web et logiciel, architecture de l'information, utilisabilité Code Standards | Isobar Overview This document contains guidelines for web applications built by the Creative Technology (front end engineering) practice of Roundarch Isobar. It is to be readily available to anyone who wishes to check the iterative progress of our best practices. This document's primary motivation is two- fold: 1) code consistency and 2) best practices. Pillars of Front-end Development ◊ General Practices ◊ Indentation ◊ For all code languages, we require indentation to be done via soft tabs (using the space character). Readability vs Compression ◊ We prefer readability over file-size savings when it comes to maintaining existing files. We will use server-side or build processes to automatically minify and gzip all static client-side files, such as CSS and JavaScript. The first component of any web page is the tag-based markup language of HTML . Markup defines the structure and outline of a document and offers a structured content. HTML5 is a new version of HTML and XHTML. Template ◊ Doctype ◊ Using !

Save form values script We have all had it happen. You spend ages filling in an online form, but before you can send it, your computer crashes, or you try to send it, but your internet connection fails, or you hit the exit button by accident. In all cases, you have just lost all the work that you put into filling in the form. That is what this script is designed to prevent. It saves all the options that you chose, and all of the text you wrote, so that in the event of you losing it all, you can recover it later, just by opening the page again, or by clicking on a button. The author of the page containing the form only needs to include the script in their page, and offer a way to save and recover the values, as I will describe here. To download the script(s), see the script license, and check details like browser compatibility, use the links on the navigation panel at the top of this page. The script can save and recover the values of: datetimedatatime-localdatemonthweektimenumberrangeemailurl Demonstration

Here is a simple popup contact form (modal popup) A popup contact form has many benefits. You can add a button/link in every page that pops up the contact form in a modal popup. That makes the contact form easily accessible from any part of the website. Your web site visitors do not have to ‘hunt’ for the ‘contact us’ page. Download the popup contact form code You can download the contact form that best fits your needs and then customize as required. Features of the popup contact form Easy to customizeStandards compliant (100% XHTML 1.0 strict validated, uses CSS)Secured against spam bots and attacksAjax submission.Hosted on your own web serverFree! Installing the contact form on your web site Unzip the downloaded contact form code.Edit contactform.php and edit the email address to your email address Customizing the form To change the style of the form, edit popup-contact.css. You can add any type of additional fields to the form. For client side validations, this script uses the JavaScript validation library. License Be Sociable, Share!

[php] pb génération fichier xml avec php - Forum PHP bonjour, voilà un code simple permettant de créer un fichier xml simple (qui fonctionne bien ) j'utilise la version :php4.1.2-7 ( je suis obligée) <? j'ai réussi à crée ce simple fichier , maintenant j'ai essyé d'extraire mes données depuis une BDD postgres , je n'arrive pas à ajouter un attribut au dernier fils , je reçois l'erreur suivante : Citation: Fatal error: Call to a member function on a non-object in /var/www/html/xml/fileXml.php voilà tout le code que j'utilise : la ligne en rouge est source de l'erreur ! vraiment je plante Painless Functional Specifications - Part 1: Why Bother? by Joel Spolsky Monday, October 02, 2000 When The Joel Test first appeared, one of the biggest sore points readers reported had to do with writing specs. Why won't people write specs? I believe that on any non-trivial project (more than about 1 week of coding or more than 1 programmer), if you don't have a spec, you will always spend more time and create lower quality code. The most important function of a spec is to design the program. Let's visit two imaginary programmers at two companies. Speedy and Mr. Speedy decides that the best way to provide backwards compatibility is to write a converter which simply converts 1.0 version files into 2.0 version files. Now, Mr. When opening a file created with an older version of the product, the file is converted to the new format. The spec is shown to the customer, who says "wait a minute! When opening a file created with an older version of the product, the file is converted to the new format in memory. Another 20 minutes have elapsed. Mr. Mr.

Prefix free: Break free from CSS vendor prefix hell! -prefix-free lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any CSS code, only when it’s needed. The target browser support is IE9+, Opera 10+, Firefox 3.5+, Safari 4+ and Chrome on desktop and Mobile Safari, Android browser, Chrome and Opera Mobile on mobile. If it doesn’t work in any of those, it’s a bug so please report it. Just before you do, please make sure that it’s not because the browser doesn’t support a CSS3 feature at all, even with a prefix. In older browsers like IE8, nothing will break, just properties won’t get prefixed. Test the prefixing that -prefix-free would do for this browser, by writing some CSS below: Properties/values etc that already have a prefix won’t be altered. It’s not ideal, but it’s a solution, until a more intuitive way to deal with these cases is added in -prefix-free. Please note that in unsupported browsers like IE8, no such class will be added. Firefox (and IE?)