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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:30:43+00:00 2026-05-18T10:30:43+00:00

I need to implement the following layout structure in some web site: As you

  • 0

I need to implement the following layout structure in some web site:

alt text

As you can see, in this conversation there are 3 participants. Every line that a participant say is in a bubble. Every participant has different color bubble. All the bubbles for a participant have the same distance from the left.

I’m looking for a jQuery plugin that implements this layout structure (or a similiar layout structure). This plugin should support at least 2 and 3 participants, but an option for more would be great.

If no such plugins exists, how can I implement this? I mean, how can I calculate the width of each bubble (depending on the participants count) and the margin-left for each bubble?

Thanks!

  • 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-18T10:30:44+00:00Added an answer on May 18, 2026 at 10:30 am

    I’ve created a simple HTML and CSS example using margins and rounded corners, with reasonably semantic markup.

    Edit: I’ve created an updated example that uses jQuery to dynamically calculate how many people are in the conversation and set the margins appropriately. I’ve written it as a function so that you can call the function on some later event (when a new person joins the conversation) to automatically adjust the sizes.

    I tried to get it to work more cleanly using the GlobalStylesheet Plug-in, but either that plug-in doesn’t work with 1.4.x, or it doesn’t work with JSFiddle, or I was using it improperly. So this uses ‘standard’ jQuery practice of explicitly setting/updating the styles per element.

    Oh, and I moved the blockquote citation into a standard HTML4 cite element so that you can style it with old IE. :p

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

Sidebar

Related Questions

I am learning and using Web API and need to implement following Authentication mechanism
I need to implement the following: There is a table A which is supposed
I need to implement the following flow in my application: the user can click
I need to implement in C# the following structure from ActionScript3: objectArray.push({name:Stx10,category:123 , isSet:false,
I need to implement the following thing in my web-application. I know my solution
I need to implement following categorization in SQL: group can contain multiple tests or
we need to implement the following query in such a way that we should
I have an iPhone application and I need to implement the following method: +(UITextView
I need to implement an efficient excel-like app. I'm looking for a data structure
I need to implement some new functions on an editor. I picked Emacs -

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.