To create a modal dialog popup in a Content Query Web Part, edit the ItemStyle.xsl file and replace the anchor tag with the following in the template selected:
<a onclick="javascript:SP.UI.ModalDialog.ShowPopupDialog('{$SafeLinkUrl}'); return false;" title="{@LinkToolTip}">
No comments:
Post a Comment