Archive for the ‘News’ Category

by Dave Johnson

December 14 2011

Candition.com

by Dave Johnson

June 11 2011

I built a new Website and launched it two weeks ago, took about a month to build. I built it all in Ruby on Rails. it was my first RoR project. the design started out with square boxes for the rating system and decided to keep the square theme through out the website.

Candition.com

Design Quote Quick Script

by Dave Johnson

February 4 2011

This is some code I wrote up real quick for the footer of my website. I was using the “Straight Up” javascript from QuotesOnDesign.com however this included some very long quotes that are not really quotes at all more like essays. So I used the API instead and wrote some php that has a word limit and if it goes over then it posts a link that the user can fallow to finish reading the quote.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 <?php
 $jsonurl = "http://quotesondesign.com/api/3.0/api-3.0.json"; 
$json = file_get_contents($jsonurl,0,null,null);
$json_output = json_decode($json); 
$id = $json_output->id;
$quote = $json_output->quote;
$author = $json_output->author;
$permalink = $json_output->permalink;
$position=300;
if (strlen($quote) > $position){
	$post = substr($quote,$position,1);
	if($post !=" "){
		while($post !=" "){
		$i=1;
		$position=$position+$i;
		$post = substr($quote,$position,1);
		}
	}
	$post = substr($quote,0,$position);
	$post .= "...<a href=\"" . $permalink . "\">(More)</a>";
}
else{
	$post = $quote;
}?>
<blockquote id="qod-quote">
 
      <?php echo $post; ?>
 
      <a href="<?php echo $permalink ?>">
         &mdash; <?php echo $author ?>
      </a>
</blockquote>

Almost done!

by Dave Johnson

January 26 2011

well I finally have this theme stable in all browsers other than IE 8 or lower, that will be my project for the next week… If you are using IE to view my website, shame on you. if there is one thing society can do to better the world it is to not use Internet Explorer at all. if for some reason you can’t stand to live without it, then do everyone a favor and download IE 9 Beta which should be released as a RC1 within the next few weeks.

this is the first project that i’ve implemented that pretty much depends on CSS3. also I’ve noticed a tiny bit of loading problems, nothing major or annoying but I’ll be working on that too.

New Website Design

by Dave Johnson

January 22 2011

This is my project for the week, I’ve got a new logo, new colors, and new everything pretty much. I’m running a lot of HTML5 and CSS3. and next week’s project will be to create a whole new style sheet for all the retards how insist on using Internet explorer. right now I’m just doing a simple mack-up in html and css then i’ll convert it into a wordpress template. you can check my progress here.