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]
- <div id="dialogXoomPage" title="Member Profile">
- </div>
- $(document).ready(function()
- {
- member_guid = null;
-
- $('div#dialogXoomPage').dialog({ position : ['center', 'middle'], autoOpen: false, modal: true, resizable: false, draggable: false, width: $(window).width() * 90 /100, height: $(window).height() * 90 /100,
- buttons:
- [{
- id: "btnCloseDialogBox",
- text: "Close",
- click: function()
- { $( this ).dialog( "close" ); }
- }],
- open: function ()
- { $("#btnCloseDialogBox").focus(); }
- });
- $('.linkProfile').click(function()
- {
- member_guid = $(this).closest("td").data("member_guid");
- $('div#dialogXoomPage').dialog('open');
- });
- });