Código HTML:
Espero alguna respuesta muchas gracias!!! Ver original
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style type="text/css" > html, body { width : 100%; height : 100%; padding : 0; margin : 10px; overflow : hidden; font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif; /* MAIN BODY FONTS */ } .jcTab { width:100%; height:100%;} </style> <!-- link href="css/core.css" rel="stylesheet" type="text/css"/ --> <link href="css/TabPanel.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" > var tabpanel; var jcTabs = [ //Aqui se carga el contenido html o php (y es donde tengo el problema) 'You can close me by click fork button', 'You cant see it' ]; $(document).ready(function(){ tabpanel = new TabPanel({ renderTo:'tab', width:600, height:500, //border:'none', active : 0, //maxLength : 10, items : [ {id:'toolbarPlugin1',title:'Google',html:jcTabs[0],closable: false}, {id:'toolbarPlugin2',title:'Tab2',html:jcTabs[1],closable: false}, {id:'toolbarPlugin3',title:'Closable',html:jcTabs[2],closable: false}, {id:'toolbarPlugin6',title:'Disabled',html:jcTabs[3],closable: false, disabled:false} ] }); }); </script> </head> <body> <div > </div> </body> </html>