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 4254126
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:02:23+00:00 2026-05-21T05:02:23+00:00

I am trying to create a Outlook style accordion for my page. The problem

  • 0

I am trying to create a Outlook style accordion for my page. The problem I am running into is finding out how to set a different icons for each header. Ex) Mail Icon by the Mail header, Contact Icon by the Contact Header. Any help would be greatly appreciated.

  • 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-21T05:02:24+00:00Added an answer on May 21, 2026 at 5:02 am

    This is easy to do, with just a little CSS.

    Demo

    HTML

    <div id="accordion"> 
        <h3 class="s1"><a href="#">Section 1</a></h3> 
        <div> 
            <p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p> 
        </div> 
        <h3 class="s2"><a href="#">Section 2</a></h3> 
        <div> 
            <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p> 
        </div> 
        <h3 class="s3"><a href="#">Section 3</a></h3> 
        <div> 
            <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p> 
            <ul> 
                <li>List item one</li> 
                <li>List item two</li> 
                <li>List item three</li> 
            </ul> 
        </div> 
        <h3 class="s4"><a href="#">Section 4</a></h3> 
        <div> 
            <p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. </p><p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p> 
        </div> 
    </div> 
    

    CSS

    .ui-accordion-header.s1 .ui-icon {
        background: url(http://p.yusukekamiyamane.com/icons/search/fugue/icons/table-join.png);
    }
    .ui-accordion-header.s2 .ui-icon {
        background: url(http://p.yusukekamiyamane.com/icons/search/fugue/icons/home-medium.png);
    }
    .ui-accordion-header.s3 .ui-icon {
        background: url(http://p.yusukekamiyamane.com/icons/search/fugue/icons/store-medium.png);
    }
    .ui-accordion-header.s4 .ui-icon {
        background: url(http://p.yusukekamiyamane.com/icons/search/fugue/icons/balloon-facebook-left.png);
    }
    

    JavaScript

    $(function() {
        $( "#accordion" ).accordion(); 
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm basically trying to figure out how to create a macro in Outlook that
I'm trying to create an outlook style To: / recipients list when I select
I am trying to create set of AppointmentItems from database in Outlook via an
I'm trying to create an Outlook 2010 Add-in with Visual Studio, and I'm having
I'm trying to create an Outlook 2010 Add-in with Visual Studio. Is it possible
I'm trying to create a .vcs file in C#. Basically in outlook if you
I'm trying to create an Outlook 2010 addin that adds a new tab to
I am trying to create a report that will be delivered via email. Outlook
I'm trying to create a new outgoing message with Microsoft Outlook 2011 for mac,
I am trying to create, update and delete an event in Outlook 2007 (but

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.