Question

I am using Sitefinity 6.X . The requirement is to create a photo gallery.But Sitefinity does not seem to work with javascript /jquery. I am always getting the error "Function Not defined", even though i included references to all jQueries.

Experts help is much appreciated.

Was it helpful?

Solution

If you are using Sitefinity 6.x go to Widget section drag JavaScript widget from Script and Style Widget and embed your JavaScript/Jquery. There will be a choice to embed your script in html. Please select "Before the closing body" option or "Where the widget is dropped".

Refresh your page again. You will be able to see your photo gallery /Carousel running.

-Rengaseshan

OTHER TIPS

First drag and drop the JavaScript widget

Second either link the file or paste your JavaScript code in the widget

Finally, click more options at the bottom and select the option of inserting your code Before the Closing tag

As a rule of thumb always have JavaScript code/files just before the end of the body tag

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top