Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jerry on Apr 07, 2008 19:57
open dhtmlx forum
Dears, thanks i modify the c.html as follow:


<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'
    'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'&gt;

<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'&gt;
<head&gt;
    <title&gt;For demo purpose only :: &amp;1</title&gt;
    <link rel='STYLESHEET' type='text/css' href='codebase/dhtmlxtabbar.css'&gt;
    <script src='codebase/dhtmlxcommon.js'&gt;</script&gt;
    <script src='codebase/dhtmlxtabbar.js'&gt;</script&gt;

</head&gt;
<h1&gt;C</h1&gt;

         <div id='a_tabbar11' class='dhtmlxTabBar'  style='width:1024; height:420px;'&gt;    
            <script&gt;
                    tabbar=new dhtmlXTabBar('a_tabbar11','left',50);
              tabbar.setImagePath('codebase/imgs/');            
              tabbar.loadXML('d.xml');
                    
            </script&gt;
       </div&gt;
when load d.xml,no any error be caused, but if i delete the code: '<h1&gt;C</h1&gt;', then i have meet the javascript error.
thanks!
Answer posted by Support on Apr 08, 2008 02:07
You have missed body tag, as result HTML not parsed correctly and may cause different errors.