Jquery Modal or Rokbox binding with link

595 Views Asked by At

Hi i have a simple code in a script to call for a new window with the links inside

To Open link in simple we can use :

jQuery('#documentViewer').bind('onExternalLinkClicked',function(e,link){
    window.open(link,'_flexpaper_exturl');
});

then i added this for the core joomla modal

To Open link in Joomla Modal bow we use :SqueezeBox.open(link, {handler: 'iframe'});

Please tell them how can we use rokbox or any other popup modal to open any link and bind it with #documentviewer?

this is the rokbox documentation

http://www.rockettheme.com/extensions-joomla/rokbox#documentation

i cannot see a way to write direct execution event?

anyhelp will be appreciated

0

There are 0 best solutions below