load external url in dialog without iFrame

load external url in dialog without iFrame

Hi,

I wanna ask is it possible to load an external url e.g. google.com in a dialog without using the iFame so it will be shown within the div only?

here is my current code which I want to use to display an external url using the member_guid and  my url  is

profile?id=[member_guid]

  1. <div id="dialogXoomPage" title="Member Profile">
  2. </div>

  1. $(document).ready(function()
  2. {
  3.     member_guid = null;
  4.         
  5.     $('div#dialogXoomPage').dialog({ position : ['center', 'middle'], autoOpen: false, modal: true, resizable: false, draggable: false, width: $(window).width() * 90 /100, height: $(window).height() * 90 /100,
  6.     buttons:
  7.     [{
  8.         id: "btnCloseDialogBox",
  9.         text: "Close",
  10.         click: function()
  11.         { $( this ).dialog( "close" ); }
  12.     }],
  13.     open: function ()
  14.     { $("#btnCloseDialogBox").focus(); }
  15.     });

  16.     $('.linkProfile').click(function()
  17.     {
  18.         member_guid = $(this).closest("td").data("member_guid");
  19.         $('div#dialogXoomPage').dialog('open');
  20.     });
  21. });