with Imagination: by Dustin Diaz

./with Imagination

A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz

Nakedness

Thursday, October 19th, 2006

It’s no wonder things like this:

Cameron Diaz Nude

And this:

Cameron Diaz Topless

And when Jeremy spreads the news about the matter at conferences:

Jeremy showing Nude Cam Diaz on the big screen

And of course with events like these, it’s no wonder I end up with stats like this:

Naked at the top

8 Responses to “Nakedness”

  1. C

    What a way to start my Friday morning…Cameron absolutely loves the naked banter!

  2. patrick

    Nothing like good Friday nakedness. Thanks, Dustin, I needed a smile this morning. :-)

  3. Elliot Swan

    And now you have this post to add to the mix.

    Watch those stats fly sometime next week.

  4. Robert Otani

    WRONG!

    My eyes… burning… ow…

  5. Jason Beaird

    No wonder you don’t use contextual advertising on your site. I’d hate to see what kind of ads you’d get on the naked day post. Pretty soon your entire site will be blocked for offensive content. :)

  6. Maxine

    You *love* it. C’mon, everyone’s gotta be famous for something…..

  7. Abe Westfall

    I could’nt find a better place to post this, so here it is.
    I was inspired by the annual Naked Day.
    However, I do most of my design work in ASP.NET and C#.NET.
    Because of this I decided to write a small function to go along with the php function that Luke Wertz provided.
    So, here it is:

    This part goes in your .aspx page. The label must go inside the form tags so that you code-behind file can manipulate it.

    
    “>
    

    Then is the function:

    
        private bool isNakedDay()
        {
            //is today naked day?
            DateTime today = DateTime.Now;
            DateTime april5 = DateTime.Parse("05/05/" + DateTime.Now.Year.ToString()).ToUniversalTime();
            DateTime startDate = april5.AddHours(-10);//the first time zone to hit a day is GMT-10
            DateTime endDate = april5.AddHours(14);//the last time zone to enter a day is GMT+14
            if (!(today > startDate && today 
    And this is how you might use it:
    
    
        protected void Page_Load(object sender, EventArgs e)
        {
            if (isNakedDay())
            {
                styleSheet.Text = "";
            }
        }
    
  8. Abe Westfall

    ummm, that post kinda went funky.
    Dustin, feel free to email me for what the post was supposed to be, if you want it.

Leave a Reply

Phone Number:

If you're about to post code in your comment, please wrap your code with the tag-combo <pre><code>. Also please escape your html entities - otherwise they will be stripped out. I recommend using postable.

Get "JavaScript Design Patterns"

"As a web developer, you'll already know that JavaScript™ is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power waiting to be unlocked--JavaScript is capable of full object-oriented capabilities, and by applying OOP principles, best practices, and design patterns to your code, you can make it more powerful, more efficient, and easier to work with alone or as part of a team."

Buy JS Design Patterns from Amazon.com Buy JS Design Patterns from Apress

Flickr

Submit a Prototype

All content copyright © 2003 - 2007 under the Creative Commons License. Wanna know something? Just ask.

About | Archives | Blog Search

[x] close

Loading...

Submit a prototype

By checking this prototype I agree that I am not submitting false credentials, pornography, or a hate crime website. I also understand that by submitting my entry I may or may not be accepted, and if accepted, my entry may be taken down at any given time if I violate these terms.