0

I'm using the following line of code to fade in the div content in the tab using prototype and scriptaculous:

$('lesson-'+tab).fade({
    from:0,
    to:1
});

This div when faded in has the style of style="" assgined to it - and that causes the div not to be shown.

Any suggestions on how to avoid this happening?

Here's what I need to get for-example for tab1:

<div id="lesson-tab1" style="display: block;">

The test page can be seen from this link if needed. Thanks in advance.

http://www.dilyurdu.com/test

user1425871
  • 149
  • 2
  • 5
  • 13
  • I think that's not your problem: `;display:none;display:none;display:none;display:none;display:none` is what your tabs have set as style attrib after a few clicks here and there. – DanMan Jun 02 '12 at 10:06
  • after tabs are called tabs attrib habe been set as style="" but it doesnt show the content. I couldnt solve this. – user1425871 Jun 02 '12 at 11:28

0 Answers0