I am trying to load the facybox on onload of the page using trigger("click"). But when fancybox loads it is coming with previous div(fancybox-left) automatically, Due to the Z-index of fancybox-left it is covering most of my fancybox content which are textbox for user to enter username password. I am also having a style for fancybox-left as display:none on my both loading and loaded pages.
Is there a way to hide the fancybox-left after page loaded to get rid of huge tag which is covering whole fancybox.