-
Re: Use Java Script in a Jive document
mcollinge Mar 13, 2015 2:13 AM (in response to hbaris)JavaScript and a whole bunch of other things (including the ID attribute) are stripped out of documents/content. The only way around it is using some level of customisation.
-
Re: Use Java Script in a Jive document
hbaris Mar 13, 2015 6:59 AM (in response to mcollinge)I see.
Are there any other suggestion for how I can enable similar functions?
Shall I give up my desire to use color code for my tasks' status?
Thanks!
-
Re: Use Java Script in a Jive document
wb9tpg Mar 13, 2015 10:28 AM (in response to hbaris)The only other option I can think of is to display your document with a View Document widget and then put a HTML widget on the same page and let it's javascript change the styling on the view of the document. I do this and actually apply a News Slider over a document on an overview page. (but I'm not sorry to see it being replaced by the new News functionality )
-
Re: Use Java Script in a Jive document
DominicG Mar 13, 2015 10:36 AM (in response to hbaris)Is your Jive community in the Cloud, hosted by Jive, or hosted by you?
-
Re: Use Java Script in a Jive document
mcollinge Mar 14, 2015 5:46 AM (in response to hbaris)If you have the ability to run some JavaScript after page load (on every page) then you could detect those type of cells and colour them automatically. Matt Dickens wrote up how they're doing that with some of their features.. HTML Widget: How to add column filters and search capability to any jive table on an overview page. We use the same technique to convert a standard table into an interactive image gallery.
-
Re: Use Java Script in a Jive document
hbaris Mar 14, 2015 2:59 PM (in response to mcollinge)Well, this look like an interesting solution. I'll take a deeper look on this later.
Many thanks to all of you!
-
-
-