What do you mean when you say functions? If you mean something like:

function customfunction(input){
  // Does something here
 return output;
}

Then there's no problem. If you mean another framework, like
prototype.js or mootools or dojo or something, then you'll run into
more problems.

Otherwise, no, it doesn't really matter what order you include things
in. Though, it's good practice to include jquery first, then your
other stuff later. Especially if you use something like:

$(document).ready(function(){});

in one of your files.

The best rule of thumb for doing a header is:

Title First
Metadata Second
All of your CSS Third
Any Frameworks Fourth
Any Framework Plugins 5th
Any Custom stuff last

So if you were to use jQuery, jQuery UI, and the tabs plugin, plus
your own file, this is the best layout you can shoot for:

<head>
<title>My Page</title>
<link href="layout.css"/>
<link href="ui.tabs.css"/>
<script src="jquery.js"></script>
<script src="ui.jquery.js"></script>
<script src="tabs.ui.jquery.js"></script>
<script src="mycustomfunctions.js"></script>
</head>


Hope that answered your question!

On Jan 29, 1:06 pm, photogeek <levin....@gmail.com> wrote:
> Can I use JQUERY even though I have other  javascript functions inmy
> header?  Is there an order that I need to load the functions.....ie do
> I link to the JQUERY code first and then set  the other functions?
>
> Andy

Reply via email to