@pjybay Welcome to the internet, Phil... haha :P

54 minutes ago

Rss

Attack of the ‘if statements’

The small project I’m working on requires a lot of front end visual effects, so this means a lot of JavaScript coding! The one thing I love about coding in JavaScript is just how pure simplicity can turn into one confusing function. Let’s have a look at an extract from the JS file:

function goHome(){
     $im1 = $("div.links").css("display");
     if($im1 == ‘block’){
          $("div.links").hide("slow");
     }

     $im2 = $("div.contact").css("display");
     if($im2 == ‘block’){
          $("div.contact").hide("slow");
     }
     $dpL = $("div.front").css("display");
     if($dpL == ‘none’){
          $("div.front").show("slow");
     }
}

So, why 3 ‘if statements’? Well, because the content appears in the same DIV tag, I need to hide or show whatever the user requests without having the other content being in the way. To prevent this, I check the current CSS Display value to see whether or not I need to hide or show it. In it’s simple form, “if it’s hidden, show it”, but above is what it actually is.

The JS for the project is powered by jQuery.

(3) comments

simpleweb logos

simpleweb logos

I’ve been meaning to create a separate site to my current [07designs.com] site, to focus more on freelance web design. A site more focused as a company rather than a personal site. I currently do web design through referrals, which means if I design a site for you, you mention my services to your friend. So on and so on, it’s been working okay so far.

simple web, name pending, is a small web design company that focuses on creating simple, beautiful and functional websites. Either for our own purposes or for other clients. I still need to work out the final details, but I’d like some feedback on the logos. Though some simple shapes, I’ve come to liking them.

(2) comments

Trying out a new theme

Usually I’d create my own theme, but I just do not have the time to spend and design [and code] a theme for this blog. It’s just a tedious process, especially getting it to look right on multiple browsers. So I decided to go theme hunting, so far I’m liking this one but I’m still not 100% sure. If you have any suggestion on a cool theme that I can easily modify (to make it a little more unique), please let me know.

If you have a few minutes, watch this:

(2) comments

Making of ‘Stranger’

The Making of ‘Stranger’ from Jarques and Vimeo.

(1) comment

New gadget and some inspiration

My brand new 320gb LaCie FireWire 400 hard drive finally arrived today. Main purpose of this drive is for my new Video class, but I will also be using it for backups and other things that I’ll need all that space for.

I stumbled across a rather amazing site. Though some technical issues are present, the overall presentation of the site and the content is something I’ll be reading for a while. The site is called Web Designer Wall, and talks about ideas, tutorials and web trends. I would recommend any web designer, or user, visit this site.

Web Designer Wall: http://www.webdesignerwall.com/

No comment