I need some kind of advise, how to use technologies to achieve following functionality:
So, some web-developer place piece of code on his site, like this:
<script src="http://mydomain/Scripts/LoadDialog" type="text/javascript"></script>
<img src="http://mydomain.com/image"
onclick="window.ShowModalDialog(someArgs, **UserID**);" />
When user pressing on image button, there is server call occurs, and depending on userID server will return content. As a server side technology is planed to use ASP.NET MVC. On front-end side will be JavaScript and jQuery.
Please let me know please if you know how it can be achieved or where I can start from.