javascript - jquery doesn't work after upload -
i designed website on computer xamp, uploaded host javascript , jquery stopped working.
the error looks this
$("#link1").fonteffect not function
all required .js files imported. , script looks this:
<script src="./script/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="./script/menu.js" type="text/javascript"> </script> <script src="./script/shadow.js" type="text/javascript" ></script> <script type="text/javascript" src="./script/jquery-fonteffect-1.0.0.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#wrapper").boxshadow(20,20,100,'#30302f'); $("#link1").fonteffect({outline:true, shadow:true ,shadowcolor:'#414345' ,outlinecolor1:'#a06bb5', outlineweight:2, shadowblur:2}) $("#link2").fonteffect({outline:true, shadow:true ,shadowcolor:'#414345' ,outlinecolor1:'#26a31a', outlineweight:2, shadowblur:2}) $("#link3").fonteffect({outline:true, shadow:true ,shadowcolor:'#414345' ,outlinecolor1:'#e81515', outlineweight:2, shadowblur:2}) $("#link4").fonteffect({outline:true, shadow:true ,shadowcolor:'#414345' ,outlinecolor1:'#db641a', outlineweight:2, shadowblur:2}) $("#link5").fonteffect({outline:true, shadow:true ,shadowcolor:'#414345' ,outlinecolor1:'#4d5154', outlineweight:2, shadowblur:2}) $("#kwicks").kwicks({ max:205, min:25, spacing:1 }); $(function () { $("#navi > li a").hover( function () { $(this).stop().animate({paddingleft : '25px'}, 500); }, function () {$(this).animate({paddingleft : '10px'}, 400);}); }); }); </script>
thannks help!
make sure file called jquery-fonteffect-1.0.0.min.js
, not jquery-fonteffect-1.0.0.min.js
or jquery-fonteffect-1.0.0.min.js
. case matter in unix servers.
Comments
Post a Comment