Insert a link script inside the other script

How can I insert this script between line 16 and 22 need the blue text as Link.
onclick="ui.openRecord('{ g }')"; style="color: #1E90FF; cursor: pointer; text-decoration: underline;">{ xTitle } <br></span>
9 Antworten
-
These lines do not bring me the image zsome help.
-
Hola, there are two problems: the ; is only used in the style tag to separate different styles:
<span style="text-align: left; font-size: 18px; font-weight: bold;">
your complete html code must be in " ... all ninox related script must be outside this html part, so you "leave" the html part with " and add the ninox part with + .... after the ninox part you add the ongoing html with + and "
html("THIS IS" + this is your ninox part + "YOUR HTML PART")
so if in your example Picture is an Ninox image field then it has to look like
furthermore you should use shareFile(Picture) in those html codes
-
So, you need to have an textfield with the ninox sharelink ... this link can be generated for all at once with a button.
for i in select YOUR_DATA_TABLE do
i.TEXTFIELD := shareFile(IMAGEFIELD)
end
Its not working in the formula as i mentioned above. This Textfield then can be used to show images in html
html("<img src=" + TEXTFIELD_WITH_SHARELINK + ">")
you can add single ' to the Source as Michi mentioned, but it works without the ' as well...
Content aside
- Status Answered
- vor 1 JahrSun, November 5, 2023 at 12:08 PM UTCZuletzt aktiv
- 9Antworten
- 135Ansichten
-
3
Folge bereits