How do I create a custom pop-up

Hi,

I am trying to create a custom pop up - can anyone point me to any file that includes the code? or can anyone send me the code that opens a pop-up window?