Skip to content

Instantly share code, notes, and snippets.

😀

Anton Kjörck Lindén AntonKL

😀
View GitHub Profile
View gist:8a2ad4b6a1e1239dec74
Request URL:https://app.corehub.io/templates/md-dialogs/workshop/participants.html
Request Method:GET
Status Code:200 OK (from cache)
Remote Address:54.192.98.182:443
Response Headers
Accept-Ranges:bytes
Age:2368
Content-Length:802
Content-Type:text/html; charset=utf-8
Date:Mon, 14 Mar 2016 09:09:33 GMT
View gist:fe227bafb0c870810fad
@import "../../../bower_components/susy/sass/susy"
@import "base/variables"
@import "extends/extends"
@import "mixins/container"
@import "mixins/side-margin"
@import "mixins/clearfix"
@import "base/base"
View gist:0df8043ab727a47c11b0
<script src="https://use.typekit.net/zit0ndg.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
@AntonKL
AntonKL / gist:2e4261d4e967aa107923
Last active Dec 16, 2015
Defiso landningssida CSS
View gist:2e4261d4e967aa107923
/* Färg på navigation + länkfärg i navigation */
.desktop-nav {
background-color: #f7f7f7;
}
.desktop-nav a,
.desktop-nav a:visited {
color: #3d3d3d;
}
@AntonKL
AntonKL / gist:eb0ea3bd713182f5874a
Created Sep 23, 2015
Offerta lägger overflow:none på body
View gist:eb0ea3bd713182f5874a
#offerta_plugins_ratings_list .noscript-fallback {
display: none;
}
body {
overflow: hidden;
margin: 0;
padding: 0;
}
View gist:6cf15f06ab1f0eef0a66
dataLayer.push({
'event': 'gaTriggerEvent',
'gaEventCategory': 'Försäljning',
'gaEventAction': 'Företagskontakt.se',
'gaEventLabel': 'Köpare: Anders Andresson'
'gaConversionValue': '400' // OBS, inga valutor här
});
View gist:edbf2751d17cd0c7a1b1
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PMN8NR"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PMN8NR');</script>
<!-- End Google Tag Manager -->
@AntonKL
AntonKL / gist:8a4f627b89d422a1916c
Created Sep 10, 2015
Push event to data layer
View gist:8a4f627b89d422a1916c
dataLayer.push({
'event': 'godtyckligtNamn'
});
View gist:d90c65f775383474b924
<p>Antal kvadrat: </p> <input name="Antal kvadrat" id="squaremeeters" type="text" /> <br />
Summa:<p id="sum"></p>
Summa: (RUT) <p id="sumrut"></p>
$('#squaremeeters').keyup(calculate);
function calculate(e) {
var maths = $('#squaremeeters').val() * 50 ;
$('p#sum').text(maths);
View gist:e4f787d30cae9e686b31
<style>
.campaign-modal {
display: none;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0,0,0,.35);
z-index: 9998;
You can’t perform that action at this time.