I cant see any immediate reason why that would not work, however I thought i
would point out that putting your scripts at the bottom of the page is
actually the recommended way of including scripts.

http://developer.yahoo.com/performance/rules.html#js_bottom



Muhammad Mohsin wrote:
> 
> i mean in head of the page.
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <?
>     include("$ROOT_PATH/includes/meta.php");
> ?>
> <script src="<? echo $URL_PATH; ?>/javascript/jquery/jquery.js"
> type="text/javascript" ></script>
> <script src="<? echo $URL_PATH; ?>/javascript/jquery/jquery.livequery.js"
> type="text/javascript" ></script>
> <script src="<? echo $URL_PATH; ?>/javascript/listings_java.js"
> language="javascript"></script>
> <script src="<? echo $URL_PATH; ?>/javascript/jquery/imagebox.js"
> type="text/javascript" ></script>
> <script src="<? echo $URL_PATH; ?>/javascript/jquery/iutil.js"
> type="text/javascript" ></script>
> <script src="<? echo $URL_PATH; ?>/javascript/overlib/overlib.js"
> type="text/javascript" ></script>
> <script src="<? echo $URL_PATH; ?>/javascript/jquery/jcarousellite.js"
> type="text/javascript"></script>
> <script src="<? echo $URL_PATH; ?>/javascript/jquery/easing.js"
> type="text/javascript"></script>
> <script src="<? echo $URL_PATH; ?>/javascript/jquery/support.js"
> type="text/javascript"></script>
> 
> 
> listing java doesn't work here but works well when i write this code in
> end
> of page
> 
> 
> </head>
> 
> On 11/1/07, mohsin <[EMAIL PROTECTED]> wrote:
>>
>>
>> I am using separate javascript file for the function I have written.
>> When I include this file in header of my page these function doesn't
>> worked. But when I include it in the bottom of page it start working.
>> I want to include it in header can anyone help me.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Include-javafile-tf4730715s27240.html#a13530490
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to