Modif popup positions and add arrow
After Width: | Height: | Size: 451 B |
|
@ -20,7 +20,7 @@ function launchTuto (){
|
||||||
callback: (popup1) => {
|
callback: (popup1) => {
|
||||||
WA.sendChatMessage("Hey you can talk here too!", 'WA Guide');
|
WA.sendChatMessage("Hey you can talk here too!", 'WA Guide');
|
||||||
popup1.close();
|
popup1.close();
|
||||||
WA.openPopup("TutoFinal","You are good to go! You can meet the dev team and discover the features in the next room!",[
|
WA.openPopup("TutoFinal","You are good to go! Go through the gate to meet the dev team and discover the features !",[
|
||||||
{
|
{
|
||||||
label: "Got it!",
|
label: "Got it!",
|
||||||
className : "success",callback:(popup2 => {
|
className : "success",callback:(popup2 => {
|
||||||
|
|
|
@ -5,6 +5,7 @@ var zoneTCMName = "popupTCMZone";
|
||||||
|
|
||||||
var urlPricing = "https://workadventu.re/pricing";
|
var urlPricing = "https://workadventu.re/pricing";
|
||||||
var urlSchoolOffer = "https://workadventu.re/school-offer";
|
var urlSchoolOffer = "https://workadventu.re/school-offer";
|
||||||
|
var urlEvent = "https://workadventu.re/events";
|
||||||
var currentPopup = undefined;
|
var currentPopup = undefined;
|
||||||
|
|
||||||
WA.onEnterZone(zoneOfficeName, () => {
|
WA.onEnterZone(zoneOfficeName, () => {
|
||||||
|
@ -21,10 +22,10 @@ WA.onEnterZone(zoneOfficeName, () => {
|
||||||
WA.onEnterZone(zoneEventName, () => {
|
WA.onEnterZone(zoneEventName, () => {
|
||||||
currentPopup = WA.openPopup("popUpEvent","You can create your own Event in WorkAdventure",[
|
currentPopup = WA.openPopup("popUpEvent","You can create your own Event in WorkAdventure",[
|
||||||
{
|
{
|
||||||
label: "See the pricing",
|
label: "See the event page",
|
||||||
className: "popUpElement",
|
className: "popUpElement",
|
||||||
callback: (popup => {
|
callback: (popup => {
|
||||||
WA.openTab(urlPricing);
|
WA.openTab(urlEvent);
|
||||||
})
|
})
|
||||||
}]);
|
}]);
|
||||||
})
|
})
|
||||||
|
|
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.0 KiB |