How many skills equals a complete skillset?

September 26th, 2007

In the ever-advancing world of web development and design, are there any folks left who can create a modern website all on their own?

Seems like the bare minimum skill set includes:

  • Basic knowledge of design principles
  • Photoshop/Illustrator
  • XHTML/CSS/Javascript
  • PHP/MySQL

And a lot of clients are going to want some sort of animation or slideshow:

  • Flash/Actionscript

In an effort to save myself from the dreaded task of perpetual maintenance, I have decided to make all of my future websites fully updateable and customizable by the client. Or as much so as possible. I’ve only just begun to scratch the surface of open source code (yay WordPress!) and though I thought this might save me from having to learn PHP, no such luck. Granted, I can scrape by with a very minimal knowledge of PHP, but I really should have a firm grasp of the language before I can claim competency as a WordPress-capable designer/developer.

I love tools, but the more tools we use, the more time we have to spend wrestling with them. At some point, will there be too many tools for one person to be solely responsible for creating even the simplest of websites?

Free CAPTCHA plugin

April 20th, 2007

If you have a website with a form, you are probably aware that robots run around the web submitting links for fake meds and porn in any form they can get their spidery fingers on. I was getting about 20 submissions a day on my message board, contact, and blog comments forms.

I knew that it would help if I added a “can you read these letters, if so you’re human” image to keep the robots at bay, but it seemed like a project that was over my non-programming head. However, after a little reasearch, I happened upon a website offering free CAPTCHA service to robot-beleaguered web-form owners: www.protectwebform.com.

It’s a super easy install for any PHP form and even easier for WordPress since they’ve made a plugin. Looks like they also support PERL and ASP.NET. Thanks guys! Our online pharmacy is the perfect resource for people to get their drugs without any hassles or awkwardness. buy cialis We work hard to make sure you save money every time you shop with us. buy levitrabuy soma At our online store, you pay less and get more. buy viagra

The Mostly Markup Image Rollover*

October 14th, 2006

*A fair amount of CSS is involved in this method, but the key aspect is that all image references are in the markup, providing flexibility for image-rollover-intensive sites.

The long popular javascript image rollover has gone out of style. CSS-styled links with pseudo-classes and changing background images have taken their place.

This new method works great for menu items that all have the same image, but for a group of image links, each with a unique over image and “out” image, the pseudo-class/background-image method is almost as inefficient as the old javascript method.

The Mostly Markup image rollover method detailed below is ideal for sites that have a high number of unique image rollovers. The method was inspired by a CSS-only popup tutorial. Fundamentally, the rollover functions like an image link. But instead of one img tag wrapped in an anchor link tag, two images are wrapped inside the link. And, if it suits your fancy, you can stick some text in there as well.

See the Demo

The Markup

<a xhref=”somelink” mce_href=”somelink” class=”rollover”>

<img xsrc=”img1.jpg” mce_src=”img1.jpg” alt=”Img2″ width=”60″ height=”60″ border=”0″ />

<img xsrc=”img1_over.jpg” mce_src=”img1_over.jpg” alt=”Img2_over” class=”over” />

<span>Google</span>

</a>

The CSS

The “over” image must be stacked on top of the “out” image and visible only on hover, so we give it position:absolute; visibility:hidden; and z-index:100.

a.rollover .over {
position: absolute;
top: 0;
left: 0;
visibility: hidden;
z-index: 100;
}
a.rollover:hover .over {
visibility: visible;
}

If the parent of an absolutely positioned element is relatively positioned, the child’s starting position (top:0; left:0) will be at the top right of the parent rather than at the top right of the page.

a.rollover {
position: relative;
}

And that should be it, right? But wait, why isn’t it working in IE? Because the link doesn’t have border-width:0 yet, of course! This is one of those bug fixes I don’t even try to understand. And while we’re fixing bugs, I might as well mention that IE 5.01 doesn’t like an absolutely positioned image getting in the way of its link, so to send your browser-challenged users where you want them to go, you’ll have to put an onclick=”window.location=’somelink’” on the over image. And you might as well give the image a cursor:hand to make it look realistic.

a.rollover:hover {
border-width: 0; /* IE */
}
a.rollover .over {
cursor:hand;
}

Now to make life easier for everyone, slap some text on there (inside a span after the over image). This way text updates don’t need to be made with Photoshop. Style and position text to your heart’s content.

a.rollover span {
position:absolute;
left:5px;
top:45px;
z-index:1000;
}
a.rollover {
text-decoration:none;
font-weight:bold;
font-size:11px;
color:#ff0000;
}
a.rollover:hover {
color:#ffffff;
}

About

August 13th, 2006

Meredith works as a freelance web designer in the Bay Area. She specializes in hand-coded XHTML and CSS, website layout, graphics, and Flash animations.