iframe + ui-dialog (IE6)
iframe + ui-dialog (IE6)
Hello,
i have a problem using the ui-dialog on a iframe with internet
explorer 6. Each time I opened the dialog the titlebar moved more left
and after few times the dialog did not open any more. This happens
only after applying css generated by themeroller. (using jquery ui
1.5.2) Can anybody help me?
Regards,
Adriana
<<<CODE
<script type="text/javascript" >
$(document).ready(function() {
$('#jdialog_tree_show').dialog({
close: function() { $
('#jdialog_tree_show').attr('src', 'about:blank'); },
autoOpen: false,
width: 700,
height: 450,
modal: true,
overlay: {opacity: 0.5, background: "black"}
});
$('#jdialog_tree_show').css('display', '');
});
</script>
<iframe id="jdialog_tree_show" name="jdialog_tree_show"
src="about:blank" frameBorder="0" style="display: none"
title="Albero"></iframe>
// JS Function which opens dialog
function show_tree(tr_id) {
$('#jdialog_tree_show').attr('src', "tree.php?
tr_id="+tr_id);
$('#jdialog_tree_show').dialog('open');
}
<<<