This topic contains 7 replies, has 3 voices, and was last updated by And 8 months, 1 week ago.
- June 20, 2016 at 6:21 pm #1819
I have downloaded the js file from your website and saved in the sharepoint library and used that link in the content query web part. And this is not working. could you please help me on my next stepsJune 20, 2016 at 8:23 pm #1824
are you sure you mean Content Query Webpart?
Here are two approaches:
Content Editor Webpart
1. First create a HTML file with the following content:
2. Upload this file to SharePoint
3. Add a content Editor Webpart to your page and edit the webpart
4. Put the path to the HTML file into the Content Link field:
5. Apply the changes, save the page
Script Editor Webpart
1. Add a Script Editor Webpart to your page
2. Edit the Webpart and click the EDIT SNIPPET button
3. Add the script tag (adjust the path), click Insert and save the page
And please don’t forget to add jQuery to your page.
DanielMarch 28, 2017 at 7:45 am #1913
sorry noobie here, what do you mean by not forgetting to add jQuery to the page?March 28, 2017 at 7:50 am #1914
sorry, I got it, it’s the js code you are providing inside the js file.March 31, 2017 at 6:40 pm #1917
Or, as I have done, add the script reference to your master page so it is automatically applied to every list view, even on admin screens like the List Settings.June 16, 2017 at 4:16 pm #1923
I have a Problem with this great script.
Its working fine … unless I stay on the page.
As soon as I left the page and come back, the script doesn’t working anymore.August 15, 2017 at 4:05 pm #1970
I have added the js script to my Asset Library and am using the CEWP to reference the js file but the only thing happening is it is literally displaying contents of the script.February 8, 2018 at 1:13 pm #1981
I would need some help… I really don’t know anything about HTML, which is the reason I’m here :)
I would love to have the sticky headers working but so far I got no results.
I have uploaded the JS file in a folder (AndJS) and then I created a Script Editor webpart with the following content:
then I have added an HTML file with the following content (I have tried putting the jquery reference to in the HEAD part too, same results):
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
At last, I have added a Content Editor Webpart with the following link:
Any hint on what I am missing? Many thanks!