#player-nav { background-color: #fff; position:relative; top:20px; padding-left:0!important; border-radius:60px; }
.nav-link { font-weight:bold; }
.nav-item { margin-left:30px; }
.btn { border-radius:30px; }
.card { border-radius:50px; border:none; padding:20px; }
Get Business Made Simple the book.
GET THE BOOK
I already bought the book.
let domain = window.location.origin; if (domain === 'http://geld-machen.de') { domain = 'http://geld-machen.de/wp-content/uploads/smgm-video-player'; } else if (domain === 'http://localhost') { domain = 'http://localhost/smgm-video-player'; }
const step = '1';
// Fetch additional content based on the step and video parameters const fetchContent = domain + '/player-content' + '/' + step + '/1.html'; fetch(fetchContent) .then(response => response.text()) .then(html => { const parser = new DOMParser(); const doc = parser.parseFromString(html, "text/html");
// Mapping ids from the fetched content to the corresponding container on the main page const idMappings = { 'navbar': 'navbarSupportedContent', };
Object.entries(idMappings).forEach(([sourceId, targetId]) => { const content = doc.getElementById(sourceId); if (content) { document.getElementById(targetId).appendChild(content); } }); }) .catch(error => { console.error('Failed to load and parse content:', error); });