Using visibility to layer screens - is there any potential impact on triggering event on the visible elements
<p>I have a general question - no code this time. I accept that if visibility is set to hidden on say a form, no events can be fired on that form until it is set visible. </p>

<p>I have used this approach to set up a series of screens and menus using jQuery to make them visible or hidden as appropriate in response to various events.</p>

<p>I have set these up using position: absolute; and the z-index so that they are effectively layered.</p>

<p>I note that some tutorials favour setting any sub menus/screens up, that are not immediately required, off the visible page - say - </p>

<p>margin-left: -500px; </p>

<p>And when required pull them in to the visible area.</p>

<p>I would like to know whether there is any potential difficulty that I am currently unaware of when layering the screens and controlling them using visibility and whether this is the reason for placing elements you might need later off to one side.</p>
