I hereby claim:
- I am growthux on github.
- I am vrx (https://keybase.io/vrx) on keybase.
- I have a public key ASAORVrqGn3hcmJQFeSlNTJ6j7S-NnCUXzjuvJ0xakPC3Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Grab the UTM parameters from the URL | |
// stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript | |
function getParameterByName(name) { | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
results = regex.exec(location.search); | |
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | |
} | |
// Inject UTM parameters into a hidden form field |
/* CSS only solution to make Bootstrap Unresponsive | |
* makes .container 970px wide (default) | |
* translates col-sm-*, col-md-*, col-lg-* to col-xs-* | |
* translates col-sm-offset-*, col-md-offset-*, col-lg-offset-* to col-xs-offset-* | |
* unhides .hidden-xs, .hidden-sm, .visible-xs[-*] and .visible-sm[-*] (new in 3.2.0) | |
* makes navbar unresponsive | |
* unlike Javascript overrides, preserves original .col-xs-* columns when toggled off | |
* All you have to do is add link this CSS file and the class unresponsive to the <body> tag. | |
*/ |
/** | |
* Use em or rem font-size in Bootstrap 3 | |
*/ | |
@font-size-root: 14px; | |
@font-unit: 0rem; // Pick em or rem here | |
// Convert all variables to em |
<div id="eventList{tag_counter}" style="display:block" class="row list"> | |
<div class="col-md-3"><img alt="" src="{tag_photo_value}" /></div> | |
<div class="col-md-9"> | |
<h5>{tag_name}</h5> | |
<p style="margin-top: 4px;line-height: 1.7"> | |
<i class="fa fa-thumb-tack"> </i> <strong>{tag_location}</strong><br /> | |
<i class="fa fa-map-marker"> </i> {tag_address1} | |
{tag_addresscity} {tag_addressstate} {tag_addresszipcode}<br /> | |
<span id="eventDate{tag_counter}" name="event{tag_counter}" value="{tag_display ongoing}"> | |
<i class="fa fa-calendar-o"> </i> |
<script> | |
$(document).ready(function() { | |
$('#calendar').fullCalendar({ | |
header: { | |
left: 'title', | |
center: '', | |
right: 'today prev,next' | |
}, | |
editable: true, | |
events: [ |
{ | |
title: "{tag_name_nolink}", | |
url: "{tag_itemurl_nolink}", | |
start: "{tag_start}" | |
}, |