T
tshad
I am trying to find a javascript that will allow me to show and hide a named
div that is a just a styled window.
I don't want to open a window just show a div (that looks like a window)
then close it when the user clicks anywhere on the window. Maybe anywhere
on the screen but the popup but that is not necessary. Something simple.
The code I have is something like:
<div id="pnlPractitioners" class="popupControl">
<span id="dlResults"
style="font-weight:bold;text-decoration:underline;">Practitioners:</span>
<div class="prac">
<span id="Name">Peter J. Helton DO</span>
</div>
</div>
The css for popupControl is:
..popupControl
{
background-color: White;
position: absolute;
visibility: hidden;
border: solid 1px #000;
padding: 7px;
}
I originally tried to use Ajax to do this but it was gobbling up my onclick
event so I want to just do a quick open and close.
Thanks,
Tom
div that is a just a styled window.
I don't want to open a window just show a div (that looks like a window)
then close it when the user clicks anywhere on the window. Maybe anywhere
on the screen but the popup but that is not necessary. Something simple.
The code I have is something like:
<div id="pnlPractitioners" class="popupControl">
<span id="dlResults"
style="font-weight:bold;text-decoration:underline;">Practitioners:</span>
<div class="prac">
<span id="Name">Peter J. Helton DO</span>
</div>
</div>
The css for popupControl is:
..popupControl
{
background-color: White;
position: absolute;
visibility: hidden;
border: solid 1px #000;
padding: 7px;
}
I originally tried to use Ajax to do this but it was gobbling up my onclick
event so I want to just do a quick open and close.
Thanks,
Tom