Sorting js files in web form
How can I know, the precedence of order in js files. I mean, If I have js
files in order like show below doesn't work:
<link href="../design/css/ZoomImage/StyleZoom.css" rel="stylesheet"
type="text/css" />
<link href="../design/css/ZoomImage/imagezoom.css" rel="stylesheet"
type="text/css" />
<script src="../design/js/Smoothness/jquery-1.9.1.js"
type="text/javascript"></script>
<script src="../design/js/Smoothness/jquery-ui.js"
type="text/javascript"></script>
<script src="../design/js/ZoomImage/jquery.imagezoom.min.js"
type="text/javascript"></script>
<link href="../design/ivtCropping/css/jquery-ui-1.7.2.custom.css"
rel="stylesheet" type="text/css" />
<link href="../design/ivtCropping/css/jquery-ui-1.7.2.custom.css"
rel="stylesheet" type="text/css" />
<script src="../design/ivtCropping/js/jquery-1.3.2.min.js"
type="text/javascript"></script>
<script src="../design/ivtCropping/js/jquery-ui-1.7.2.custom.min.js"
type="text/javascript"></script>
<script src="../design/ivtCropping/js/jquery.cropzoom.js"
type="text/javascript"></script>
But if I have separete in distinct web form, it's works!!!
I need to integrate both in the same web form, but what is the rule to
sort the js files?
The same happend if I use an user control, doesn't work.
No comments:
Post a Comment