Portfolio second tab active..

3 replies · opened May 12, 2016

IImgrmMay 12, 2016

Hello,

Could you please let me know how to make the second tab(or any order of tab) displyed initially as attached instead of "show all"?
I would like to show the specific tab first which its height is shorter than displaying All.

Please advis me.

Thank you in advance.

SSemicolon WebSTAFFMay 13, 2016

Hello,

This is Definitely Possible. Simply add the following JS Code at the bottom of the Page just after the js/functions.js JS File Linking:


	jQuery(window).load( function(){
		jQuery('#portfolio-filter').find('li').removeClass( 'activeFilter' );
		jQuery('#portfolio-filter').find('[data-filter=".pf-icons"]').parent('li').addClass( 'activeFilter' );
		jQuery('#portfolio').isotope({ filter: '.pf-icons' });
	});

This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.

IImgrmSep 25, 2016

Thank you for the reply.
It works very well.
but I have one more question. :p

I would like to know how to give a link from another html page to this specific order of tab in this html?
For example, there are 2 html(or php) pages as below:

Portfolio.html with this portfolio tabs of 'menu1','menu2','menu3'
**view.html **

And I want to give a link in the view.html to be linked to portfolio.html and to display the 3rd tab -'menu3' selected initially when loading.
how should I give a link in the view.html? Should I add more javascript for this?

I am looking forward to your help. : )

I always thank you very much for your time and help.

SSemicolon WebSTAFFSep 27, 2016

Hello,

This is Definitely Possible and the Template is already included in the Package/HTML Folder. Please find the Template with the name: portfolio-hash-filter.html . You can simply add #filter=.pf-icons at the end of the URL like: portfoliohash-filter.html#filter=.pf-icons and it will filter the Items with the Icons Category. This will definitely work fine.

Let us know if we can help you with anything else or if you find any other issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard