Logic Machine Forum
How to pass a string to an image or frame element as URL? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: How to pass a string to an image or frame element as URL? (/showthread.php?tid=2034)



How to pass a string to an image or frame element as URL? - gdimaria - 19.04.2019

Hi,

as in the subject, I would use a script to pass a string as URL for a frame or image graphic element.

Thanks

Peppe


RE: How to pass a string to an image or frame element as URL? - admin - 21.04.2019

Can you explain what are you trying to achieve in more detail. Probably you need some custom JavaScript code.


RE: How to pass a string to an image or frame element as URL? - gdimaria - 21.04.2019

I just would like to change the URL on an event, passing it in a string by a script.


RE: How to pass a string to an image or frame element as URL? - admin - 23.04.2019

Check these threads:
https://forum.logicmachine.net/showthread.php?tid=1341
https://forum.logicmachine.net/showthread.php?tid=275&pid=2205#pid2205


RE: How to pass a string to an image or frame element as URL? - gdimaria - 23.04.2019

I am trying to pass the url to an image obect... where am I wrong there?


RE: How to pass a string to an image or frame element as URL? - admin - 23.04.2019

Replace image selector with img


RE: How to pass a string to an image or frame element as URL? - gdimaria - 23.04.2019

Perfect!

Thank you so much.

Peppe