Positioning of scripts

Posted by Community Admin on 04-Aug-2018 10:20

Positioning of scripts

All Replies

Posted by Community Admin on 08-Nov-2011 00:00

Hello,

I have a strange problem when loading certain (jQuery) scripts, I normally load them in the masterpage.cs. This works since the browser can find and read them perfectly, except some scripts don't seem to work then (can't find the specific function of that script).

I already found a way around this by loading the script in de masterpage.cs in a literal and then placing this literal at the place right above the configurable script settings (or where you load the script). By doing this everything works well but I find it weird that it matters that much, is there an explanation for this?

Thanks for your time,
Rick.

Posted by Community Admin on 10-Nov-2011 00:00

Hi Rick,

Why don't you drop a JavaScript widget in your template with the master page and set the scripts to load in the <head> tag? I would need more information about your scripts that you load as well if this doesn't work.

Greetings,
Lubomir Velkov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed