Hello, fellas
How can I use a variable in the 'Code' field of the 'Web Element' ? See the image link below.
Is there any way to use a variable in the 'Code' field of the 'Web Element'?
-
- Posts: 6
- Joined: Fri Nov 24, 2023 8:11 pm
- Attachments
-
- Screenshot 2023-11-30 002907.png (62.79 KiB) Viewed 18120 times
-
- Posts: 6
- Joined: Fri Nov 24, 2023 8:11 pm
Hello, fellas
I have solved it myself. My solution is to set an ID for the iframe and use JavaScript in the Skin Editor to set the 'src' for it.
I have solved it myself. My solution is to set an ID for the iframe and use JavaScript in the Skin Editor to set the 'src' for it.
- Hopki
- Gnome
- Posts: 13032
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Would you mind sharing your method?
But here is a project that swaps out the web elements iframe.
Regards,
Would you mind sharing your method?
But here is a project that swaps out the web elements iframe.
Regards,
- Attachments
-
- web_element_content.zip
- (13.91 KiB) Downloaded 298 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
-
- Posts: 6
- Joined: Fri Nov 24, 2023 8:11 pm
I just did a simple thing, as shown in the image below.
- Attachments
-
- Screenshot 2023-12-01 165320.png (19.95 KiB) Viewed 18048 times
-
- Screenshot 2023-12-01 165438.png (4.81 KiB) Viewed 18048 times