views:

52

answers:

2

I am customising the mediawiki for our internal portal.

I need to open a popup window on clicking a link in the wikitext. This popup would take information from the mysql database and display a movie clip or a document or something.

Anyone knows how this can be done?

A: 

You've probably considered this but just to be sure - many people really hate popups which is why modern browsers have pop up blockers. So, if you use them, you'll have to include browser specific instructions on how to enable pop ups.

As an alterative, I suggest you embed the movie clip / document - using e.g. an iFrame.

Mark Robinson
Thanks for the suggestion, it is very valid. The requirement is specifically to display the content in a pop up window.
Karthick
@Karthick - a client side solution (at least for video) is also possible but tricky - you can recommend people use a certain video viewer which is launched from their browser. Only worth considering if Jan's suggestion (or iFrame) doesn't help.
Mark Robinson