Rank: Newbie Groups: Member
Joined: 11/22/2012 Posts: 1
|
function ShowPreview() { var dlg = eo_GetObject('dlgPreview'); var url = "http://www.google.com/"; dlg.setContentUrl(""); dlg.setContentUrl(url); dlg.show(true); }
<eo:Dialog ID="dlgPreview" runat="server" Height="200px" Width="300px" AllowResize="True" BorderColor="#335C88" BorderStyle="Solid" BorderWidth="1px" CloseButtonUrl="00070101" ControlSkinID="None" HeaderHtml="Dialog Title" MinimizeButtonUrl="00070102" ResizeImageUrl="00020014" RestoreButtonUrl="00070103" ShadowColor="LightGray" ShadowDepth="3"> <HeaderStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 11px; background-image: url(00070104); padding-bottom: 3px; padding-top: 3px; font-family: tahoma" /> <ContentStyleActive CssText="border-top: #335c88 1px solid; background-color: #e5f1fd" /> <FooterStyleActive CssText="background-color: #e5f1fd; padding-bottom: 8px;" /> </eo:Dialog>
<a href="javascript:ShowPreview();">Show Preview</a>
With above, when I click the "show preview". The dialog prompt up but nothing show in the content. Please kindly help. Thanks.
|