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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:27:03+00:00 2026-06-13T13:27:03+00:00

I want to combine the collapsible-list with thumbnails-list ( http://jquerymobile.com/demos/1.2.0/docs/lists/lists-thumbnails.html ) Thats the code

  • 0

I want to combine the collapsible-list with thumbnails-list (http://jquerymobile.com/demos/1.2.0/docs/lists/lists-thumbnails.html)
Thats the code for the collapsible list, but there are only bullets as symbols.

<div data-role="collapsible">
   <h3>Bangarang</h3>
   <h3>Skrillex</h3>
   <ul data-role="listview">
      <li>Right In</li>
      <li>Bangarang</li>
</div>

Where to put the code for the image?

  • 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-06-13T13:27:05+00:00Added an answer on June 13, 2026 at 1:27 pm

    Take a look at the docu how to get custom icons

    Custom Icons

    To use custom icons, specify a data-icon value
    that has a unique name like myapp-email and the button plugin will
    generate a class by prefixing ui-icon- to the data-icon value and
    apply it to the button: ui-icon-myapp-email.

    You can then write
    a CSS rule in your stylesheet that targets the ui-icon-myapp-email
    class to specify the icon background source. To maintain visual
    consistency with the rest of the icons, create a white icon 18×18
    pixels saved as a PNG-8 with alpha transparency.

    In this example, we’re just pointing to a standalone icon image, but
    you could just as easily use an icon sprite and specify the
    positioning instead, just like the icon sprite we use in the
    framework.

    .ui-icon-myapp-email {
        background-image: url("app-icon-email.png"); 
    }
    

    example

    <!DOCTYPE html>
    <html>
    <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
     <script src="jquery-1.8.0.min.js"></script>
     <script src="jquery.mobile-1.2.0.min.js"></script>
    
     <style>
      .ui-icon-taifun { background-image: url("taifun.png"); }
     </style>
    
     <title>Test</title>
    </head>
    
    <body>
      <div data-role="page">
        <div data-role="content">
          <div data-role="collapsible" data-collapsed-icon="taifun" data-expanded-icon="taifun" data-inset="false">
            <h2><img src="favicon.ico"> Pets</h2>
            <ul data-role="listview">
              <li><a href="index.html">Canary</a></li>
              <li><a href="index.html">Cat</a></li>
              <li><a href="index.html">Dog</a></li>
            </ul>
           </div><!-- /collapsible -->
           <div data-role="collapsible" data-collapsed-icon="taifun" data-expanded-icon="taifun" data-inset="false">
             <h2><img src="favicon.ico"> Farm animals</h2>
             <ul data-role="listview">
               <li><a href="index.html">Chicken</a></li>
               <li><a href="index.html">Cow</a></li>
               <li><a href="index.html">Duck</a></li>
             </ul>
          </div><!-- /collapsible -->
        </div>
      </div>
    
    </body>
    </html>
    

    screenshot:
    screenshot

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to combine multiple lists of items into a single list, retaining the
I want to combine items of two string list but do not want repeated
I have the following code and I want to combine phase space plots into
I want to combine a list of salesmen with date of last sale by
I'm not even sure if this is possible, but I want to combine blind
In a table I want to combine some of the columns, but not in
I want to combine several zip files together using ANT, but I've got three
I want to combine multi rows into one but have a new row when
I want to combine AND OR mysql queries in CI. I have already seen
I want to combine the first and last names and present them in the

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.