<script type="text/javascript"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*!<!-- [et_pb_line_break_holder] --> * JavaScript Cookie v2.1.4<!-- [et_pb_line_break_holder] --> * https://github.com/js-cookie/js-cookie<!-- [et_pb_line_break_holder] --> *<!-- [et_pb_line_break_holder] --> * Copyright 2006, 2015 Klaus Hartl & Fagner Brack<!-- [et_pb_line_break_holder] --> * Released under the MIT license<!-- [et_pb_line_break_holder] --> */<!-- [et_pb_line_break_holder] -->;(function (factory) {<!-- [et_pb_line_break_holder] --> var registeredInModuleLoader = false;<!-- [et_pb_line_break_holder] --> if (typeof define === 'function' && define.amd) {<!-- [et_pb_line_break_holder] --> define(factory);<!-- [et_pb_line_break_holder] --> registeredInModuleLoader = true;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> if (typeof exports === 'object') {<!-- [et_pb_line_break_holder] --> module.exports = factory();<!-- [et_pb_line_break_holder] --> registeredInModuleLoader = true;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> if (!registeredInModuleLoader) {<!-- [et_pb_line_break_holder] --> var OldCookies = window.Cookies;<!-- [et_pb_line_break_holder] --> var api = window.Cookies = factory();<!-- [et_pb_line_break_holder] --> api.noConflict = function () {<!-- [et_pb_line_break_holder] --> window.Cookies = OldCookies;<!-- [et_pb_line_break_holder] --> return api;<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] -->}(function () {<!-- [et_pb_line_break_holder] --> function extend () {<!-- [et_pb_line_break_holder] --> var i = 0;<!-- [et_pb_line_break_holder] --> var result = {};<!-- [et_pb_line_break_holder] --> for (; i < arguments.length; i++) {<!-- [et_pb_line_break_holder] --> var attributes = arguments[ i ];<!-- [et_pb_line_break_holder] --> for (var key in attributes) {<!-- [et_pb_line_break_holder] --> result[key] = attributes[key];<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> return result;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> function init (converter) {<!-- [et_pb_line_break_holder] --> function api (key, value, attributes) {<!-- [et_pb_line_break_holder] --> var result;<!-- [et_pb_line_break_holder] --> if (typeof document === 'undefined') {<!-- [et_pb_line_break_holder] --> return;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // Write<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (arguments.length > 1) {<!-- [et_pb_line_break_holder] --> attributes = extend({<!-- [et_pb_line_break_holder] --> path: '/'<!-- [et_pb_line_break_holder] --> }, api.defaults, attributes);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (typeof attributes.expires === 'number') {<!-- [et_pb_line_break_holder] --> var expires = new Date();<!-- [et_pb_line_break_holder] --> expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);<!-- [et_pb_line_break_holder] --> attributes.expires = expires;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // We're using "expires" because "max-age" is not supported by IE<!-- [et_pb_line_break_holder] --> attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> try {<!-- [et_pb_line_break_holder] --> result = JSON.stringify(value);<!-- [et_pb_line_break_holder] --> if (/^[\{\[]/.test(result)) {<!-- [et_pb_line_break_holder] --> value = result;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } catch (e) {}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (!converter.write) {<!-- [et_pb_line_break_holder] --> value = encodeURIComponent(String(value))<!-- [et_pb_line_break_holder] --> .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);<!-- [et_pb_line_break_holder] --> } else {<!-- [et_pb_line_break_holder] --> value = converter.write(value, key);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> key = encodeURIComponent(String(key));<!-- [et_pb_line_break_holder] --> key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);<!-- [et_pb_line_break_holder] --> key = key.replace(/[\(\)]/g, escape);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var stringifiedAttributes = '';<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> for (var attributeName in attributes) {<!-- [et_pb_line_break_holder] --> if (!attributes[attributeName]) {<!-- [et_pb_line_break_holder] --> continue;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> stringifiedAttributes += '; ' + attributeName;<!-- [et_pb_line_break_holder] --> if (attributes[attributeName] === true) {<!-- [et_pb_line_break_holder] --> continue;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> stringifiedAttributes += '=' + attributes[attributeName];<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> return (document.cookie = key + '=' + value + stringifiedAttributes);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // Read<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (!key) {<!-- [et_pb_line_break_holder] --> result = {};<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // To prevent the for loop in the first place assign an empty array<!-- [et_pb_line_break_holder] --> // in case there are no cookies at all. Also prevents odd result when<!-- [et_pb_line_break_holder] --> // calling "get()"<!-- [et_pb_line_break_holder] --> var cookies = document.cookie ? document.cookie.split('; ') : [];<!-- [et_pb_line_break_holder] --> var rdecode = /(%[0-9A-Z]{2})+/g;<!-- [et_pb_line_break_holder] --> var i = 0;<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> for (; i < cookies.length; i++) {<!-- [et_pb_line_break_holder] --> var parts = cookies[i].split('=');<!-- [et_pb_line_break_holder] --> var cookie = parts.slice(1).join('=');<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (cookie.charAt(0) === '"') {<!-- [et_pb_line_break_holder] --> cookie = cookie.slice(1, -1);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> try {<!-- [et_pb_line_break_holder] --> var name = parts[0].replace(rdecode, decodeURIComponent);<!-- [et_pb_line_break_holder] --> cookie = converter.read ?<!-- [et_pb_line_break_holder] --> converter.read(cookie, name) : converter(cookie, name) ||<!-- [et_pb_line_break_holder] --> cookie.replace(rdecode, decodeURIComponent);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (this.json) {<!-- [et_pb_line_break_holder] --> try {<!-- [et_pb_line_break_holder] --> cookie = JSON.parse(cookie);<!-- [et_pb_line_break_holder] --> } catch (e) {}<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (key === name) {<!-- [et_pb_line_break_holder] --> result = cookie;<!-- [et_pb_line_break_holder] --> break;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (!key) {<!-- [et_pb_line_break_holder] --> result[name] = cookie;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } catch (e) {}<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> return result;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> api.set = api;<!-- [et_pb_line_break_holder] --> api.get = function (key) {<!-- [et_pb_line_break_holder] --> return api.call(api, key);<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> api.getJSON = function () {<!-- [et_pb_line_break_holder] --> return api.apply({<!-- [et_pb_line_break_holder] --> json: true<!-- [et_pb_line_break_holder] --> }, [].slice.call(arguments));<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> api.defaults = {};<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> api.remove = function (key, attributes) {<!-- [et_pb_line_break_holder] --> api(key, '', extend(attributes, {<!-- [et_pb_line_break_holder] --> expires: -1<!-- [et_pb_line_break_holder] --> }));<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> api.withConverter = init;<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> return api;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> return init(function () {});<!-- [et_pb_line_break_holder] -->}));<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> function validateEmail(email) {<!-- [et_pb_line_break_holder] --> var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;<!-- [et_pb_line_break_holder] --> return emailReg.test(email);<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->jQuery( document ).ready(function() {<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> //Abfrage ob Cookie gesetzt wird<!-- [et_pb_line_break_holder] --> if (document.cookie.indexOf("NLSubscribed=") >= 0) {<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> console.log( "Cookie ist da" ); <!-- [et_pb_line_break_holder] --> jQuery( "#register" ).hide(); <!-- [et_pb_line_break_holder] --> jQuery( "#bonus" ).show();<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if(window.location.href.indexOf("NLSubscribed") > -1) { <!-- [et_pb_line_break_holder] --> history.pushState(null, null, location.pathname);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> }else { <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> console.log( "Cookie ist nicht da" ); <!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> jQuery( "#bonus" ).hide(); <!-- [et_pb_line_break_holder] --> jQuery( "#register" ).show();<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> //Abfrage ob in der URL Subscribed steht<!-- [et_pb_line_break_holder] --> if(window.location.href.indexOf("NLSubscribed") > -1) { <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> console.log( "your url contains the name NLSubscribed" );<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> Cookies.set('NLSubscribed', '1', { expires: 365 });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> jQuery( "#bonus" ).show();<!-- [et_pb_line_break_holder] --> jQuery( "#register" ).hide();<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> history.pushState(null, null, location.pathname);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> jQuery('.NLForm').keydown(function(event){<!-- [et_pb_line_break_holder] --> if(event.keyCode == 13) {<!-- [et_pb_line_break_holder] --> event.preventDefault();<!-- [et_pb_line_break_holder] --> return false;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> jQuery( "#kt-button" ).click(function() {<!-- [et_pb_line_break_holder] --> //jQuery('.NLForm').submit(function(e){<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> //e.preventDefault(); <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var email = jQuery("#kt-email").val();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if ( email == "" ) {<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> console.log( "Emailfeld ist leer" );<!-- [et_pb_line_break_holder] --> jQuery('.NLMessage').text('Das Emailfeld ist leer, bitte trage etwas ein!');<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> } else { <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if(validateEmail(email)) {<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> console.log( "Ist eine Email" );<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var api_key = "2ax7z19m3z8zba76";<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> jQuery.ajax({<!-- [et_pb_line_break_holder] --> type: "POST",<!-- [et_pb_line_break_holder] --> url: "http://api.klick-tipp.com/subscriber/signin",<!-- [et_pb_line_break_holder] --> data: { 'email': email, 'apikey': api_key },<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> Cookies.set('NLSubscribed', '1', { expires: 365 });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> jQuery( "#bonus" ).show();<!-- [et_pb_line_break_holder] --> jQuery( "#register" ).hide(); <!-- [et_pb_line_break_holder] --> jQuery('.NLMessage').text('Du hast dich erfolgreich eingetragen, vielen Dank!');<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> }else { <!-- [et_pb_line_break_holder] --> console.log( "Ist keine Email" ); <!-- [et_pb_line_break_holder] --> jQuery('.NLMessage').text('Die angegebene Mailadresse ist nicht gültig, bitte überprüfe deine Angaben oder versuche es mit einer anderen Addresse.'); <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->});<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --></script>
Lektion 1
Hier versteckt sich deine Gratislektion!
Um die Inhalte des Kurses ansehen zu können musst du dich nur hier eintragen! Sofern du dich bereits eingetragen hast musst du deine Email hier erneut bestätigen. Die Anmeldung ist vollkommen kostenlos und unverbindlich!
<form class="NLForm"><input id="kt-email" name="email" type="text" /><!-- [et_pb_line_break_holder] --><input id="kt-button" type="button" value="Eintragen" /></form><!-- [et_pb_line_break_holder] --><div class="NLMessage"></div>
Gratisinhalt