general

Questionsgeneral
german asked 7 years ago

How to display the external links in the dialog box instead of showing in a new window

1 Answers
Cedric answered 7 years ago

Hello German,
you could you fancy box like this
$col[“default”] = ‘<a class=”fancybox” href=”{your_link}”><img height=”50″ src=”{your_link}” alt=”{link_name}” title=”{link_name}” /></a>’;
<!– Add fancyBox main JS and CSS files –>
    <link type=”text/css” rel=”stylesheet” href=”//cdn.jsdelivr.net/fancybox/2.1.4/jquery.fancybox.css” />
    <script type=”text/javascript” src=”//cdn.jsdelivr.net/fancybox/2.1.4/jquery.fancybox.js”></script>
<script> 
$(document).ready(function() {
        $(‘.fancybox’).fancybox();
    });
</script>
 
 

Your Answer

9 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?