JQuery tools.scrollable conflict with navbar Ajax in CakePHP

Posted by user269098 on Stack Overflow See other posts from Stack Overflow or by user269098
Published on 2010-03-31T23:50:13Z Indexed on 2010/03/31 23:53 UTC
Read the original article Hit count: 814

Filed under:
|
|
|
|

In our views/layout/default.ctp file we have an element that's used to implement a cascading combo select box which uses JQuery ajax to update the fields. This selector is part of our navbar and is loaded on every page of the site. The default.ctp has these includes in the :

  <?php echo $html->charset(); ?> 
    <title><?php echo $title_for_layout; //if(Configure::read('debug')) 
 //echo "cake: " . Configure::version();    ?></title>
 <?php
  echo $html->css('style');
  echo $javascript->link('jquery', true);
  echo $javascript->link('jquery.form', true);
  echo $javascript->link('jquery.url', true);
  echo $javascript->link('navbar', true);
  echo $html->script('tools.expose-1.0.3.js', array('inline' => false));
  //echo $scripts_for_layout;
 ?>

On the views/cars/index.ctp page we have:

echo $javascript->link('tools.tabs-1.0.1', true);
echo $javascript->link('tools.overlay-1.0.4', true);
echo $javascript->link('jquery.form', true);
echo $javascript->link('tools.scrollable-1.0.5', true);

The issue is that on every other page the navbar combo box selector works. However, on the cars/index.ctp it doesn't work. It only works when we comment out the 'tools.scrollable' include. Any ideas why there is this conflict? We have been stuck on this problem for months...

© Stack Overflow or respective owner

Related posts about scrollable

Related posts about jQuery