top of page

Site-Map

2020-08-21 10_55_30-How to set default v
CODE
DATABASE

State

Data-0

2020-08-21 10_55_30-How to set default v

Stand-Number:

Size (m²):

Coverage (m²):

Floor-Area-Ratio (m²):

Hight:

Building-Line:

Data-1

Data-2

Data-3

Data-4

Data-5

Data-6

Price:

Data-7

CODE

CLOSE.png

import wixData from 'wix-data';

 

var DATA, correctionFactor=-3

 

$w.onReady(function () {

  wixData.query("Site-Plan")

  .find()

  .then( (results) => {

    if(results.items.length > 0) {

      let firstItem = results.items[0];

      DATA = results.items

      console.log(DATA)

    } else {

      // handle case where no matching items found

    }

  })

  .catch( (err) => {

    let errorMsg = err;

  });

 })

  

 

export function BTN4_mouseIn(event)  {let currentData = 0; xxx(currentData)}

export function BTN5_mouseIn(event)  {let currentData = 1; xxx(currentData)}

export function BTN6_mouseIn(event)  {let currentData = 2; xxx(currentData)}

export function BTN7_mouseIn(event)  {let currentData = 3; xxx(currentData)}

export function BTN8_mouseIn(event)  {let currentData = 4; xxx(currentData)}

export function BTN9_mouseIn(event)  {xxx(9)}

export function BTN10_mouseIn(event) {xxx(10)}

export function BTN11_mouseIn(event) {xxx(11)}

export function BTN12_mouseIn(event) {xxx(12)}

export function BTN13_mouseIn(event) {xxx(13)}

export function BTN14_mouseIn(event) {xxx(14)}

export function BTN15_mouseIn(event) {xxx(15)}

export function BTN16_mouseIn(event) {xxx(16)}

export function BTN17_mouseIn(event) {xxx(17)}

export function BTN18_mouseIn(event) {xxx(18)}

export function BTN19_mouseIn(event) {xxx(19)}

export function BTN20_mouseIn(event) {xxx(20)}

export function BTN21_mouseIn(event) {xxx(21)}

export function BTN22_mouseIn(event) {xxx(22)}

export function BTN23_mouseIn(event) {xxx(23)}

export function BTN24_mouseIn(event) {xxx(24)}

export function BTN25_mouseIn(event) {xxx(25)}

export function BTN26_mouseIn(event) {xxx(26)}

export function BTN27_mouseIn(event) {xxx(27)}


 

function xxx(currentData){

    console.log(currentData)

    console.log(DATA.length)

    let inversedData = (DATA.length-currentData-1)

    console.log(inversedData)

 

    $w('#data0').text = DATA[inversedData].state

    $w('#data1').text = DATA[inversedData].title

    $w('#data2').text = DATA[inversedData].size

    $w('#data3').text = DATA[inversedData].coverage

    $w('#data4').text = DATA[inversedData].floorAreaRatio           

    $w('#data5').text = DATA[inversedData].height   

    $w('#data6').text = DATA[inversedData].buildingLine

    $w('#data7').text = DATA[inversedData].price 

    $w('#image').src = DATA[inversedData].image

}

DATABASE

db-001
CLOSE.png

Comment-Box

CLOSE.png

Version-1.0

Under_Construction.png

Leave a comment. . .

Arrow.png

General-Settings

ON                 OFF

Show Text-Length

ON                 OFF

max. Text-Length

ON                 OFF

Show Key-Press

ON                 OFF

Show Key-Code

ON                 OFF

Show Total-Count

Character-limit

Load default settings
Save
russian-dima 18:58:02

If you want to write a comment, than you have first to log-in!

24.8.2020
russian-dima 17:58:34

New logo? ^^

22.8.2020
russian-dima 17:58:16

You again xD

22.8.2020
arthurvalatin 16:19:33

Hi

21/08/2020
mr-money-man 00:30:40

As you can see in this version, i tried to implement more functions. You will fi
nd the first ones, when you go into sthe OPTIONS-MENU.

8.8.2020
mr-money-man 00:29:32

It is much more comfortable. ^^

8.8.2020
mr-money-man 00:29:12

You can use also the combinations-key on your key-board (TAB+ENTER) to send a me
ssage.

8.8.2020
mr-money-man 00:28:39

Everytime when you send a message, your Comment-Box will be REFRESHED (to see if
you got new MESSAGES).

8.8.2020
mr-money-man 00:27:49

IIt works almost like a CHAT

8.8.2020
mr-money-man 00:27:29

You can use the one in the footer.

8.8.2020
barbarabessals2 19:24:37

well, now i'm using the second one

07/08/2020
mr-money-man 00:23:00

Which one of the two comment-boxes do you use?

8.8.2020
Seite 1 von 1
Design
Settings
About
CLOSE.png
Leave a comment, or start a chat.

Post-Comment

- - -

Pressed-Key

- - -

Key-Code

Text-Length

- - -

max. Text-Length

- - -

Number of Comments

- - -

designed & developed by russian-dima

Write a comment
bottom of page