In an effort to remove these popup nuisances, I have been looking into the concept of LightBox. LightBox is a script used to inlay images in a page. Out of the box, this works perfectly for photos, but for content, I needed something else.
GreyBox is a solution I stumbled across and it is exactly what I need. Implementing it was nearly effortless. Out of the box, I can reuse all those ASPX pages I have for my popup windows. The only tweaks it required were to determine how to close the GreyBox from within itself, programmatically.
I will not show you much as far as examples because they can be found on the GreyBox website. However, I will show you how simple it is to open and close the script.
function ShowGreyBox(title,url){ return GB_showCenter(title, url); }function HideGreyBox(){ parent.parent.GB_hide();}
Investigate and see GreyBox in action. Thanks Amir for creating this beautiful script.
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2009 MuellerDesigns.net
Sign In