Boa tarde, tenho esse seguinte cód.
function createWindowWithBoundary2(parentElmId) {
if( parentElmId != null ) {
var iconUrl = 'http://mail.google.com/favicon.ico';
if( parentElmId == 'my_boundary_panel3' ) {
iconUrl = 'https://picasaweb.google.com/favicon.ico';
}
/* $("#"+parentElmId).window({
//icon: iconUrl,
title: "Cadastro de contribuintes",
content: "<div style='padding:10px; font-weight:bold;'>"+
"NOME CONTRIBUINTE: <input type='text' name='nomecontribuinte'>"
+"</div>",
checkBoundary: true,
width: 600,
height: 300,
//minWidth: 600,
//maxWidth: 400,
//maxHeight: 300,
//minHeight: 200,
x: 400,
y: 100,
onSelect: function(wnd) { // a callback function while user select the window
log('select');
},
onUnselect: function(wnd) { // a callback function while window unselected
log('unelect');
}
});*/
} else {
$.window({
//icon: 'http://www.fstoke.me/favicon.ico',
title: "Cadastrar novo Contribuinte",
content:
//"<style type=text/css>@import url(css/estilo.css)</style>"+
"<div>"+
"<table style='font-size:0.8em;font-family: verdana;list-style:none;border:0px solid #ccc'>"+
"<tr>"+
"<td style='padding:8px'></td>"+
"</tr><tr>"+
"<td>Nome:</td><td><input type=text name=nomecontrib></td><td>Sobrenome:</td><td><input type=text name=sobrenome></td>"+
//"</tr><tr>"+
//"<td>Servico:</td><td colspan=4><input type=text name=serv size=59></td>"+
"</tr><tr>"+
"<td>Endereco:</td><td><input type=text name=end></td><td>Numero:</td><td><input type=text name=number></td>"+
//"</tr>"+
"</tr><tr>"+
"<td>Fone:</td><td><input type=text name=fone></td>"+
"</tr>"+
"<tr>"+
"<td style='padding:8px'></td>"+
"</tr><tr>"+
"<td align='right' colspan=4><input type='button' value='Cadastrar'></td></tr>"+
"</table>"+
"</div>",
checkBoundary: true,
x: 400,
width: 500,
height: 200,
y: 100,
z: 2100
});
}
}
em JS. até ai tudo bem, mas gostaria que ao invez de ter que digitar o html dentro de “aspas” gostaria de chamar um html externo, tem como?
obrigado