Categories | Question details Back To List | ||||||||||||||||||||||||||||||||
Loading in iframes(init from html) Hi, I have used dhtmlxTabbar in my page. I have included dhtmlxCommon.js, dhtmlxtabbar.js, dhtmlxtabbar_start.js, dhtmlxtabbar.css, but i got an error on dhtmlxCommon.js file. Error message are : Access to restricted URI denied" code: "1012 => when clicked the first tab uncaught exception: Access to restricted URI denied (NS_ERROR_DOM_BAD_URI) =>when clicked the second tab Please help me. Thanks & Regards, P.Subathra Answer posted by Alex (support) on Aug 27, 2009 02:20 Hello, please provide the complete demo to recreate the issue. Answer posted by Subathra on Aug 27, 2009 04:31 Hi, I have developed in Prado framework, So i have attached my template file. I used it as a AJAX. Please see the attachment. Thanks, P.Subathra Attachments (1)
Answer posted by Alex (support) on Aug 27, 2009 07:45 Hello, please check that page that you try to load into the first tab is loaded correctly into the browser. The provide the page doesn't allow to recreate the issue. Locally teh same appraoch works correctly - dhtmlxTabbar/samples/loading_creating_tabs_content/tab_iframes_auto.html. Please, provide the complete demo (html pages) that allows to reproduce the issue. Answer posted by subathra on Sep 01, 2009 22:45 Hi Alex, I have attached my file in html format. Please find it. I have used the following sample file which is in iframe, but i want to do it using AJAX. So i have used below mentioned code in that file like <div hrefmode="ajax" id="a_tabbar" class="dhtmlxTabBar" imgpath="../../codebase/imgs/" style="width:390; height:390;" skinColors="#FCFBFC,#F4F3EE" > URL : http://dhtmlx.com/docs/products/docsExplorer/index.shtml?node=dhtmlxtree Please check with my code and give me your feedback. Thanks & Regards, P.Subathra Attachments (1)
Answer posted by Alex (support) on Sep 02, 2009 02:26 Only files from the same domain can be loaded by ajax. For google.com and yahoo.com you can use only iframe-based loading modes. Answer posted by subathrap on Sep 02, 2009 03:35 Hi Alex, Ok. But i tried in that page another two html files. Please see the attachment. It is also not working. What should i do? Please help me. Thanks & Regards, P.Subathra Attachments (3)
Answer posted by Alex (support) on Sep 02, 2009 07:01 Hello, "ajax" mode requires files in xml files. In case of html please use "ajax-html" loading mode: <div hrefmode="ajax-html" id="a_tabbar" class="dhtmlxTabBar" ...> |