Shadowbox Link with Absolute Positioning for Joomla
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

We want a shadowbox that will open a Joomla Article, external link or Vimeo video page.
Must be positioned horizontally centered.
Must be positioned 'X' pixels down the page.
Must be 1000 pixels wide.
Must have 'X' close button in upper left corner.

awarded to Wikimedia

Crowdsource coding tasks.

1 Solution


You should use fancybox,

$("a").click(function() {
 $.fancybox.open({
   type : 'iframe',
   width: 1000
 });
});

if the close button must be in upper left , you may play with css.

 .fancybox-close {
     left: -18px;
}