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

  • Home
  • SEARCH
  • 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 7666741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:54:42+00:00 2026-05-31T14:54:42+00:00

Totally newbie for the jQuery.cookies here. So basically I got a site with a

  • 0

Totally newbie for the jQuery.cookies here.

So basically I got a site with a sub menu like below:

Main Site

- Sub Page 01
   --Zone 1
   --Zone 2
   --Zone 3
   --Zone 4
   --Zone 5

–Sub Page 02

–Sub Page 03

–Sub Page 04

All the page have the same contents, but different heading banner and text on top of the zone pages, and what I really need to do is:

  • when visiter landed on the main page, it will show the main page heading, if the visiter click through Sub Page 02, 03, 04, the same heading image and text remain the same;

  • when the visiter click to a zone, for example zone 1, the heading image and text will change to the zone 1 images and text, and from there if the visiter go to sub page 02, 03, 04, the heading image and text will remain the same which is the zone 1 heading image and text;

  • Same as if the visiter go to Zone 2, 3 and 4, and the heading image and text will stats with what zone they clicked first and remains the same until they click another zone.

So what my question is, can this to be done by using jQuery.cookies? and how exactly done? If not is there any other way to make this happen?

Thanks guys it will be really helpful is someone can give me a direction.

Cheers

  • 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-31T14:54:44+00:00Added an answer on May 31, 2026 at 2:54 pm

    Well, unaware of the exact CMS you are using here, so I will jot down a basic approach that I would have followed.
    Assuming your main page is like a landing page, then use a different layout for it. For the rest of the zones and sub-pages one could follow the below steps. (Although I do not know how well your CMS handles it).
    If your Sub-pages are under the namespace of the zones then you could use a particular layout per namespace and render the contents of the subpages in that layout. This could ensure that whatever the subpage content it the header comes from the zone that you are in. There might be many other ways to do it, I guess if the routing of actions etc is handled by the CMS then you are better off finding a way to do it with options they provide as jonathan.dh said in his comment.

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

Sidebar

Related Questions

I'm totally newbie on JQuery, I checked docs.jquery, searched on google, asked to friends,
I'm totally newbie in javascript/jQuery and i have a little problem :) I'm using
Totally a web newbie here. I'm using Twitter Bootstrap to build my personal website.
I am totally a newbie in EJB, basically at present my focus is not
Firstly: I am totally a newbie for this kind of work. I have a
Totally confused here. I have a PARENT UIViewController that needs to pass an NSMutableArray
Totally a PHP noob here so sorry for the possibly basic question - here
I am a totally blind programmer who would like to learn Python. Unfortunately the
I'm a totally blind individual who would like to learn more of the theory
I'm a totally newbie in class writing in PHP, started a couple days ago.

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.