vijay Posted August 20, 2007 Share Posted August 20, 2007 Hi.. I have made web page in php with the help of ajax and javascript. I want to do whenever page processing for ajax for that time I want to put some transparent layer that will disable the back pages element.. I have seen one site but I didn't remember. Any help..? Thanks in advance.. :-) Best Regards,Vijay Link to comment Share on other sites More sharing options...
Synook Posted August 20, 2007 Share Posted August 20, 2007 You could use display:none; and change it using JavaScript at the right time. Link to comment Share on other sites More sharing options...
vijay Posted August 20, 2007 Author Share Posted August 20, 2007 Hi.. You are right.. but I want to put some transparent div/layer.. via this none will have access of page element until callback responseRegards,Vijay Link to comment Share on other sites More sharing options...
jesh Posted August 20, 2007 Share Posted August 20, 2007 Check out lightbox and see how they generate their semi-transparent layer which covers the background content:http://www.huddletogether.com/projects/lightbox/It basically consists of adding a div, sizing it to be the full width and height of the body, setting its position and z-index so that it is on top, modifying the opacity of that div so the content behind is visible, and then making that div visible. Link to comment Share on other sites More sharing options...
vijay Posted August 21, 2007 Author Share Posted August 21, 2007 Hi.. Thanks.. :-)Regards,Vijay Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.