Hello everyone. So i am now working on a project. I have put an iframe named #html1, to open dynamic page from #dynamicDataset. I am not good with code, only knew basic code on html and css so i am having trouble with this language. I want a button in page1 open to page 2 with different link in iframe in page2. If i connected page1 button to dynamic link into page2, the iframe still static (because i still havent figured it out what to write). My question is
- Where should i start to code? In page1 button, page2, or site?
- Any clue what to write? I know this code is still wrong. I write this code in page 2
import wixWindow from ‘wix-window’ ;
let item = $w( “#dynamicDataset” ).getCurrentItem()[ “link-all-asset-1-title” ];
let url = item ;
$w( “html1” ).src = url;
-
Do you guys have tutorial step by step and how it works for code in wix? I am still having trouble reading corvid reference, unlike w3c school which is easier because they tested one by one. Also, i still havent find video tutorial for coding. Do you guys have any suggestion?
-
let item = $w( " #dynamicDataset " ).getCurrentItem()[ “link-all-asset-1-title” ];
Is the syntax is correct already? what i mean is, i want to create a syntax to access that link in the database.
Thanks a lot!