Replies: 1 comment
-
|
JS fiddle where problem is demonstrated would be helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I used w2ui 2.0.x, but I think the problem is relevant for earlier versions as well. I needed to pass the src link to the frame, but the onClick event turned out to be available only in the parent-only menu.
So I did like this
....
{text: 'VPS in 8 countries from $ 5', img: 'hosting', onClick: "iframe.src = 'https://wazzup.su/en/'"},....
It is very clear to me why such a function has not been implemented earlier. Perhaps this is fraught with some consequences. Correct me, please, if I am missing something.
Beta Was this translation helpful? Give feedback.
All reactions