Forum Moderators: phranque

Message Too Old, No Replies

jQuery Necessary?

         

Jennnnn

7:49 pm on Aug 14, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



I’m using a purchased template. Is it still necessary to include a link to jQuery if I’ve removed all animation from the site? Thanks!

robzilla

8:11 pm on Aug 14, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



jQuery is not primarily for animation, so you'd have to check for other references to jQuery functions (usually starting with a dollar sign) in your HTML and any local .js files. Or remove jQuery and see what breaks ;-)

csdude55

8:25 pm on Aug 18, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If the template included it, then there's a very good chance that they used it throughout the build. If you have access to the code, you can look for references to $( and on(... that might give you a clue how often it's used, but not finding any references doesn't mean that it's not used at all.

Like Rob said, all you can really do is take it out and see what breaks. But I'd bet pennies to dollars that it's going to be required.

Jennnnn

11:16 pm on Aug 18, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



I did remove it from my single column pages (3 pages total) and didn’t notice anything. I do have some .js files to check and then I’ll try removing it from another dwt group to see what happens. Thanks again!