views:

17

answers:

0

I am using jquery accordion from this website Accordion Site it works very well with images but it does not work with contents. So I modified the javascript and it worked.

The issue is now when I try to hide div it does not work but when I set css property display:none it works fine.

Here is the code where I am stuck

function closeMe(div) {

 if(options.vertical) {

  $("#"+div).hide("slow"); //this line does not work
  //$("#"+div).css({display:"none"});

 } else {

  $("#"+div).hide("slow");

 };};