Wix Velo code


I'd like some code added to my wix website so that when an iframe enters viewport, it reloads. The website will be used for my own graphic design portfolio.

Webpage: [login to view URL]

I have tried using this code but it doesn’t seem to work:

export function html1_viewportEnter(event) {

$w("#html1").src = "https://";

setTimeout(() => {$w("#html1").src = "[login to view URL]";}, 10);


Many thanks


Compétences : JavaScript, Wix, Codage

Concernant l'employeur :
( 0 commentaires ) Hampstead, United Kingdom

Nº du projet : #30133512

4 freelances font une offre moyenne de 25 £ pour ce travail


Hello, You can 1. ADD $[login to view URL](fuction(){. //empty is ok}); AND CHECK IF IT WORKS CORRECTLY 2. IF NOT, TRY BELOW CODE (still need step1) export function html1_viewportEnter(event) { $w("#html1").refresh Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(2 Commentaires)
(2 Commentaires)

Hello Nice to meet you. I want you to be safe from COVID. I think I have read your "Wix Velo code" project requirements carefully and have a basic understanding. I am a top developer in Wix and a complete developer wi Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(0 Commentaires)

Hello I have been gone through your details I have the expert team to do your work with your ow satisfaction If you are interested then come in the chat box Thanks and regards Sabur

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 3 jours
(0 Commentaires)