background preloader

Masked Input Plugin

Masked Input Plugin
First, include the jQuery and masked input javascript files. Next, call the mask function for those items you wish to have masked. Optionally, if you are not satisfied with the underscore ('_') character as a placeholder, you may pass an optional argument to the maskedinput method. Optionally, if you would like to execute a function once the mask has been completed, you can specify that function as an optional argument to the maskedinput method. You can now supply your own mask definitions. jQuery(function($){ $.mask.definitions['~']='[+-]'; $("#eyescript").mask("~9.99 ~9.99 999");}); You can have part of your mask be optional. jQuery(function($){ $("#phone").mask("(999) 999-9999? If your requirements aren't met by the predefined placeholders, you can always add your own. jQuery(function($){ $("#phone").mask("#hhhhhh");}); By design, this plugin will reject input which doesn't complete the mask.

Create apple.com-like breadcrumb using simple CSS I believe you all know what breadcrumbs are. If I would have to make a simplest, rough definition I could say it is a navigation pattern that shows a path from the home page to the current one. If you are still unsure what breadcrumbs are (or my “definition” is too rough) be sure to read Breadcrumbs pattern explanation on Welie.com In its simplest form it usually looks like this: You are here: Home > Sample page 1 > Sample page 2 > Current page But we are going to enhance this simple form and to create a breadcrumb that is similar to the one on apple.com. Let’s create something that looks like this As you can see on the screenshot above, breadcrumb has a soft gray gradient and a separator that looks like a right arrow. So what would be the best way to create a breadcrumb? In the example above we have unordered list that has four list items. If you try to see this example in a browser you would see a simple bulleted list. First we’ll style UL element: Believe it or not that’s all. Conclusion

Harmonix Releases Rock Band Roadie Expansion Harmonix Music Systems announced the release of the new Roadie Expansion for the popular Rock Band video game. In Rock Band up to four players can play as a drummer, lead guitar, bass guitar or vocalist. The expansion pack allows two more players to join in as roadies for the band. The Roadie Expansion addresses two of the biggest complaints from gamers by allowing more players to play at once, and making the game accessible for players without any rhythm. "I can't imagine anyone who plays Rock Band would have more than five friends, so we should be covered for a while," said Harmonix CEO Alex Rigopulos. Carl Drizer who frequently gets left out of the band when he and his friends play said, "I have no rhythm so it's hard for me to play an instrument, but I can still feel like I'm part of a band. The roadie expansion kit introduces three new controllers spotlight, spare microphone and security mace.

ongoing · REST Questions My good­ness, there’s cer­tain­ly a lot of REST talk these days. I’m part­ly re­spon­si­ble; Paul Krill and I had a long talk at OSCON and he chose to pull out my diss­ing WS-* for his ti­tle: Sun tech­nol­o­gist: SOAP stack a ‘failure’. This led to an in­cred­i­bly long dis­cus­sion thread on Ya­hoo Groups’ (irritatingly-named) “service-orientated-architecture” fo­rum. Damien Katz was an­oth­er provo­ca­teur, fir­ing off REST, I just don't get it and “The web is built on REST. There­fore REST is good” Bull­shit. This pro­voked Dare Ob­san­jo to a burst of re­strained ped­a­gogy in Ex­plain­ing REST to Damien Katz. Has REST Been For­tu­nate in its Ene­mies? Lousy foun­da­tion­al tech­nolo­gies (XSD and WSDL).A Microsoft/IBM-driven pro­cess that was crip­pling­ly product-linked and po­lit­i­cal.De­sign­ers un­der­e­d­u­cat­ed in the re­al­i­ties of the Web as it is.Un­nec­es­sary de­tours in­to Ar­chi­tec­ture Astro­nau­tic­s. And so on. Is Get­ting HTTP Right Good Enough?

7 Important Fitness Tips For Web Workers | Dumb Little Man Web working and fitness usually don’t go hand in hand. In fact, fitness is probably the last thing on a web worker’s mind. In front of a computer all day and constantly working on new projects, a web worker doesn’t have the time to keep fit. As a result, their weight increases, mental stress levels increase, and frankly, overall health goes down the tubes. This is the problem; without good health, productivity declines. When a web worker’s productivity declines, output declines. There’s always an excuse when you are asked to take time off and do some exercise; there’s always a tomorrow. Here are some steps to take: First Step – DisciplineAbsolutely. Now keep in mind that the ‘time’ could be different for different people. Take a Walk EverydayI wanted to suggest a run but considering that most of us are born procrastinators, a run could have been intimidating enough to be scheduled for the elusive tomorrow. You might want to buy a treadmill and run on it, but I’d still insist on a walk.

Creating a Slick Auto-Playing Featured Content Slider - CSS-Tricks I love the Coda Slider plugin for jQuery. I've used it recently to build a couple of tabbed "widgets". One here on CSS-Tricks in the sidebar to show Script & Style links, Featured Posts, and Popular Posts. Just kind of a fun way to show lots of content in a small area. I also used it on an article for NETTUTS for a similar purpose. Both of these examples use the Coda Slider pretty much "out of the box". View Demo Download Files Functionality Checklist Like I said, the Coda Slider was 90% there already. Here is what we need in addition: Different types of custom content in the panels. Let's go through the HTML, CSS, and JavaScript. The HTML Here is the framework HTML for just the slider itself: <div class="slider-wrap"><div id="main-photo-slider" class="csw"><div class="panelContainer"><div class="panel" title="Panel 1"><div class="wrapper"><! The CSS The full CSS for this example has a basic reset, some utility styles and basic structure. The JavaScript We aren't done yet though. Share On

40 Beautiful Free Icon Sets - Six Revisions Some of the best things in life are free. When it comes to icons and icon sets, there are many talented designers and artists that choose to provide beautiful and useful icon sets for commercial and/or personal usage. In this collection, you’ll see 40 beautiful, free icon sets that you can use in a variety of ways (websites and/or your desktop). In total, you’ll find close to 3000 invidual icons showcased in this article. Note: It’s important to read the fine-print before using any icon sets; some may have restrictions for commercial use (or require that you give credit to the designer). Yoritsuki icons 35 icons – Download (PNG and ICO) Hand Drawn Doodle Icon Set 14 icons – Download (PNG and JPG) rounder_png 43 icons – Download (PNG) eico 1 year 17 icons – Download (PNG, ICO, and ICNS) Wifun Icons 6 icons – Download (PNG and ICO) 3D Cartoon Icons Pack 111 icons – Download (PNG, ICO, and ICNS) 3D Cartoon Icons Pack III 205 icons – Download (PNG, ICO, and ICNS) De Freu 41 icons – Download (PNG) Practika V!

200+ Resources for Freelance Web Designers | DesignM.ag Get the FlatPix UI Kit for only $7 - Learn More or Buy Now There will always be new people getting into the process of learning web design. It is a convoluted topic at first, but if you stick with your studies it can be an extremely rewarding experience. The web design community is full of useful freebies and tutorials which you can find all through Google. I want to present a small collection of posts which are geared towards newcomers in web design. New Defaults in Web Design The online publication Smashing Magazine has been going on for years. Think about all the various elements from text sizes, form inputs, table designs, images, even basic layout creation. Dig through this article and be sure to skim other headlines on the site which have been published recently. Tutorials for Beginning Web Designers Along with Smashing Magazine there is another network of sites run by Envato called Tuts+. It may take a bit of time to go through all of the links. Hottest Design Trends for 2013 Closing

15 Quick Ways to Shrink Page Load Times | Web Jackalope While more and more people are using faster Internet connections, there seems to be less emphasis by web developers on optimizing pages for faster load times. We’re seeing more and more widgets and javascript-heavy pages that take a long time to load, even on fast Internet connections. It’s a breath of fresh air when a website loads quickly and cleanly. Web developers sometimes neglect some simple rules when it comes to developing a fast website, which really hurts the user’s experience. Fast page load times are crucial for keeping users happy. This is especially true for ecommerce websites. Faster pages make a better user experience. Slow load times can be a killer to even the best web design. 1. There are a lot of these tools, but I’ve always used the Web Page Analyzer to check for general errors and seeing the “health” of my site in terms of load times. 2. Another nifty feature of Pingdom is being able to see the lengths of the different stages of loading. 3. 4. 5. 6. 7. 8. 9. 10.

Logo Design Inspiration: 54 Creative Logos Hand-picked From Logopond Learn how to earn $125 or more per hour as a freelancer - Click Here Looking for hosting?. We recommend MediaTemple for web hosting. once again dzineblog presents you the logo design inspiration series, this time i’ve selected the logo’s from logopond, as you know logopond is one of the greatest source for logo inspiration The better a logo greater the probability that your clients will remember you and get back to you. 5 Steps Towards Great Web Design | My Ink Blog The process of developing a website can be long and tedious, but the end result should be rewarding. As a web designer it’s very easy to spot sites that were well-thought out and others that were not. Throwing something together too quickly without much of a plan leads to a lot of redesigns and mistakes. I’ve narrowed down my design process into five basic categories. This helps me organize my thoughts in order to optimize my work flow. 1. I’ve found out the hard way that the interview may very well be the most important step. Danny Outlaw of Outlaw Design Blog provides a fantastic starting point for just such a questionnaire. I’ve often found the most difficult part of the design process is getting content from the client. 2. You already know more about your clients wants and needs, now it’s time for you to sit down and do your homework. Make sure to take a look at their websites. 3. So grab any old notebook and start jotting your ideas down. 4. 5. That should be about it.

Top 10 CSS Table Designs | CSS, Events Advertisement Many companies try to create a great experience for customers. But few are willing to make the changes required to deliver on that promise. In fact most don’t even realize just how bad their experience can be. This is why we made a new book called “User Experience Revolution,” a practical battle plan for placing the user at the heart of your company. Get the book now! Tables have got to be one of the most difficult objects to style in the Web, thanks to the cryptic markup, the amount of detail we have to take care of, and lack of browser compatibility. Further Reading on SmashingMag: Link Designing Designing Print With CSS1The New Standard for The Web: CSS Grid and Flexbox2Taking Pattern Libraries3 To The Next Level First things first Link We start with a valid xhtml 1.0 strict markup. <table id="..." You can read more about xhtml table markup in HTML Dog’s Table Section4. Before we start, let’s review the general rule of thumb for styling of tables: Tables love space. 1. 2. 3.

Related: