top of page
Forum Posts
vorobyova.by
Apr 06, 2018
In Coding with Velo
Im trying to make links to telegram or viber from my wix page. Im trying to do that through wix code because web interface link validator said that link is wrong(screenshot) I have tried to use wixcode for that: import wixLocation from 'wix-location'; $w.onReady(function () { //TODO: write your page related code here... $w("#image3").onClick(wixLocation.to("viber://add?number=120345678910")); }); And i have got the next errors: Wix code SDK error: The onClick parameter that is passed to the onClick method cannot be set to the value viber://add?number=120345678910. It must be of type function. Wix code SDK error: viber://add?number=120345678910 is an unsupported url Wix code SDK error: The onClick parameter that is passed to the onClick method cannot be set to the value [object Object]. It must be of type function. Can anyone help to find a way to make links to viber and telegram?
1
4
3k
vorobyova.by
More actions
bottom of page