freakus_maximus Posted April 12, 2007 Share Posted April 12, 2007 Basically, I have seen sites where when you click an image to preview it, the screen has a grey-over on it with a loading icon (spinner, etc...) then the image appears on the grey-over to preview. When you click the image it closes the preview and you have control again on the page. Just unsure how they are doing it and/or what to google. Any direction would be appreciated. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/46735-how-do-they-do-this-on-certain-webpages/ Share on other sites More sharing options...
redbullmarky Posted April 12, 2007 Share Posted April 12, 2007 i think it's referred to commonly (whether officially) as a "Lightbox". An example is here: http://www.huddletogether.com/projects/lightbox/ but Googling 'lightbox' will give you other suggestions too. Also - if you google "Modal" or "submodal", you'll get some ideas how they do it. One way is laying a DIV with its background image set as a semi-transparent PNG/GIF over the entire screen (to prevent clicking of underlying content), then laying whatever content over the top of that. hope that helps Quote Link to comment https://forums.phpfreaks.com/topic/46735-how-do-they-do-this-on-certain-webpages/#findComment-227796 Share on other sites More sharing options...
freakus_maximus Posted April 12, 2007 Author Share Posted April 12, 2007 Awesome red...thanks! Quote Link to comment https://forums.phpfreaks.com/topic/46735-how-do-they-do-this-on-certain-webpages/#findComment-227824 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.