Hi all,
I'm looking into the Telerik toolset as part of an overall solution.
Is it possible to open a modal popup using JavaScript like in the example below?
I need an Image to be clickable and open a modal window which loads a specific URL.
<a href="JavaScript:var options=SP.UI.$create_DialogOptions();
options.url='http://webapp1/Pages/publishingPage.aspx?isdlg=1';
options.width = 800;
options.height = 600;
options.title = 'A working and simple popup';
void(SP.UI.ModalDialog.showModalDialog(options))">
<img src="http://webapp1/Style Library/Images/icon.png" border="0" alt="A working and simple popup" />
< /a>
I opened a MSDN thread here to explain what I am trying to do: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopmentprevious/thread/3da44ee9-86c5-4757-8028-ffbbc1cf87cd/
Many thanks.
Keith.
I'm looking into the Telerik toolset as part of an overall solution.
Is it possible to open a modal popup using JavaScript like in the example below?
I need an Image to be clickable and open a modal window which loads a specific URL.
<a href="JavaScript:var options=SP.UI.$create_DialogOptions();
options.url='http://webapp1/Pages/publishingPage.aspx?isdlg=1';
options.width = 800;
options.height = 600;
options.title = 'A working and simple popup';
void(SP.UI.ModalDialog.showModalDialog(options))">
<img src="http://webapp1/Style Library/Images/icon.png" border="0" alt="A working and simple popup" />
< /a>
I opened a MSDN thread here to explain what I am trying to do: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopmentprevious/thread/3da44ee9-86c5-4757-8028-ffbbc1cf87cd/
Many thanks.
Keith.