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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:04:35+00:00 2026-05-26T04:04:35+00:00

I have a menu that I’ve created using jquery that pops-up on certain button

  • 0

I have a menu that I’ve created using jquery that “pops-up” on certain button mouse-overs.

it has a LOT of options and sub-menu options and I’d like to put it into a separate file so that it only needs to be downloaded once and all of the html markup and text doesn’t need to be re-downloaded every time a user hits a sub page on my site.

I was toying with the idea of using the jquery template engine but couldn’t quite wrap my head around the best way to work that. This isn’t a template after all, but a static menu.

I’m pretty sure I can’t put it in a JS file because it’s not script per se, it’s actual html markup (mostly tables).

Any ideas?

  • 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-26T04:04:36+00:00Added an answer on May 26, 2026 at 4:04 am

    not really sure what you mean but what I tend to do is include the html for all “pop-ups” in the original page markup and simply toggle display to none or block with whatever JQuery event you want, such as

    $("button#popupbtn").click(function(){$("#hiddencontent").css("display", "block")});
    

    This way you dont have to download the markup every time as you would if you were using Ajax and you get the SEO benefits of whatever is in the extra markup too.

    If you did choose to use Ajax you could also prevent repeated downloading by caching the results (basically saving a local copy to reuse) after they have been downloaded, but this wouldn’t really be necessary because the 1st method is easier and better for SEO

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

Sidebar

Related Questions

I have a jquery menu that has so many entries that it extends further
I have a Menu class that has a IQueryable property called WebPages. In the
I have a popup menu that has a few items in it. Option 1
I have a settings menu that pops up and in it is a ListPreference
I have a menu that is built using its own AS3 class, when a
I have menu button that is being put in the Navigation controller on every
I need to have a menu that has items that size themselves based on
In my master page I have a menu that uses jquery ui accordion. What
I have jquery menu that on click shows specific div element. I wonder if
Here's the situation: I have a menu that needs to be created dynamically from

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.