[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread zayatzz

Ok... i tried all kinds of ways how to include init js on domready
with noconflict and none of them helped. Plus noconflict docs say that
if jquery is included before other libraries then there should be no
need for noconflict anyway... so where is the problem?

This is how init.js is beeing used:

script type=text/javascript
//![CDATA[
jQuery.noConflict();
jQuery(document).ready(function($){
init();
});
//]]
/script

Alan.

On Jul 9, 3:27 pm, zayatzz alan.kesselm...@gmail.com wrote:
 Hello

 I have a problem with hoverIntent function. For some reason i get
 error mentioned in subject. I know jquery conflicts with prototype in
 this case so i used jquery noconflict. For some reason hoverIntent
 function still does not work.
 I changed hoverintent.js to have jQuery instead of $ in it - still no
 luck.

 My file has such scripts:
         script type=text/javascript src={$wwwroot}/extensions/ext_sanlab/
 js/jquery-1.3.2.js/script
 {literal}
         script type=text/javascript
                 jQuery.noConflict();
         /script
 {/literal}
         script type=text/javascript src={$wwwroot}/extensions/ext_sanlab/
 js/jquery.easing.min.js/script
         script type=text/javascript src={$wwwroot}/extensions/ext_sanlab/
 js/jquery.hoverIntent.js/script
         script type=text/javascript src={$wwwroot}/extensions/ext_sanlab/
 js/jquery.localscroll-1.2.7-min.js/script
         script type=text/javascript src={$wwwroot}/extensions/ext_sanlab/
 js/jquery.scrollTo-1.4.2-min.js/script
         script type=text/javascript src={$wwwroot}/extensions/ext_sanlab/
 js/init.js/script

 Somewhere down the line CMS inserts prototype.js but i dont think it
 is important atm.

 Hoverintent is beeing used like this in init.js :
         jQuery(ul.lavaLamp).hoverIntent(function(){
                 jQuery(this).children(li).hoverIntent(function(){
                         
 jQuery(this).children(ul.levTwo).slideToggle('fast');
                         var el = jQuery(this);
                         movehere(el);
                 }, function(){
                         
 jQuery(this).children(ul.levTwo).slideToggle('fast');
                 }, 3, 100, 1000);
         },function(){
                 var el = jQuery(li.active);
                 movehere(el);
         }, 1, 1, 10);

 Alan


[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread zayatzz

Any ideas why im getting this error?

Alan


[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread Charlie





"is not a function" means script you are referncing , in this case
hoverintent, isn't accesible when you call the function. It shows you
have it in page, but is path vaild? Is same file being inserted again
after the call ( seen that cause function to fail too)

can you post link?


zayatzz wrote:

  Any ideas why im getting this error?

Alan

  






[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread zayatzz

The path is valid definately. I checked it with firebug plus it all
works when im logged out of the CMS - you can see it working at
http://www.sanlab.ee when you move your cursor into the menu. When i
log in editor environment then the cms adds bunch of scripts to the
page and then it stops working and web developer toolbar shows
forementioned error.

The same file is not beeing inserted after the call, but the jquery.js
itself is beeing inserted by the CMS. I do not know why this would
cause and error, because many other functions work just fine. Several
other functions stop working too though, like colourpicker that is
visible on the same page.

Alan

On Jul 9, 8:27 pm, Charlie charlie...@gmail.com wrote:
 is not a function means script you are referncing , in this case 
 hoverintent, isn't accesible when you call the function. It shows you have it 
 in page, but is path vaild? Is same file being inserted again after the call 
 ( seen that cause function to fail too)
 can you post link?
 zayatzz wrote:Any ideas why im getting this error? Alan


[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread Charlie





no idea. WOrked fine for me, no hoverintent error

zayatzz wrote:

  The path is valid definately. I checked it with firebug plus it all
works when im logged out of the CMS - you can see it working at
http://www.sanlab.ee when you move your cursor into the menu. When i
log in editor environment then the cms adds bunch of scripts to the
page and then it stops working and web developer toolbar shows
forementioned error.

The same file is not beeing inserted after the call, but the jquery.js
itself is beeing inserted by the CMS. I do not know why this would
cause and error, because many other functions work just fine. Several
other functions stop working too though, like colourpicker that is
visible on the same page.

Alan

On Jul 9, 8:27pm, Charlie charlie...@gmail.com wrote:
  
  
"is not a function" means script you are referncing , in this case hoverintent, isn't accesible when you call the function. It shows you have it in page, but is path vaild? Is same file being inserted again after the call ( seen that cause function to fail too)
can you post link?
zayatzz wrote:Any ideas why im getting this error? Alan

  
  
  






[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread zayatzz

Yes that is what i've been saying. you get the error when you are
logged in otherwise it works just fine. Unfortunately i cannot give
you access to editor/admin environment.

quoting my own words - it all works whem im logged out of CMS -

Alan.

On Jul 9, 9:06 pm, Charlie charlie...@gmail.com wrote:
 no idea. WOrked fine for me, no hoverintent error
 zayatzz wrote:The path is valid definately. I checked it with firebug plus it 
 all works when im logged out of the CMS - you can see it working 
 athttp://www.sanlab.eewhen you move your cursor into the menu. When i log in 
 editor environment then the cms adds bunch of scripts to the page and then it 
 stops working and web developer toolbar shows forementioned error. The same 
 file is not beeing inserted after the call, but the jquery.js itself is 
 beeing inserted by the CMS. I do not know why this would cause and error, 
 because many other functions work just fine. Several other functions stop 
 working too though, like colourpicker that is visible on the same page. Alan 
 On Jul 9, 8:27 pm, Charliecharlie...@gmail.comwrote:is not a function 
 means script you are referncing , in this case hoverintent, isn't accesible 
 when you call the function. It shows you have it in page, but is path vaild? 
 Is same file being inserted again after the call ( seen that cause function 
 to fail too) can you post link? zayatzz wrote:Any ideas why im getting this 
 error? Alan


[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread zayatzz

Ah hell... if you think it would be useful, then i can give you an
account for testing too - not here though, via email, skype or msn.

Alan.

On Jul 9, 9:23 pm, zayatzz alan.kesselm...@gmail.com wrote:
 Yes that is what i've been saying. you get the error when you are
 logged in otherwise it works just fine. Unfortunately i cannot give
 you access to editor/admin environment.

 quoting my own words - it all works whem im logged out of CMS -

 Alan.

 On Jul 9, 9:06 pm, Charlie charlie...@gmail.com wrote:

  no idea. WOrked fine for me, no hoverintent error
  zayatzz wrote:The path is valid definately. I checked it with firebug plus 
  it all works when im logged out of the CMS - you can see it working 
  athttp://www.sanlab.eewhenyou move your cursor into the menu. When i log in 
  editor environment then the cms adds bunch of scripts to the page and then 
  it stops working and web developer toolbar shows forementioned error. The 
  same file is not beeing inserted after the call, but the jquery.js itself 
  is beeing inserted by the CMS. I do not know why this would cause and 
  error, because many other functions work just fine. Several other functions 
  stop working too though, like colourpicker that is visible on the same 
  page. Alan On Jul 9, 8:27 pm, Charliecharlie...@gmail.comwrote:is not a 
  function means script you are referncing , in this case hoverintent, isn't 
  accesible when you call the function. It shows you have it in page, but is 
  path vaild? Is same file being inserted again after the call ( seen that 
  cause function to fail too) can you post link? zayatzz wrote:Any ideas why 
  im getting this error? Alan


[jQuery] Re: jQuery(ul.lavaLamp).hoverIntent is not a function

2009-07-09 Thread zayatzz


Well i did some testing and figured it out - sort of, anyway. I
renamed the jquery file that cms adds when user has logged in and
voila... everything started working again. So i guess its a matter of
that new jquery file.

I guess there is no solution to this problem anyway, since i cannot
just delete the second file - it is required in more then one place.
I'll let those guys who made this CMS know about it.

Basically the problem is (as much as i understand it) that cms adds
new jquery file to the page and since it is added after my init call,
it screws up everything that happens in that function.

Alan

On Jul 9, 9:40 pm, zayatzz alan.kesselm...@gmail.com wrote:
 Ah hell... if you think it would be useful, then i can give you an
 account for testing too - not here though, via email, skype or msn.

 Alan.

 On Jul 9, 9:23 pm, zayatzz alan.kesselm...@gmail.com wrote:

  Yes that is what i've been saying. you get the error when you are
  logged in otherwise it works just fine. Unfortunately i cannot give
  you access to editor/admin environment.

  quoting my own words - it all works whem im logged out of CMS -

  Alan.

  On Jul 9, 9:06 pm, Charlie charlie...@gmail.com wrote:

   no idea. WOrked fine for me, no hoverintent error
   zayatzz wrote:The path is valid definately. I checked it with firebug 
   plus it all works when im logged out of the CMS - you can see it working 
   athttp://www.sanlab.eewhenyoumove your cursor into the menu. When i log 
   in editor environment then the cms adds bunch of scripts to the page and 
   then it stops working and web developer toolbar shows forementioned 
   error. The same file is not beeing inserted after the call, but the 
   jquery.js itself is beeing inserted by the CMS. I do not know why this 
   would cause and error, because many other functions work just fine. 
   Several other functions stop working too though, like colourpicker that 
   is visible on the same page. Alan On Jul 9, 8:27 pm, 
   Charliecharlie...@gmail.comwrote:is not a function means script you 
   are referncing , in this case hoverintent, isn't accesible when you call 
   the function. It shows you have it in page, but is path vaild? Is same 
   file being inserted again after the call ( seen that cause function to 
   fail too) can you post link? zayatzz wrote:Any ideas why im getting this 
   error? Alan