I have a problem, I need to open a seem window to which I use with the
function openModalDialog() fill with an Ajax request, seem to the function
PalabraCaliente() fill the dialog with an Ajax request. Sorry for English,
but I speak Spanish and my English is very bad.
<script>
function openModalDialog() {
debug($('modal_window_content'))
var win = new Window('modal_window', {className: "darkX", title:
"Ruby on Rails",top:100, left:100, width:300, height:200, zIndex:150,
opacity:1, resizable: true, hideEffect:Element.hide, showEffect:Element.show
})
win.getContent().innerHTML = "Hi"
win.setContent("select")
win.setDestroyOnClose();
win.showCenter(true);;
}
function PalabraCaliente(){
Dialog.alert({url: "info_panel.html", options: {method: 'get'}},
{windowParameters: {className: "alphacube", width:540}, okLabel:
"Close"});
}
</script>
<div class="listing" id="open_ajax_dialog_codediv">
<a href="javascript:PalabraCaliente()">Click here to open AJAX</a>
</div>
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com