This file contains hidden or 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
{% if object.file.url %} | |
<a href="{{ object.file.url }}" onclick="_gaq.push(['_trackEvent', 'File Downloads', 'Downloaded', '{{ object.file }}']);"> | |
{% if object.title %} | |
{{ object.title|safe }} | |
{% else %} | |
<img src="{% file_icon object %}" alt="Download File" /> | |
{% endif %} | |
</a> | |
{% endif %} |
This file contains hidden or 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
var firstlocationli = $('.location li:first').position(); | |
$('.location li').click(function(){ | |
$(this).addClass('selected'); | |
$(this).siblings('li').removeClass('selected'); | |
$(".locations").hide(); | |
$(".locations#" + $(this).attr("id") + "_list").show(); | |
var position = $(this).position(); |
This file contains hidden or 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
function activeToggle ($theDiv) { | |
var divTop = $theDiv.offset().top - windowTop; | |
if (divTop > cutoffTop && divTop < cutoffBottom ) { | |
$theDiv.addClass('active'); | |
} | |
else { | |
$theDiv.removeClass('active'); | |
} |
This file contains hidden or 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
$(function() { | |
var schtickm = $("header"), pos = schtickm.offset(); | |
$(window).scroll(function() { | |
if($(this).scrollTop() > (pos.top + 10) && | |
schtickm.css('position') == 'static') { schtickm.addClass('fixed'); } | |
else if($(this).scrollTop() <= pos.top && |
NewerOlder