Skip to content

Commit ab06c7d

Browse files
TvGesselgitbook-bot
authored andcommitted
GITBOOK-49: Tom's Dec 5 changes
1 parent 75d5dd3 commit ab06c7d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

13/umbraco-engage/tutorials/marketing-resources/generic-exit-intent-popup-template.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ Copy and paste the JavaScript and CSS into Umbraco Engage and your overlay is re
126126
})();
127127
```
128128

129-
130-
131129
</details>
132130

133131
<details>
@@ -186,7 +184,7 @@ Copy and paste the JavaScript and CSS into Umbraco Engage and your overlay is re
186184
box-sizing: border-box;
187185
font-family: system-ui, sans-serif;
188186
opacity: 0;
189-
animation: showAnim 0.8s cubic-lightbox-bezier(0.68, 0.19, 0.14, 1.15) forwards;
187+
animation: showAnim 0.8s cubic-bezier(0.68, 0.19, 0.14, 1.15) forwards;
190188
transition: all 1s;
191189
font-size: 16px;
192190
margin: 70px auto 60px;

13/umbraco-engage/tutorials/marketing-resources/generic-topbar-template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ Copy and paste the following JavaScript into Umbraco Engage.
4141
inheritFont: false, // If set to 'true', the bar will have the font-family that is being used on your website.
4242
}
4343

44-
// This is the function where domElement.
45-
insertAdjacentHTML(
44+
// This is the function where
45+
domElement.insertAdjacentHTML(
4646
"afterbegin",
4747
`<div class="u-topbar__container ${options.isFixed ? 's-fixed': ''} ${options.inheritFont ? 's-font-inherit' : ''}" style="--color-text:${textColor};--color-background:${backgroundColor};--color-border:${borderColor};"><span class="u-topbar__text">${text}</span><button type="button" class="u-topbar__close-button" onclick="this.closest('.u-topbar__container').remove()"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 512 512"><path d="M437.5 386.6 306.9 256l130.6-130.6c14.1-14.1 14.1-36.8 0-50.9-14.1-14.1-36.8-14.1-50.9 0L256 205.1 125.4 74.5c-14.1-14.1-36.8-14.1-50.9 0-14.1 14.1-14.1 36.8 0 50.9L205.1 256 74.5 386.6c-14.1 14.1-14.1 36.8 0 50.9 14.1 14.1 36.8 14.1 50.9 0L256 306.9l130.6 130.6c14.1 14.1 36.8 14.1 50.9 0 14-14.1 14-36.9 0-50.9z"/></svg></button></div>`);
48-
});
48+
})();
4949
```
5050

5151
</details>

0 commit comments

Comments
 (0)