Error while trying Init of an Accordion

Hello,



I’ve tried to use an Accordion (a beautifull new object), but I always get the foolwing error:

(getting the detail in a try - catch(…) section)

“_IE is null or is not an object”



I’ve tried by copying the code in the sample, so it’s exactly the same code as it 's showned in the sample.



Could you give me a clue ?



Thanks

Regards,

Vinc.

Hello,

accordion code doesn’t contain _IE variable, only _isIE, could you please attach you sample with an issue?


Hi,



Of course, I was thinking of “_isIE”, I wrote too fast, sorry.



Now, I put the “Init()” of the accordion in a function, declared in the section, then I use the



Now there is a new error while trying to add a item to the accordion (“addItem”);



Here’s the code:



"






<script  src="…/dhtml/wnd/codebase/dhtmlxcommon.js"></script>



   
   










 



"



May be the particular thing in may case is that I’m working on a web-page generated by Cognos engine, but it is supposed to support HTML and JS, and others objects arer working fine.



 



Thanks,



Regards,



Vinc.


Sorry,



The new error is “Invalid argument”.

Please, check the attached demo. All code is your (just js/css path changed). All works fine.
It seems your js/css locations are wrong?

demo.zip (49.5 KB)


Hi,



No, sorry, I don’t think so; I’ve checked the paths -> I can open/access to every file using the browser.



I’ve tried the same code outside of the Cognos environment, and I’ve the same error.



The Init() of a single dhtmlxWindow works, in all cases, just for information.

What about attached sample? Does it work?


No, sorry, no it’s not working.



Tell me please what kind of information more you would like - may be - to help me find where’s the problem.



Thanks.

Demo is working well on our side, maybe problem is in environment on your side?
Could you please give us direct link to live edition?


Sorry,



If I understand correctly, you would like to access to the page I’m working on, but for security reasons and privacy of particular datas, It won’t be possible.



I’ll try again later, I keep pn working with other objects for the moment.



Thanks,



Regards.

Hello,

I have exactly the same problem and the same error.

The demo runs as well. But in my application the same code doesn’t work.
I have tried the load event of the body, the function defined in head called at the end of body, …
I’m using Lotus notes.

Since october, have you got an issue ?


Hi,



Yes finally it’s working, but I don’t know why.



I use the “classical method” given in the documentation, I used too a accordion attached in a cell of a dhtmlxLayout object, and now it’s working.



I have no explanation for the reasons of the problems encountered few months before.



Still a mystery. Sorry.



 


Hello guigui,


If the issue still persists, please provide any sample that allows to reproduce the issue.