This repository has been archived by the owner. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
ECE Site Demo
- Loading branch information
briandunnigan
authored and
briandunnigan
committed
Jun 11, 2015
1 parent
274bc87
commit fefc6c2
Showing
8 changed files
with
854 additions
and
109 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,37 @@ | ||
jQuery(document).ready(function($) { | ||
$( ".social-vimeo > a" ).html( "DONATE" ); | ||
}); | ||
|
||
|
||
|
||
|
||
$( ".social-vimeo > a" ).html( "DONATE" ); | ||
|
||
var search = ''; | ||
var active = false; | ||
$('.search').on('click',function(e){ | ||
if($(e.target).attr('id')=='s') return; | ||
active = true; | ||
search = $(e.target).parent().html(); | ||
$('.search').fadeOut(500,function(){ | ||
$(this).html('<form class="form-inline" role="form" method="get" action="http://ece.uconn.edu/"><input id="s" type="text" onfocus="this.value = \'\'" name="s" value="Search ECE"></form>').fadeIn(500); | ||
$(this).addClass('search-field'); | ||
}); | ||
}); | ||
|
||
$('body').on('click',function(e){ | ||
if($(e.target).attr('id')=='s') return; | ||
if($(e.target).parent().html()== search) return; | ||
if(!active) return; | ||
active = false; | ||
$('.search').fadeOut(500,function(){ | ||
$(this).html(search).fadeIn(500); | ||
$('.search').removeClass('search-field'); | ||
}); | ||
}); | ||
|
||
$( "#footers" ).before( "<div class='container'><div class='col-sm-12 footer-img'></div></div>" ); | ||
|
||
|
||
|
||
}); | ||
|
||
|
||
|
||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
Template Name: Home | ||
* This page template has no padding, and does not display the page title. | ||
* Useful for large images, iframes, or other edge cases. | ||
*/ | ||
|
||
get_header(); ?> | ||
<div id="page-home"> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<div class="row"> | ||
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>"> | ||
<?php get_template_part( 'content', 'blank' ); ?> | ||
</div> | ||
</div> | ||
<?php endwhile; // end of the loop. ?> | ||
</div> | ||
<?php get_footer(); ?> |
Oops, something went wrong.