Problem with accordion("activate", 1). using <a> link

Problem with accordion("activate", 1). using <a> link


Hi, I am trying to use the JQuery to my menu and use the sample code
from their site. When I run the code, It focuses to 'Test 2 (element)
and expand the items, because I am giving $("#example").accordion
("activate", 1). Once I add linkes (
<li><A onclick="newwindow=window.open('http://
yahoo.com','Profile','height=735,width=782,left=2,top=2,scrollbars=yes,resizable=yes,menubar=no,toolbar=no');
newwindow.focus()" href="javascript:void(0)">Yahoo2</A></li> ) to
'Test1 element as first item, nothing is expanding.
Anybody knows why it happens?
Thanks in advance
Vikas