[jQuery] Re: Include javafile

2007-11-19 Thread Muhammad Mohsin

thanks seedy for the help. now i m including all js file in bottom of
page. but jquery seems to have problem in bottom. do u know wht is the
issue


[jQuery] Re: Include javafile

2007-11-01 Thread Muhammad Mohsin
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.




[jQuery] Re: Include javafile

2007-11-01 Thread Muhammad Mohsin
jquery code is in listing java

$('.price_convert').each(function()
 {
$(this).mouseover(function()
{
   alert(IN);
});

$(this).mouseout(function()
{
alert(OUT);
});

});
});


[jQuery] Re: Include javafile

2007-11-01 Thread seedy


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.