ALA: Long Live the Q Tag

I must redirect anybody interested in learning more on how to render the Q tag correctly for IE/Win users to the new A List Apart article by Stacey Cordoni. Unfortunately, IE/Win does not yet support the Q tag and is making hard for developers, who wants to keep their web site accessible to screen readers, to use it. As usual, the article is precise, concise, and very interesting. So yes, “Long Live the Q Tag”!

Welcome IE7: My first customer.

Hey! You there. With the sup’d up browser. Yes, yes. The IE7. Welcome to my humble website. I hope the website is looking super for you. Well. That’s it for now. I’ll be monitoring you though… hope you come back! Oh, and don’t be shy to let us know if anything looks baaaadd around here.

Google Analytics showing my first IE7 customer

In all seriousness though. I am glad to see that there are some people running IE7 already out there. I mean, I know the RC has been out for a while, it’s been out since August 24 2006, but this means we should be getting feedback from the users very soon. I’m excited to know how much ground they have covered with this release. The sure have been working real hard on their CSS support, the CSS 2.1 specs that is.

Today’s Wallpaper: HicksDesign

HicksDesign: Design is just making things line up

There is a bit of a story behind this wallpaper. I found it through a post by Veerle entitled Design is Just Owning a Clip Art Gallery. I found it funny and saw that it was inspired by HicksDesign’s brilliant wallpaper shown above. Please, visit his website to download the proper wallpaper as I have resized it here to look better on the website. Enjoy!

Number of days left until 07.07.07

According to my google analytics account, the most popular google search that brings people to my website is “days left until 07.07.07“. I found this interesting and also quite funny since I only put this information in our wedding section to inform people of the time left before my wedding. Regardless, I thought I could share the script I wrote/edited in order to find the famous countdown.

Of course, there are many other ways to implement this. For example, I could use javascript to update the time every minutes (or seconds) without reloading the page, however I chose a server-side language so that the outcome is independent of the viewer’s setting (Javascript on/off).

<?php
 function countdown($yr, $month, $day, $hr, $min){
 // make a unix timestamp for the given date
 $countdown = mktime($hr, $min, 0, $month, $day, $yr, -1);
 
 // get current unix timestamp
 $today = time();
 
 // get the number of minutes between the times
 $diff = $countdown - $today;
 
 // Make sure the date is not passed already
 if ($diff < 0) $diff = 0;
 
 // Number of Days left
 $days = floor($difference/86400);
 // Number of Hours left
 $hours = floor(($diff - $days*86400)/3600);
 // Number of Minutes left
 $mins = floor(($diff - $days*86400 - $hours*3600)/60);
 
 echo "".$days." days ".$hours." hours ".$mins." minutes";
} ?>

To use the function, you simply call it using

<?php countdown(2007,7,7,14,0); ?>

ALA Sandbags: Revisited

The picture used in this example is A List Apart’s own picture and is used on this blog to show how to create the effect originally posted on ALA.

I recently bought Designing with Web Standards by Jeffrey Zeldman, which I mentioned in an earlier post, and do not stop learning. It is one of the best purchases I have made in a long time. Whenever I take the time to sit down and read a chapter (or two for that matter), I just can’t stop. So, I recently decided to subscribe to the RSS feed of A List Apart to get my fix of web standard compliant advices and tricks to add to my webpage. Last week, I was delighted to find a post on how to create a wrap around text effect, like the one in this post, which I had previously observed in action on Mike Davidson’s site.

I presume that Mike [Davidson] had computed the “sandbags” by hand, which would be fine, I guess, if you only have to do it once or twice a month, but could end up being a very long process. However, the article in question: “Sliced and Diced Sandbags”, promised to automate the process using a little php script, written by the author himself, Rob Swan. Automate the process it did. And very well I might add. It is based on the transparency values stored in png files, but let’s not get into the details. Explaining the nuts and bolts of his script is not the point to my story today.

Read More»
© Copyright Bonuel Photography - Theme by Pexeto