Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
@blyk Can you elaborate on your issue? What is the problem you are having now?
what I ment that I had tried both the option but none of them worked. I have used one of them at a time.
When I tried running the javascript offline, as you can see in my previous reply to Paulie_D, it has stopped working I mean none of the scripts run other than css.
@blyk Can you put the site in a zip file and upload it?
The problem is that, first, you were running your script before jQuery.
Wrong:
<script type="text/javascript" src="js2014.js"></script>
<script type="text/javascript" src="jquery.min.js"></script>
You need to call jQuery before your script
Correct:
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="js2014.js"></script>
Second, your script was trying to run before the elements were being rendered. Therefore, putting the scripts before the closing of the body tag (</body>
) solved the problem.
Updated Files: http://cloud.chrisburton.me/Tf0z
@chrisburton: Thank you so much now it works. I just started playing with js & jq and trying some baic stuffs. Thanks again :)