Redesigning an “Edit Product” Page
I decided that in 2010, I was going to design more things. I didn’t do as much just straight up designing of things in 2009. So rather than wait around for opportunities to come to me, I am going to …
I decided that in 2010, I was going to design more things. I didn’t do as much just straight up designing of things in 2009. So rather than wait around for opportunities to come to me, I am going to …
In an effort to provide a permanent resource to the question “are there any books you recommend?”, I created the CSS-Tricks Bookshelf. It had slowly gone out of date, so now I’ve bought it back up to date …
Using RGBa for progressive enhancement is getting more and more popular, which is awesome. Even nearly a year ago it was pretty much ready to rock. A great way to handle the progressive enhancement part is just to declare …
See the two commented lines below, that is where you can insert code for things to do when the user goes idle, and when the user comes back. Set the idle period on the third line, 1000 = 1 second. …
This is like a replacement for PHP’s SCRIPT_NAME with JavaScript.
location.href.split('/').pop();
For example with this URL:
https://css-tricks.com/examples/ScriptName/index.php
This code:
document.write( location.href.split('/').pop() );
Would write to the page: “index.php”…
When you use jQuery’s .animate() function with something like a hover event, those animations will “queue up”. That is, if you hover multiple times, that animation will fire multiple times. The classic method to prevent this is to throw in …
JavaScript-required area is hidden with inline CSS, and then shown after it loads with a small snippet of JavaScript. Below that, noscript tags are used for fallback content. So only one or the other of these bits of content will …
There is probably a right and wrong answer for this, so if that emerges, I’ll update this article and mention it in the results. Regardless, I don’t think it’s obvious, so this poll should be answered on what you currently …
The example here is if you had a form on a website that when submitted, needed to use that information to go to a special URL where the login information was all appeneded to the URL. You could have the …
If you read this blog, there is a 99% chance you’ve had a hair-pulling experience with …
My intention with this poll was to be kinda vague, so that people would respond about what they like the best instead of thinking of one particular instance of usage. Usage could be where ever you need to manually name …