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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:16:47+00:00 2026-06-13T20:16:47+00:00

i want to prepare a few template. When user select one, layout must change.

  • 0

i want to prepare a few template. When user select one, layout must change.
http://imageshack.us/photo/my-images/163/layoutselection.png/

How can i do this with javascript? Also it must be responsive.

Can anyone send an example or sample code?

  • 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-13T20:16:49+00:00Added an answer on June 13, 2026 at 8:16 pm

    Responsive designs are not that easy that someone could just give you a boilerplate code.

    You need to define the problem you are facing:

    You have a webpage with a fixed markup, and you want only it’s layout to change by javascript?

    What is your markup, what is your css by default?

    How many parts of the page should be “moving around”? Which goes where in which case?

    For example: It’s a little hard to order the same markup to layout 6 and 7 (on the linked image), as in layout 6 there are 2 parts of the page and in layout 7 there are 5.

    Tell us what you have done before:

    Do you have any design yet? Are you just researching in the subject and yet to find good examples? Are you having trouble with your project?

    I have the impression that you do not really know what you want and what options do you have.

    So I advise you to read this about responsive design. What it is and how it is done.

    For example this is a good starting point: http://www.alistapart.com/articles/responsive-web-design/

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

Sidebar

Related Questions

I want to generalize a template I have and one of the items is
I want to prepare some data after user login system. After some google, I
I have a few jinja template file in a path, I want to render
I want to build a few conditions to kick a user out of an
I want to prepare a text for the use in a LaTeX document. I
I want to use ADO.NET Prepare command will increase performance if query is repeatevely
I'm creating a website and I want it also to be prepare for mobile
HI, I want to use FOP to prepare a XML document for printing (ps/pdf).
want to open pdf file when a user clicks on hyperlink shown in gridview
i want to prepare a byte buffer as a upd packet i want to

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.