Hi have a few iframes on a page. Each appears when respective tab is clicked. Initially when page is loaded first tab is selected and first iframe is shown. Now, I have initialized all my iframes to javascript:void(0) i.e. to avoid slow loading of the page. When user clicks on a tab then the respective iframe is initialized to each different page. But since the content is little heavy a 404 Not found page is shown for some time.
How to avoid this? can we show a plain background instead of 404 error. Any help is greatly appreciated.
Don’t initialize the iframe to anything. Just omit the
srcattribute.