Overlay for Team Member

semargl's picture
semargl
Tue, 12/22/2015 - 01:09
#1
Overlay for Team Member

Hello,

I created a view which lists all the team members. How can I create link in that view that triggers overlay displaying single team member information as it's shown in /team slideshow?

phuonght's picture
phuonght
Tue, 12/22/2015 - 05:10

Hi,

If you would like click portfolio item then display content by ajax, please take a look at following files for example:

1. custom.js(sites\all\themes\md_phoenix\js\front), line 159:

$("a.overlay-ajax").click(function(){
var url = $(this).attr("href").replace(/[#\!]/g, '' ).split("/")[1];
//$(".overlay-section").load(url + ' #transmitter');
portfolio_loadajax(url);
$( "body" ).addClass( "noscroll" );
$('.video').fitVids();
return false;
});

$('a.overlay-close img').click(function(){
$( ".overlay-section" ).empty();
$('.ajax-loader').show();
$( "body" ).removeClass( "noscroll" );
});

2. module portfolio(sites\all\modules\custom\portfolio): use to display a content when click a portfolio item

You could make Team section similar to example. 

semargl's picture
semargl
Wed, 12/23/2015 - 01:42

Thank you for pinting me into the right direction.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.