Jump to content

Put transperent layer @ time of Ajax Processing..


vijay

Recommended Posts

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

You could use display:none; and change it using JavaScript at the right time.

Link to comment
Share on other sites

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...