forked from lytics/pathforajs-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom-css.js
41 lines (37 loc) · 969 Bytes
/
custom-css.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
(function(window) {
var slideoutWidget = window.pathfora.Message({
id: "slideout-widget",
layout: "slideout",
className: "slideout-widget",
headline: "Testing the slideout styles",
msg: "This is a slideout"
});
var modalWidget = window.pathfora.Message({
id: "modal-widget",
layout: "modal",
className: "modal-widget",
headline: "Testing the modal styles",
msg: "This is a modal"
});
var gateWidget = window.pathfora.SiteGate({
id: "gate-widget",
className: "gate-widget",
headline: "Testing the gate styles",
msg: "This is a gate"
});
var barWidget = window.pathfora.Message({
id: "bar-widget",
layout: "bar",
position: "top-fixed",
className: "bar-widget",
headline: "Testing the bar styles",
msg: "This is a bar"
});
var widgets = [
slideoutWidget,
modalWidget,
gateWidget,
barWidget
]
window.pathfora.initializeWidgets(widgets);
}(window));