Skip to content

Instantly share code, notes, and snippets.

<div id='playerkK5p2tPQ'></div>
<script type='text/javascript'>
jwplayer('playerkK5p2tPQ').setup({
playlist: '//content.jwplatform.com/feed/kK5p2tPQ.rss',
width: '100%',
aspectratio: '16:9'
});
</script>
function Check(A) {
var myarr = innerHtmlARR;
var i, j;
var totalmatches = 0;
for (i = 0; i < myarr.length; i++) {
console.log(myarr[i]);
for (j = 0; j < A.length; ++j) {
if (myarr[i] == A[j]) {
totalmatches++;
<script>
var expTiles = jQuery('[class*="col-"]');
var tmpCount = 0;
var nextIsFirst = false;
var maxInRow = 9;
expTiles.each(function(){
var myColumns;
if(nextIsFirst){
[04/08/15 12:05:56] Tim Griffiths: Hi both,
Just spotted in the sprint plan doc Duncan and Tanasuk have been sending back and forth that it says the Retailer Page still needed to be approved by the client.
What's the current status of this? Has it now been approved and do we have finished HTML yet for it?
[04/08/15 12:06:37] Goran Horvat: two
[04/08/15 12:06:43] Goran Horvat: finished html’s
[04/08/15 12:06:52] Goran Horvat: one old one new thats it not approved
[04/08/15 12:06:53] Goran Horvat: i believe
[04/08/15 12:07:15] Chris Williams: Are the PDFs on BOX?
[04/08/15 12:07:38] Goran Horvat: they should be yes
[04/08/15 12:07:47] Chris Williams: There is one. KARNDEAN_RETAILERMOREINFO_DESIGNS_1.2_COPYRIGHTLAB2015.pdf
function myFunction() {
var expTiles = jQuery('.category [class*="col-"]').not('.hidden');
var tmpCount = 0;
var nextIsFirst = false;
var maxInRow;
maxInRow=12;
expTiles.each(function () {
$('.nav_trigger').click(function()
{
isClicked=$(this).data('clicked');
if (isClicked) {isClicked=false;} else {isClicked=true;}
$(this).data('clicked',isClicked);
if(isClicked)
{
jQuery("#push_sidebar_nav").css("display","block");
jQuery('.cat').click(function () {
@ghorvat
ghorvat / gist:ceb36ab3812c4674372d
Created September 15, 2015 12:15
Equalize height function
(function ($) {
function equalizeHeights(selector, bigImageHeight) {
var heights = new Array();
// Loop to get all element heights
$(selector).each(function () {
// Need to let sizes be whatever they want so no overflow on resize
$(this).css('min-height', '0');
$(this).css('max-height', 'none');
jQuery(function(){
var h1 = 0;
var h2 = 0;
jQuery(".height1").each(function(){
h1 = jQuery(this).outerHeight();
});
jQuery(".height2").each(function(){
h2 = jQuery(this).outerHeight();
function demo ( A ) {
var count = A.length,
counter = [0,0],
equis = [];
while(count--){
counter[1] += A[count];
}
count = A.length;
while(count--) {
counter[0] += A[count];
<global>
<blocks>
<lab_marcolini>
<class>Lab_Marcolini_Block</class>
</lab_marcolini>
<core>
<rewrite>
<messages>Lab_Marcolini_Block_Messages</messages>
</rewrite>
</core>