background preloader

Webdesign

Facebook Twitter

Adding Keyboard Navigation. Watch Watch Adding Keyboard Navigation screencast (Alternative flash version) QuickTime version is approximately 28Mb, flash version is streaming. View the demo used in the screencast Important change During the screencast I use body (though my original choice was window), but this doesn’t work in IE. So I’ve switched the code to use document.documentElement. The problem Mathieu White got in touch with me to ask how to add the keyboard support to his site. Since jQuery lends itself to finding something, then doing something to it, I would let the slider code run, then find the links on the page used to navigate the slider, and trigger them as appropriate on keyboard input. The task is to slide the panels left or right, depending on which cursor key is pressed on the page. The solution As Mathieu’s slider is the primary focus of the page, we want the keyboard support to apply from anywhere on the page.

Triggering the effect is the trick. Capturing key events keydownkeypresskeyup Alternative uses. 35 Beautiful Photography Websites. Advertisement Interest in photography has exploded over the last 10 years, largely thanks to the developments in digital photography. Cameras and computers have become cheaper and more powerful, software more sophistocated and printers can now print photos that are as good (if not better) than anything produced in a chemical darkroom. Now, once you’ve acquired a digital setup, the economic restrictions of film and development costs have been removed and the cost of photography is virtually nil.

Along with these developments in photography has been the parallel development of the Web. Ten years ago websites were largely clumsy, HTML driven constructions. Today, contemporary photographers have powerful tools such as Flash, WordPress and DreamWeaverwith which to develop their websites. The result is that photographers are finding new and exciting ways to showcase their best work online. You may want to take a look at the following related posts: Beautiful Photography Websites Last Click. 40 Great Photographer Portfolio Websites for Inspiration. Inspiration by Bill Jones 38inShare Here is a collection of fantastic portfolio web design. I think this will be worthwhile for anybody who wants to create an online portfolio for their photography and is looking for some inspiration. Jeremy Cowart Koen Demuynck Mitchell Kanashkevich Joon Brandt Frederik Clement Brent Stirton Les Forrester Alberto Ovied Ashley Lebedev Jill Greenberg Paolo Boccardi Eric Ryan Anderson Lara Jade Corey Arnold Andrew Gransden David Hill Gavin Gough Your Beautiful Photography Dimitris Theocharis Robert Dann Chase Jarvis Jonathan Glynn Smith Jan Sochor Lisa Bettany Denis Reggie Christian Oth Levon Biss Little Hellos Mark Velasquez Daniel Kennedy Photography Rinze Van Brug Emmanuel Rouzic Raven Photography Carlos Alonso Bodas Kenn Reay Jason Bell James Day Photography Evaan Kheraj David Vasiljevic What’s your favorite portfolio site?

Create an amazing portfolio site using Work, a beautiful wordpress theme by Theme Trust or check out more premium wordpress themes here. Like Our Site? 104 Comments. Perfect Full Page Background Image. Learn Development at Frontend Masters This post was originally published on August 21, 2009 and is now updated as it has been entirely revised. Both original methods are removed and now replaced by four new methods.

The goal here is a background image on a website that covers the entire browser window at all times. Let’s put some specifics on it: Fills entire page with image, no white spaceScales image as neededRetains image proportions (aspect ratio)Image is centered on pageDoes not cause scrollbarsAs cross-browser compatible as possibleIsn’t some fancy shenanigans like Flash Image above credited to this site. Awesome, Easy, Progressive CSS3 Way We can do this purely through CSS thanks to the background-size property now in CSS3. Works in: Safari 3+Chrome Whatever+IE 9+Opera 10+ (Opera 9.5 supported background-size but not the keywords)Firefox 3.6+ (Firefox 4 supports non-vendor prefixed version) View Demo CSS-Only Technique #1 Big thanks, as usual, to Doug Neiner for this alternate version. How To: Resizeable Background Image. Published by Chris Coyier If you are looking for how to do FULL SCREEN BACKGROUND IMAGE, go here. My friend Richard recently came to me with a simple CSS question: Is there a way to make a background image resizeable?

