Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 477917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:38:21+00:00 2026-05-13T00:38:21+00:00

I have created the layout for my new portfolio webpage here: http://vitaminjdesign.com/work.html I want

  • 0

I have created the layout for my new portfolio webpage here: http://vitaminjdesign.com/work.html

I want to have a legend with tags (ALL, logo design, marketing, web design, print design) and when these tags are clicked, the page filters the results and display them like they are currently displayed. At first, I want ALL projects displayed, but when the user clicks on a tag (say “print design”), the list is filtered and displayed.

If I have this as my legend: <a href="#" class="logos">logo</a>

and when logo is clicked, I want all of the div’s with the class “logos” to stay and all of the the divs with the other classes to fade out.

What is the easiest way in jquery to make this work. Please note: I am not very experienced with jquery, so please be as thorough and idiot-proof as possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:38:21+00:00Added an answer on May 13, 2026 at 12:38 am

    First add the classes (logodesign, marketing, webdesign, printdesign) that apply to each project to the div your are assigning the numeric class to.

    Then create links that are to filter for each tag like:

    <a href='#' class="logodesign">Logo Design</a>
    

    Then assign a click event that will hide the others and show the selected one.

    var $projects = $('#projects');
    $('a.logodesign').click(function() {
        hideAll();
        showTag('logodesign');
    });
    function showTag(tag){
        $projects.find('div.'+tag).stop(true).fadeIn();
    }
    function hideAll(){
        $projects.find('div.logodesign, div.marketing, div.webdeisgn, div.preintdesign').fadeOut();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created tab layout as in this example http://jqueryui.com/demos/tabs/#bottom with controls bellow the
I have created a simple layout using the HTML div tag. I would like
I have created an xml file like this: <?xml version=1.0 encoding=utf-8?> <ListView xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=match_parent
I want to use a list view and I have created my own layout
I have created a new layout templates in apps/frontend/default/my_theme/template/page and named it home-page.phtml and
I have created a ListView with Arraylist as below: nAdapter=new ArrayAdapter<String>(getApplicationContext(), android.R.layout.simple_list_item_checked,nArrayList); mListView.setAdapter(nAdapter); then
I have created a new Activity through androidManifest.xml as it was described here: Best
i have created listview as follows... lv = (ListView) findViewById(R.id.listview); lv.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_checked, mDisplay));
I have tableview, where create new rows and set them layout manually. In every
i am designing an app for android tablets. I have created a layout file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.