Citidm Posted August 5, 2013 Share Posted August 5, 2013 Hello, I am having an issue where my jquery slider is working on a stand alone page but when I attempt to put the jquery file in the footer include and the slider in a separate include to go to my home page, it doesn't render. Not sure how to resolve. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 5, 2013 Share Posted August 5, 2013 Check for Javascript errors in your browser's console. Make sure there aren't any 404s showing up in the network tab as well. If you're not sure how to use your browser's developer tools, check the links in my signature. 1 Link to comment Share on other sites More sharing options...
Citidm Posted August 5, 2013 Author Share Posted August 5, 2013 Thanks, The slider works fine when I put everything on one page so the code should be ok. The issue is when I place the jquery script link in the footer include and the slider in my header include and then try to include it on the home page. I checked my file paths and they are correct but it seems to not be working. I did a quick search on google and it seems a lot of people had the same issue. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 5, 2013 Share Posted August 5, 2013 I understand that the code should be ok. But if everything that should be ok actually is ok, then we wouldn't have any problems. You need to verify if it is actually ok, or if your browser is showing error messages in the console. Don't assume that things are fine just because things are fine in another situation. If both situations were the same then it would be working here too, if it's not working then obviously something is different. Maybe you're trying to run a function before it's defined or something. If you're trying to fix an error, the first step is to check for error messages. 1 Link to comment Share on other sites More sharing options...
Citidm Posted August 5, 2013 Author Share Posted August 5, 2013 Thanks. I will check for errors. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now