As in, fill the background of a web page edge-to-edge with an image, no matter the size of the browser window. Also, have it resize larger or smaller as the browser window changes. Also, make sure it retains its ratio (doesn't stretch weird). Wow, that's a tall order. Finished Project: What's The Weather? Go ahead and resize your browser window around and notice how the image will resize to fit. First Attempt Well my first thought was that this really needs to be a CSS background-image. You guessed it, jQuery. Second Attempt (better) While the first attempt did a decent job, it failed at the most fundamental level: it wasn't "resizeable".

We can, again, use jQuery and the dimensions plugin to get our browser window's width. Third Attempt (best) Forget this javascript business! Less is More: Fundamentals of Minimalist Web Design. Fighting the battle against clutter is something every designer undertakes, whether it's on their own site or when designing for a client. Your web site’s design should enhance your site's purpose by putting the focus on the content and being usable by everyone. Taking the extra time to ensure no detail is left overlooked will produce an effective and attractive website. Republished Tutorial Every few weeks, we revisit some of our reader's favorite posts from throughout the history of the site.

This tutorial was first published in October of 2010. Define the Site's Purpose Your site needs a clearly defined purpose to eliminate any confusion from the start... First things first - before opening up your favorite graphics app to design your hot new minimal site, you will need to establish what the site is going to be used for. My site needs to ______________________________________. By clearly defining a purpose early on, you will be able to use it to help keep your design on track. Unity. 60 Clean and Minimal Websites for Inspiration. During the last few months we have looked at using negative space and minimalist design. Today we bring you 60 of the best-looking minimalistic sites currently on the world wide web.

Sit back and get inspired… Minimal Design Keeping things simple is the whole purpose of minimal design. Why overcomplicate what's already a very full web with thousands more links and buttons?! Some of the sites have gone completely minimal without any effects apart from well laid out content, where as others choose to display the huge amount of content with sliders, drop downs and some very uniquely designed objects.

Minimal design is actually a lot more difficult to achieve than you might think; keeping your designs clean but bursting with important information is a fine balance. 1: TouchTech Top feature: I love the color scheme, but the way the circles pop out from the cloud on loading the site is really funky. 2: Weltunit Top feature: Well displayed products make this site straight to the point. 3: Polar Gold. Screen resolution simulator. Alternative Style: Working With Alternate Style Sheets. So you’ve got a web page. You’ve marked it up with structural XHTML. You’ve also been a good little web developer and used style sheets to control what your document looks like.

You’ve even gone the extra mile and created several alternative style sheets to show how hardcore you are. Article Continues Below Great. But now you need a cross-browser way to dynamically switch between the style sheets. Styling your site#section1 Style sheets can be associated with documents using a list of link elements in the head. Persistent#section2 These style sheets are always enabled (they are always “on”) and are combined with the active style sheet.

To make the style sheet paul.css persistent, the following link element would be included in the head: Preferred#section3 These style sheets are enabled by default (they are “on” when the page is loaded). To make a style sheet preferred, the rel attribute is set to “stylesheet” and the style sheet is named with the title attribute. Alternate#section4. Controleer Browser Compatibiliteit, Cross Platform Browser Test - Browsershots. Oulipo. Clear. Charcoal. Wu Wei. Minimalist. CSS Gradient Background – Cross Browser! You read that right. This works in: Firefox >=3.6MSIE >=5.5 (!) Safari >=4Chrome Oh Em Gee, I’ve got a CSS-applied Gradient. How neat is this? I mean really, this is super cool. And it degrades gracefully in older browsers and Opera. My boss Mike passed this little CSS gem to me, and now dear reader I pass it to you. I’ve condensed Darren’s CSS down to these four lines plus comments, which will give you the lovely Green-to-Black CSS gradient background you can see above.

And as you may have guessed by the ‘V’ in the class name, you can also do horizontal gradients – here are some more examples for left-right gradients, and we see what happens when we apply animations to a gradiented DIV. So now we no longer need little 1px slices in the background-image property, just remember to make sure all the colors in each line of CSS match up, and that you choose a nice flat colour fallback that works with your content. As in: Oh boy, when you click on this, you’d better be sitting down. Related Posts: Previews. Border-radius: create rounded corners with CSS! Home / CSS3 Previews / Border-radius: create rounded corners with CSS! The CSS3 border-radius property allows web developers to easily utilise rounder corners in their design elements, without the need for corner images or the use of multiple div tags, and is perhaps one of the most talked about aspects of CSS3.

Since first being announced in 2005 the boder-radius property has come to enjoy widespread browser support (although with some discrepancies) and, with relative ease of use, web developers have been quick to make the most of this emerging technology. Here’s a basic example: This box should have a rounded corners for Firefox, Safari/Chrome, Opera and IE9. The code for this example is, in theory, quite simple: However, for the moment, you’ll also need to use the -moz- prefix to support Firefox (see the browser support section of this article for further details): How it Works border-bottom-left-radius, border-bottom-right-radius, border-top-left-radius, border-top-right-radius The Syntax:

Opzet webwinkel - PHP tutorials - PHPhulp.