<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]>
<!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Website Title & Description -->
<title>Home</title>
<meta name="description" content="Dreamer - Responsive One Page Parallax Template">
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes"/>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-57x57-precomposed.png">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="shortcut icon" href="favicon.ico" />
<!-- Included CSS Files -->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="stylesheets/portfolio.css">
<link rel="stylesheet" href="stylesheets/foundation.css">
<link rel="stylesheet" href="stylesheets/normalize.css">
<link rel="stylesheet" href="stylesheets/supersized.css" type="text/css" media="screen" />
<link rel="stylesheet" href="stylesheets/supersized.shutter.css" type="text/css" media="screen" />
<link rel="stylesheet" href="stylesheets/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" />
<!-- Included JS Files -->
<script src="javascripts/modernizr.foundation.js"></script>
<script src="javascripts/jquery.js"></script>
<script src="javascripts/custom.js"></script>
<script src="javascripts/twitter.js"></script>
<script src="javascripts/raphael.js" type="text/javascript"></script>
<script src="javascripts/init.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.parallax-one').css("margin-top", $(window).height());
$("a[rel^='prettyPhoto']").prettyPhoto();
var windowsize = $(window).width();
$(window).resize(function() {
var windowsize = $(window).width();
});
if (windowsize > 1024) {
//if the window is greater than 1024px wide then load one orbit settings
//.parallax(xPosition, speedFactor, outerHeight) options:
//xPosition - Horizontal position of the element
//inertia - speed to move relative to vertical scroll. Example: 0.1 is one tenth the speed of scrolling, 2 is twice the speed of scrolling
//outerHeight (true/false) - Whether or not jQuery should use it's outerHeight option to determine when a section is in the viewport
$('.parallax-one').parallax("50%", 0.5);
$('.parallax-two').parallax("50%", 0.5);
$('.parallax-three').parallax("50%", 0.5);
$('.parallax-four').parallax("50%", 0.5);
$('.parallax-five').parallax("50%", 0.5);
$('.parallax-six').parallax("50%", 0.5);
}
//if submit button is clicked
$('#submit').click(function () {
//Get the data from all the fields
var name = $('input[name=name]');
var email = $('input[name=email]');
var phonenumber = $('input[name=phonenumber]');
var website = $('input[name=website]');
var projectbudget = $('input[name=projectbudget]');
var timeframe = $('input[name=timeframe]');
var youreinterestedin = $('input[name=youreinterestedin]');
var howdidyouhearaboutus = $('input[name=howdidyouhearaboutus]');
var comment = $('textarea[name=comment]');
//Simple validation to make sure user entered something
//If error found, add hightlight class to the text field
if (name.val()=='') {
name.addClass('hightlight');
return false;
} else name.removeClass('hightlight');
if (email.val()=='') {
email.addClass('hightlight');
return false;
} else email.removeClass('hightlight');
if (comment.val()=='') {
comment.addClass('hightlight-message');
return false;
} else comment.removeClass('hightlight-message');
//organize the data properly
var data = 'name=' + name.val() + '&email=' + email.val() + '&phonenumber=' + phonenumber.val() + '&website=' + website.val() + '&projectbudget=' + projectbudget.val() + '&timeframe=' + timeframe.val() + '&youreinterestedin=' + youreinterestedin.val() + '&howdidyouhearaboutus=' + howdidyouhearaboutus.val() + '&comment=' + encodeURIComponent(comment.val());
//disabled all the text fields
$('.text').attr('disabled','true');
//show the loading sign
document.getElementById("submit").disabled=true;
document.getElementById("submit").value='Please Wait..';
//start the ajax
$.ajax({
//this is the php file that processes the data and send mail
url: "contact-form.php",
//GET method is used
type: "GET",
//pass the data
data: data,
//Do not cache the page
cache: false,
//success
success: function (html) {
//if process.php returned 1/true (send mail success)
if (html==1) {
//hide the form
$('.contact-form-div').fadeOut('slow');
//show the success message
$('.done').fadeIn('slow');
//if process.php returned 0/false (send mail failed)
} else alert('Sorry, unexpected error. Please try again later.');
}
});
//cancel the submit button default behaviours
return false;
});
})
</script>
<!-- Hook up the Loader -->
<script type="text/javascript">
$(window).load(function() {
$("#loading").fadeOut("1000", function() {
// Animation complete
$('#loading img').css("display","none");
$('#loading').css("display","none");
$('#loading').css("background","none");
$('#loading').css("width","0");
$('#loading').css("height","0");
});
});
</script>
</head>
<body>
<!-- Loader -->
<div id="loading">
<img src="images/loader.gif" alt="Website Loader"/>
</div>
<!-- Slideshow Pattern & Overlay -->
<div class="slideshow-pattern"></div>
<div class="slideshow-overlay"></div>
<div class="triangle-top"></div>
<div class="triangle-bottom"></div>
<div class="header-container">
<!-- Basic Needs -->
<div class="row">
<nav class="top-bar">
<ul>
<li class="name"><a href="#homepage"><img src="images/logo.png" alt="Dreamer Logo"></a></li>
</ul>
<section class="hide-for-small">
<ul class="right">
<li><a href="#homepage">Home</a></li>
<li><a href="#our-team">Our Team</a></li>
<li><a href="#about-us">About Us</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#news">News</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</section>
<select class="responsive-nav show-for-small" onchange="moveTo(this.value)" onFocus="moveTo(this.value)">
<option value="" selected="">Main Navigation</option>
<op