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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:19:05+00:00 2026-05-25T11:19:05+00:00

This is pretty much what I want to do…. So, the user is browsing

  • 0

This is pretty much what I want to do….

So, the user is browsing my site and they click on a “View by categories” link, this link opens a pop-up window with a series of pictures, that link to different parts of my site. When the user clicks one of those, I want to be able to close the pop-up window and open the link in the original window.

Can anyone help?

  • 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-25T11:19:06+00:00Added an answer on May 25, 2026 at 11:19 am

    I wouldn’t recommend using pop-up for navigation because of pop-up blockers. Use some in-document solutions:

    You can use Fancybox jQuery plugin for this: http://fancybox.net/

    It has cool functionality to insert a bunch of HTML into its popup-style window.

    After clicking a link in your fancybox window the document will reload.

    EDIT:

    <a id="categories-trigger" href="#categories">View by categories</a>
    <div class="hidden-categories">
      <div id="categories"> 
        <!-- Your code from the link you provided. Only from inside <body> tag -->
      </div> 
    </div>
    

    and JS code:

    <script type="text/javascript">
        $(function(){
          $("#categories-trigger").fancybox({ /* fancybox parameters here */ });
        });
    </script>
    

    You need to include jQUery and jquery.fancybox JS scripts of course.

    and additional CSS code:

    .hidden-categories #categories{
      display:none;
    }
    

    EDIT 2

    #categories{
      overflow: auto;
      width: 820px;
      height: 820px;
    }
    

    My mistake was that fancybox content can’t be hidden by default but only in a container. After these changes fancybox will work.

    EDIT 3

    Try to change JS code to this one:

    $(window).load(function(){
      $("#categories-trigger").fancybox({ /* fancybox parameters here */ });
    });
    

    The script will execute after loading images.

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

Sidebar

Related Questions

pretty much...i want to do something like this: Stream Answer = WebResp.GetResponseStream(); Response.OutputStream =
This is pretty much Python, but asking from a Django user. Suppose this is
This pretty much has me defeated. On XP and earlier versions of Windows you
this pretty much is the thing. When in tinymce I press anything that is
This is pretty much the same problem i have, except with very different code:
This is pretty much a duplicate question but instead of using Castle Dynamic Proxy
I think this is pretty much the simplest case for mapping a Map (that
I'm having some weird issues with Xcode, and this is pretty much impossible to
This is a pretty-much theoretical question, but.. How much of an operating system could
This question is pretty much the same as this .Net question exept for java.

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.