I would like to customise the Content Query Webpart like i normally do with DWP but i know its a different approach.
All i want to do is to get the title name and turn it into a link and when you click the title link i want it come up with a a custom page that i would create and pass some querystring parameters to it.
Something like this
e.g
<a href="#" onclick="openDialog('/sites/Sample/Pages/GMComms.aspx?ID={@ID}','{$title}'); return true "><xsl:value-of select="@Title"/></a>
the openDialog is the
SP.UI.ModalDialog.showModalDialog();
Any ideas would be appreciated.