Modif popup positions and add arrow

This commit is contained in:
DESKTOP-FMM8UI0\CLV 2021-04-08 09:41:53 +02:00
parent 39074511a4
commit af69510bc8
35 changed files with 82 additions and 29 deletions

BIN
maps/Tuto/down-arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

View File

@ -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 => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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);
}) })
}]); }]);
}) })

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB