I would like to add the ability to use the ShadowBox media viewer on our wiki
http://www.shadowbox-js.com/
and am trying to figure out the best way to incorporate this. It looks like I need to come up with a way for page editors to define links that look like the following:
<a href="myimage.jpg" rel="shadowbox" title="My Image">My Image</a>
<a href="mymovie.swf" rel="shadowbox;height=140;width=120">My Movie</a>
I'm assuming that a custom plug-in would be the best approach, but wanted to check here for advice before running off and writing a plug-in when one already exists or there is an alternate approach that I'm not thinking about. Any advice on how I should get these types of links working would be appreciated.
Thanks,
-Steve