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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:05:15+00:00 2026-05-28T16:05:15+00:00

I have modified jquery mobile a little so a collapsible with data-type=horizontal converts into

  • 0

I have modified jquery mobile a little so a collapsible with data-type=”horizontal” converts into a tab-viewer.

See my example page here – tabview

The one problem I have with it, is the need to position elements absolute/relative.

I need to absolutely postion the collapsible-content in relation to the relatively positioned .ui-collapsible-set to make the collapsible content section span across the full tabview width.

I would like to know if there are any workarounds to avoid positioning elements like this, because it creates all kind of problems in the regular flow of elements on a page.

Thanks for some input!

  • 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-28T16:05:17+00:00Added an answer on May 28, 2026 at 4:05 pm

    Ok I found a way, which is awkward, but working…

    Can be done with css like this:

    .ui-collapsible-set-horizontal.ui-grid-a .ui-block-a .ui-collapsible-content {
        position: relative;
        width: 199.3%;
        padding: 0;
        }
    .ui-collapsible-set-horizontal.ui-grid-a .ui-block-b .ui-collapsible-content {
        left: -100%;
        width: 199.3%;
        position: relative;
    }
    

    my problem was that I had to set pos:absolute on .ui-collapsible-content in order for the this element to cover the whole tabview.

    The above works for a two grid tab, so basically I’m setting the width to twice the element width (a tabview-set, 2 tabs, each 100% width = set to 200%, 3 tabs, set to 300% etc) and using pos:relative to position the 2nd, 3rd, 4th tab to the left by all preceding tabs’ width.

    Works nicely and since I’m not using pos:absolute anymore, the content section now doesn’t have to be set hardcoded (height 123px), but expands depending on the content contained.

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

Sidebar

Related Questions

I have a dataset that I have modified into an xml document and then
I have a jQuery selector with following syntax: $('input[type=image]').not('.xyzClass').click(function{ //some functionality }); So this
I have this page in which I slightly modified the jQuery autocomplete to make
Say I have a mobile web app written using JQuery Mobile, this app retrieves
I'm using Jquery Mobile pagination plugin and trying to work it into a plugin
Here's my issue: I have a modified spasticNav jQuery script for a navigation menu
I have a textfield that users input the date using a modified jquery datepicker.
I have an ajax call in jQuery loading some elements into a div. The
I have a form using jQuery that I need to manipulate the incoming data.
I have defined an ajax dataFilter for my jQuery calls that return JSON data

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.