HTML View Panels
Is there a better way to specify the html content for a view panel then just pasting it all as a single line in the panel form? Like are we able to specify a file that contains the html or a way to put it in the view panel so it's readable/editable?
Currently I'm making it in one document, then using find/replace to get rid of all new lines and put \n in their place.
Thanks,
James
Best Answer
-
Justin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
@James_Johnson this should work:
<div id='myVP'></div><script>$('#myVP').load('/CustomSpace/myVP/view.html');</script>
6
Answers
@James_Johnson this should work:
<div id='myVP'></div><script>$('#myVP').load('/CustomSpace/myVP/view.html');</script>
Thank you Justin, worked perfectly!