Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
That is not valid anything (Formula, JavaScript, HTML or CSS).
What is this fragment supposed to be?
It is best not to not co-mingle JavaScript in formulas. Please clarify your question.
What is this fragment supposed to be?
<a $('#CS').dialogYou seem to have this fragment of JavaScript (which I extracted) that generates a jQueryUI dialog but I have no idea what you want to accomplish or what you mean by "collapsible":
$('#CS').dialog({
title: 'CS',
modal: false,
position: [1000, 100],
create: function(event) {
$(event.target).parent().css('position', 'fixed');
$(event.target).parent().css('top', '1000');
},
width: 850,
height: 600,
padding: 0,
buttons: {
Cancel: function() {
$(this).dialog('close');
}
},
open: function(event, ui) {
$(this).html(markup);
},
close: function(event, ui) {}
});
It is best not to not co-mingle JavaScript in formulas. Please clarify your question.
ArchiveUser
8 years agoQrew Captain
"<div id='CS'></div> <a class=Vibrant href='javascript:void(0);'onclick=\"var divURL='< iframe src="& [TEST] & "TEST frameborder=0 width=100% height=100%></iframe>'; $('#CS').html(_.unescape(divURL)); $('#CS').dialog({});
title: 'CS',
modal: false,
position: [1000, 100],
create: function(event) {
$(event.target).parent().css('position', 'fixed');
$(event.target).parent().css('top', '1000');
},
width: 850,
height: 600,
padding: 0,
buttons: {
Cancel: function() {
$(this).dialog('close');
}
},
open: function(event, ui) {
$(this).html(markup);
},
close: function(event, ui) {}
Sorry for some reason half of the text was removed.
When I click on the button, where this formula is, it displays a dialog box. I want the dialog box to be collapse-able.