Welcome Guest, Not a member yet? Register   Sign In
Pop up box/window
#10

[eluser]Jason Stanley[/eluser]
I really don't understand what you don't get. PHP needs to be processed. So you either hide it and the code is processed when the page load's. Or you stick it somewhere else and make a call using AJAX. The code will then be processed when the call is made and HTML will be sent.

If PHP isn't processed then you are just sending it as a string which does nothing.

CSS controls the style of a website. If you want a pop up, make a fancy pop up box in CSS then add a class/id to whatever you want to turn into a pop up.

If you want to fade out the background add an overlay.

Code:
<div class="overlay"></div>

Code:
.overlay {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#000;
  opacity:0.5;
  z-index:1;
}

This has nothing to do with PHP


Messages In This Thread
Pop up box/window - by El Forum - 02-02-2012, 05:35 AM
Pop up box/window - by El Forum - 02-02-2012, 05:41 AM
Pop up box/window - by El Forum - 02-02-2012, 05:44 AM
Pop up box/window - by El Forum - 02-02-2012, 05:48 AM
Pop up box/window - by El Forum - 02-02-2012, 05:49 AM
Pop up box/window - by El Forum - 02-02-2012, 05:53 AM
Pop up box/window - by El Forum - 02-02-2012, 05:56 AM
Pop up box/window - by El Forum - 02-02-2012, 05:58 AM
Pop up box/window - by El Forum - 02-02-2012, 06:00 AM
Pop up box/window - by El Forum - 02-02-2012, 06:02 AM
Pop up box/window - by El Forum - 02-02-2012, 06:04 AM
Pop up box/window - by El Forum - 02-02-2012, 07:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB