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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:24:12+00:00 2026-06-07T17:24:12+00:00

am in a bit of a fix here with a designer insisting a certain

  • 0

am in a bit of a fix here with a designer insisting a certain design is done and stating “Oh well if it can’t be done…” in those tones that we all know as developers that says It can be done but you can’t do it.

I thought it wasn’t possible, but have had a read on here about using jQuery .append so it may well be after all. Any advice would be great thank you.

This is my code:

<section id="technologies">
   <ul>
       <li class="technology" id="ddTechnology1">
    <div class="technologyTitle">Title1</div>
   </li>
   <li class="technology" id="ddTechnology2">
    <div class="technologyTitle">Title2</div>
   </li>
   <li class="technology" id="ddTechnology3">
    <div class="technologyTitle">Title3</div>
   </li>
   <li class="technology" id="ddTechnology4">
    <div class="technologyTitle">Title4</div>
   </li>
   </ul>
</section>
<div id="ddWrapper">
    <div id="ddContent" class="targetDiv">
         Content Content
    </div>
</div>

The ul is 4 floated left white boxes with an image in each. The div below the is just a piece of content the same with as the .

The site is a responsive site so that when it is reduced to a tablet view, the four left floated li turn into two rows of two and in smartphone view are stacked one on top of the other.

In each view, the div below the section just resizes to fit and the content is rearranged.

The designer is not happy because his design says in 960px view, div id=”ddWrapper” is below the four left aligned boxes; in tablet 600px view, the div has to be between the two rows and in smartphone 320px view it has to be under the first li.

To me this is not a responsive layout, but I’ve been trying to use jQuery to pull the rabbit out of the hat to make the designer happy.

Is there a way of using jQuery’s append() to move the div id=”ddWrapper” to different places in the HTML based on the current layout? This question has pushed beyond my current knowledge of jQuery so I’m asking for any help anyone can provide.

cheers

frank

  • 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-07T17:24:14+00:00Added an answer on June 7, 2026 at 5:24 pm

    Probably the simplest way to acheive this would be to include some of the content more than once and just display: none; the content you don’t want. i.e.

    <section class="desktop-technologies">
       <ul>
           <li class="technology" id="ddTechnology1">
        <div class="technologyTitle">Title1</div>
       </li>
       <li class="technology" id="ddTechnology2">
        <div class="technologyTitle">Title2</div>
       </li>
       <li class="technology" id="ddTechnology3">
        <div class="technologyTitle">Title3</div>
       </li>
       <li class="technology" id="ddTechnology4">
        <div class="technologyTitle">Title4</div>
       </li>
       </ul>
    </section>
    
    
    <section class="tablet-technologies">
      <ul>
           <li class="technology" id="ddTechnology1">
        <div class="technologyTitle">Title1</div>
       </li>
       <li class="technology" id="ddTechnology2">
        <div class="technologyTitle">Title2</div>
       </li>
     </ul>
    </section>
    
    
    <section class="mobile-technologies">
      <ul>
           <li class="technology" id="ddTechnology1">
        <div class="technologyTitle">Title1</div>
       </li>
     </ul>
    </section>
    
    
    <div id="ddWrapper">
        <div id="ddContent" class="targetDiv">
             Content Content
        </div>
    </div>
    
    
    <section class="tablet-technologies">
      <ul>
       <li class="technology" id="ddTechnology3">
        <div class="technologyTitle">Title3</div>
       </li>
       <li class="technology" id="ddTechnology4">
        <div class="technologyTitle">Title4</div>
       </li>
       </ul>
    </section>
    
    
    <section class="mobile-technologies">
      <ul>
       <li class="technology" id="ddTechnology2">
        <div class="technologyTitle">Title2</div>
       </li>
       <li class="technology" id="ddTechnology3">
        <div class="technologyTitle">Title3</div>
       </li>
       <li class="technology" id="ddTechnology4">
        <div class="technologyTitle">Title4</div>
       </li>
       </ul>
    </section>
    

    then you can just apply:

    .tablet-technologies, .mobile-technologies {
        display:none;
    }
    

    with the appropriate sections showing for the appropriate styles.

    It’s not the cleanest solution, but it doesn’t add to much overhead to the filesize and is controllable without javascript.

    Hope that helps!

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

Sidebar

Related Questions

I'm in a bit of a fix here. An app searches Core Data and
Hi guys I'm in a bit of a pickle here now. Well to start
i am trying to fix a bit of broken code here. basically its a
As you can see here; http://bit.ly/sifpz9 , when hovering over whats new or accessories
I have a sources of existing portlet. I changed it a bit to fix
Bit of a tough one to explain here, but I'll do my best. I
Bit of a weird glitch here. The tag name of a childNode is logged
Bit of a strange question here i know. but i wanted to know if
Bit support question. Apologies for that. I have an application linked with GNU readline.
Alright, so I'm having a bit of an issue here. Here is the loop.

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.