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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:13:18+00:00 2026-06-14T06:13:18+00:00

Actually I figured out a way to do this: What follows isn’t exactly working

  • 0

Actually I figured out a way to do this:
What follows isn’t exactly working code, but it does convey my idea. I’ve implemented this idea and it does work. I think the drawback is for complex pages, because the entire page has to be reloaded every time a popup goes up or down. But, on the good side, NO MORE JAVA SCRIPTS!!! YAY!!! 🙂

<html>
<body class="classfile.css">
<div                                 <?//add background stuff here?>
<?php
if(isset($_POST["popupmode"]))
   echo ' style="opacity:0.15" '; //this will fade out any background stuff
 ?>
style="height:1000px;with:600"px>
<form method="post" action="thispage.php">
<input type="hidden" name="popupmode">
<input type="submit" value="bring up popup">
</form>
</div>

 <?php
 if(isset($_POST["popupmode"]))
  {
   echo '<div style="with:200px;height:200px;top:-800px;left:200px;border-style:raised">';
  echo '<form method="post" action="thispage.php">';
  echo '<input type="submit" value="bring down popup">';
  echo '</form></div>';
  }    
  ?>
  </body>
  </html>
  • 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-14T06:13:19+00:00Added an answer on June 14, 2026 at 6:13 am

    PHP Is Server Side. It is not very smart to reload the page to “Popup” something.

    There are PURE-CSS Lightboxes, and you can use JavaScript or even your PHP solution as a FallBack, incase the broser is old. Still, it’s not a very good idea. I would try a CSS Solution, since it can happen on the client.

    Something like:

    .popupBox {
        display:none;
    }
    .popup:hover .popupBox{
        display: block;
    }
    

    Or if you need clicks:

    .popupBox {
        display:none;
    }
    .popupBox:target{
        display: block;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Actually I am working on this for the last 3 or 4 weeks but
This is a very strange to me actually. I can't figure out how create
I'm trying to figure this simple thing but I'm actually embarrassed to ask such
I've actually figured out how to do what the title to my question suggests,
EDIT: Figured out the problem. Also if you found this through google or another
It took me a little bit, but I figured out that I can't click
It looks like closeAfterReset isn't actually implemented in the code, though their wiki says
I try to figure out what -beginUpdates and -endUpdates is actually good for. Adding
It's actually a bit more complicated than the title. I'm trying to figure out
If I could find a way to do something similar to this, I could

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.