Replace Pop-Ups with dynamic includes using DOMinclude

Replace Pop-Ups with dynamic includes using DOMinclude

Pop-up windows are a pain for both the developer and the users. Often enough a page needs to link to a terms and conditions document and as the client does not want the user to leave the page you are asked to implement them in a pop-up.

The problem with this are technical and psychological:

* years of unsolicited pop-up windows have conditioned users to immediately close windows when they open

* the same reason and security concerns made people install pop-up blocker software and browsers to include pop-up blocking options, and depending on their configuration these may even block your “friendly pop-ups”.

One solution is to use JavaScript to create a new layer with the content of the document when JavaScript is available and simply link to the page when it isn’t.

A very interesting implimentation to get away from using pop-up windows. I don’t think I particularly like the accessibility aspect of this, but it may be a matter of which sucks less. I don’t know for sure, but I would venture to guess a screen reader would have serious issues with this method.

[tag]Tech News[/tag]
[tag]Internet Related[/tag]
[tag]WebDEV[/tag]
[tag]Thoughts[/tag]
[tag]Life[/tag]