Skip to content

Commit

Permalink
Finalizing changes to the homepage to add the new Swizzle case study
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Smiley committed Nov 17, 2011
1 parent 20cf1c7 commit 366d8b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
Binary file added marketing/images/mobileimg-swizzle.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion marketing/index.php
Expand Up @@ -90,7 +90,7 @@
<div class="three columns">
<a href="case-swizzle.php"><img src="images/img-swizzle.jpg" alt="Get Swizzle" /></a>
<h4><a href="case-soapbox.php">Swizzle</a></h4>
<p>This sweet-looking site for freelance agency Get Swizzle was built just a month after the release of Foundation, and is beautifully responsive. Read the <a href="case-swizzle.php">case study &rarr;</a></p>
<p>This sweet-looking site for online service and design agency Swizzle was built just a month after the release of Foundation, and is beautifully responsive. Read the <a href="case-swizzle.php">case study &rarr;</a></p>
</div>
<div class="three columns">
<a href="case-soapbox.php"><img src="images/img-soapbox.jpg" alt="ZURBsoapbox" /></a>
Expand Down Expand Up @@ -134,6 +134,11 @@
<h3><a href="case-reel.php">Reel</a></h3>
<p>Reel is a little app we built to let people upload, get feedback on, and review presos or mockups. It wasn't enough to just show slides, we wanted an app that worked on any kind of device, and Foundation was the tool we used to build it.<br /><a href="case-reel.php">View the Case Study &rarr;</a></p>
</li>
<li id="swipeme4">
<a href="case-swizzle.php"><img src="images/mobileimg-swizzle.jpg" alt="Reel" /></a>
<h3><a href="case-swizzle.php">Swizzle</a></h3>
<p>This sweet-looking site for online service and design agency Swizzle was built just a month after the release of Foundation, and is beautifully responsive. Read the <a href="case-swizzle.php">case study &rarr;</a></p>
</li>
</ul>
</section>
<!-- /Case Studies Mobile -->
Expand Down
10 changes: 5 additions & 5 deletions marketing/swipe.js
Expand Up @@ -8,7 +8,7 @@
offset = $('#swipeMeParent').width()+40;

// Move everything but the first child li of #swipeMeParent
if (currentSlide < 2) {
if (currentSlide < 3) {
$('#swipeMeParent').children('li:not(:first-child)').css({
left: offset
});
Expand Down Expand Up @@ -53,7 +53,7 @@
});

// Cycle Logic
if (currentSlide == 3) {
if (currentSlide == 4) {
var incrementMe = 1;
} else {
var incrementMe = currentSlide + 1;
Expand All @@ -75,7 +75,7 @@
}, 300);

// Looping on Last Case Study
if (currentSlide == 3) {
if (currentSlide == 4) {
currentSlide = 1;
} else {
currentSlide++;
Expand All @@ -88,7 +88,7 @@

// Cycle Logic
if (currentSlide == 1) {
var incrementMe = 3;
var incrementMe = 4;
} else {
var incrementMe = currentSlide - 1;
}
Expand All @@ -110,7 +110,7 @@

// Looping on Last Case Study
if (currentSlide == 1) {
currentSlide = 3;
currentSlide = 4;
} else {
currentSlide--;
}
Expand Down

0 comments on commit 366d8b8

Please sign in to comment.