I'd like to have a link that opens up in a pop up window, but while the window is open, I want to page that linked to it to be greyed out.
I found a script that would grey out the page but that was deigned to be toggled by a button so I could grey out the page and open the popup but when I closed the popup I couldn't get the page back.
I tried using a DHTML lightbox that greys out the page but I can only load images and not exteral pages in it.
Is there a way I can do this? I'm using php but to do this I would like to use JavaScript.
I found a script that would grey out the page but that was deigned to be toggled by a button so I could grey out the page and open the popup but when I closed the popup I couldn't get the page back.
I tried using a DHTML lightbox that greys out the page but I can only load images and not exteral pages in it.
Is there a way I can do this? I'm using php but to do this I would like to use JavaScript.
Comment