Use
jQuery UI Dialog[
^].
$( "#panelID" ).dialog();
Make sure you include all the necessary js and CSS files. You can know about that if you click on "View Source" in that link.
If you don't want to use this, then you need to
float
that panel, then apply
absolute
positioning.
So, better to go with
jQuery Dialog.