adding HTML code
-
- Posts: 6
- Joined: Fri Jun 04, 2021 2:42 pm
Is it possible to inject HTML code (button, script tag, ....), beside just the formatting possible from the text field? Or is there a parametre that allows text field to behave nicely with raw HTML (not adding <br/>, or other elements)?
Sure! You can also use CSS.
https://ggnome.com/doc/html-css/
https://ggnome.com/doc/html-css/
-
- Posts: 6
- Joined: Fri Jun 04, 2021 2:42 pm
Thank you Karyn!
However, when I try to add HTML, I have weird "<br>" tags being added, and the scripts I'm adding (between "script" tags) doesn't seem to be working. Basically, I would want to add in a UI panel something like that : https://jsbin.com/zibutaveco/edit?html,console,output
thanks!
However, when I try to add HTML, I have weird "<br>" tags being added, and the scripts I'm adding (between "script" tags) doesn't seem to be working. Basically, I would want to add in a UI panel something like that : https://jsbin.com/zibutaveco/edit?html,console,output
thanks!
-
- Posts: 6
- Joined: Fri Jun 04, 2021 2:42 pm
Hello Karyn!
Thanks so much for getting back.
Yes this is the exact code I am usign: https://jsbin.com/zibutaveco/edit?html,console,output
Here is what I get when i put it into pano2vr in a text field not sure why "<br>" tags are added?
what I am trying to do is to create a email field that users can fill, connected to a server dashboard where I can track who completed the 360 experience
thanks!
Lara
Thanks so much for getting back.
Yes this is the exact code I am usign: https://jsbin.com/zibutaveco/edit?html,console,output
Here is what I get when i put it into pano2vr in a text field not sure why "<br>" tags are added?
what I am trying to do is to create a email field that users can fill, connected to a server dashboard where I can track who completed the 360 experience
thanks!
Lara
You can just add javascript by starting the text with javascript: and the textbox value. So you can start with javascript:""; and just enter your code after that.
See: https://ggnome.com/doc/javascript-api/
Code: Select all
javascript:"";
console.log("Hi!");
MfG, Thomas