I have found how to open any link in modal view thanks to the JS OpenPopUpPage* on publishing pages. I would like to use this also with dynamic links created by snippets in a page layout, so that every page be able to open its links in modal view, but so far I did not success. I could create a text column with the JS link
< a href="#" onclick="OpenPopUpPageWithTitle('myDynamicURL',null,width,height,'title ')">My link</a>'
But when I try to use it programmatically (in a snippet), it does not work, SP does not interpretate it as a valid link. Does anybody has a solution or a workaround for it?
Thanks

0 commentaires:
Enregistrer un commentaire