I have some content on a page that needs fading to 0% opacity rather than fading out and having the element being totally removed from the page, so the height and width of the element is still there but just inactive.
The problem is, the objects in that element are still clickable and still fire events. Is there a special way of making them inactive or is it quite simply cursor:default; and preventDefault();?
Try changing the content’s visibility.
In css,
This will hide the element, but will still occupy the same width and height as when fully shown.
Even better, you can fade out the element, and then change its visibility: