Categories | Question details Back To List | ||||||||
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. Answer posted by Support on Oct 13, 2008 02:45 Hello, accordion code doesn't contain _IE variable, only _isIE, could you please attach you sample with an issue? Answer posted by Sunchaser on Oct 13, 2008 03:21 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 <header> section, then I use the <body onload="init()"> Now there is a new error while trying to add a item to the accordion ("addItem"); Here's the code: " <head> <!-- attaching dhtmlxAccordion files --> <script> <body onload="iniAcc()">
" 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. Answer posted by Sunchaser on Oct 13, 2008 03:25 Sorry, The new error is "Invalid argument". Answer posted by Support on Oct 13, 2008 03:58 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? Attachments (1)
Answer posted by Sunchaser on Oct 13, 2008 04:26 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. Answer posted by Support on Oct 13, 2008 07:51 What about attached sample? Does it work? Answer posted by Sunchaser on Oct 13, 2008 11:57 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. Answer posted by Support on Oct 14, 2008 00:11 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? Answer posted by Sunchaser on Oct 15, 2008 00:23 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. Answer posted by guigui on Apr 22, 2009 06:05 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 ? Answer posted by Sunchaser on Apr 22, 2009 06:25 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.
Answer posted by Alex (support) on Apr 23, 2009 07:04 Hello guigui, If the issue still persists, please provide any sample that allows to reproduce the issue. |