A jQuery inline form validation, because validation is a mess « When it comes to form validation, it’s hard to have a versatile solution that works with every form. Figuring out how to display errors is not a simple task. This is something I tried to remedy with this script. When an error needs to be displayed, the script creates a div and positions it in the top right corner of the input. This way you don’t have to worry about your HTML form structure. Download the source code View demo Validations range from email, phone, url to more complex calls such as ajax processing. **Important**: v2 is a significant rewrite of the original 1.7 branch. Legacy 1.7 documentation and download can be found under package when you hit download on github Installation 1. Running the Demos Most demos are functional by opening their respective HTML file. 1. References First link jQuery to the page Attach *jquery.validationEngine* and its locale Finally link the desired theme Field validations Validations are defined using the field’s **class** attribute. Instantiation Actions
Building a jQuery Image Scroller In this tutorial, we're going to be building an image scroller, making use of jQuery's excellent animation features and generally having some fun with code. Image scrollers are of course nothing new; versions of them come out all the time. Many of them however are user-initiated; meaning that in order for the currently displayed content to change, the visitor must click a button or perform some other action. This scroller will be different in that it will be completely autonomous and will begin scrolling once the page loads. The finished widget will be completely cross-browser and perform as expected in the latest versions of all of the most common browsers. Getting Started Let's create the underlying HTML page first of all; in a new page in your text editor add the following code: Save this as imageScroller.html inside a new folder. Our widget consists of a series of nested containers and a bunch of images wrapped in links. Styling the Widget Bringing the Widget to Life Changing Direction
Comment créer votre propre site de e-commerce? Le e-commerce s’avère être l’une des opportunités de business en ligne des plus viables sur le web. Comparativement aux business traditionnels, un site de e-commerce requiert un coût minimal de lancement et est relativement peu risqué. Cependant, cela ne signifie pas que la création d’un site web est une simple affaire et qu’une réussite future vous sera garantie. L’objectif de cet article est de vous accompagner à travers les étapes et les plans importants dont vous aurez besoin pour organiser et installer un site e-commerce prospère. Dénicher votre Niche! La toute première chose à faire est de trouver votre niche. Rechercher votre niche Une fois que vous aurez fait le tri dans vos idées, procéder à une analyse poussée des quelques idées obtenues au final. Analyser vos compétiteurs Rechercher vos compétiteurs partout, dans chaque recoin du net. Rédigez votre plan d’affaire Voulez-vous avoir un plan infaillible pour votre business? Créer votre site web Héberger votre site web CMS E-commerce
30+Beautiful jQuery Menu Navigation - jQuery Menu In this showcasing, we have pick up beautiful jquery menu navigation plugins and tutorials that you can also download free. In fact, menu is useful navigation link that you will see on every websites, it is an important part of website to show visitor about your website purpose and also easy for user to find information on the website. All those jquery plugin menu types such as jquery slide menu, jquery vertical menu, jquery menu dropdown, jquery context menu, jquery sliding menu, jquery tree menu, jquery menu button, jquery top menu, jquery menus, jquery menu bar, jquery floating menu, jquery accordion menu, jquery horizontal menu, jquery expanding menu, jquery hover menu, jquery popup menu…etc. You may like this post: jQuery Mouseover Effects 3-Level Responsive Drop Down Navigation Menu with jQuery CSS3 Demo Tutorial Drop Down Responsive Menu with CSS3 and jQuery Demo Tutorial Responsive Drop Down Menu jQuery CSS3 Using Icon Symbol Demo Tutorial jQuery Over Animation Menu Demo | Download Demo
Responsive Design with CSS3 Media Queries Screen resolution nowsaday ranges from 320px (iPhone) to 2560px (large monitor) or even higher. Users no longer just browse the web with desktop computers. Users now use mobile phones, small notebooks, tablet devices such as iPad or Playbook to access the web. View Demo Responsive Design Download Demo ZIP See It in Action First Before you start, check the final demo to see how it looks like. More Examples If you want to see more examples, check out the following WordPress themes that I designed with media queries: Tisa, Elemin, Suco, iTheme2, Funki, Minblr, and Wumblr. Overview The page's container has a width of 980px which is optimized for any resolution wider than 1024px. HTML Code I'm not going to go through the details of the HTML code. HTML5.js Note that I use HTML5 markup in my demo. Reset HTML5 Elements to Block The following CSS will reset the HTML5 elements (article, aside, figure, header, footer, etc.) to block element. Main Structure CSS Again, I'm not going to get into the details.
Interface elements for jQuery - About Interface Text-Shadow Exposed: Make cool and clever text effects with css text-shadow › Kremalicious The aim of this article is to give you a quick introduction of a css property named text-shadow which was first included in CSS2 (but it’s not implemented in all browsers yet). Nevertheless you can make some cool effects with it, which could only be done before by photoshopping text and rendering it as an image. Because it’s included in Safari since version 1.1(!) Mac users should be aware of various effects done by this property. In fact, most companys and persons with mac users as their main target audience use this effect on their websites. This article describes how text-shadow works, what you can do with it and which browsers currently support it. Here’s an overview of the headlines in this article. What text-shadow is good forWhich browsers support itCross-browser compatibilityHow does it work and how to use itExamples with code & demosHack: Safari Text RenderingMore articles and resources 1. subtle glow in my navigation text-shadow on Apple.com 2. 3. 4. 5. 5.1 Simple drop shadow 6.
jQuery quickie: Slot machine style navigation Navigation is one of the things you'll see on every website. I wanted to give this part a little bit extra life, and when I saw a movie yesterday that included slot machines, it suddenly hit me. Using jQuery and some basic CSS and HTML, we could add some sweet slot machine style animation to a normally boring kind of navigation. Since it's not such an advanced technique, this is also a jQuery quickie. Already wondering how it works? As usual, we want to keep our HTML as short and clean as possible. <ul id="jquerynav" class="navigation"><li><a href="#" class="marcofolio">Marcofolio.net</a></li><li><a href="#" class="rss">RSS</a></li><li><a href="#" class="twitter">Twitter</a></li><li><a href="#" class="jquery">jQuery</a></li></ul> Take note of the different class and id attributes we need to use. This is all the HTML we need to make this example work. Although the CSS isn't very spectacular, there is something that is the actual key to make this technique work. jQuery That's about it!
CSS: Elastic Videos While I was coding the Elemin Theme (a responsive WordPress theme that I recently designed), one of the challenges that I faced was to make the embedded videos elastic. Using the max-width:100% and height:auto trick works with native HTML5 video tag, but it doesn't work with embed code using iframe or object tag. After hours of experimenting and Googling, I finally found a trick on how to achieve this. If you are creating a responsive design, this simple CSS trick will come in handy. View the final demo and resize your browser window to see it in action. View Demo Elastic Videos Elastic HTML5 Videos (demo) With HTML5 video element, you can easily make it elastic by using the max-width:100% trick (see elastic HTML5 video demo). Elastic Object & Iframe Embedded Videos (demo) The trick is very simple. How to Create Fixed Width & Elastic To restrict the width of the video, an additional <div> wrapper is required. Compatibility Credits This trick was found on tjkdesign.com.