Shadowbox timing issue?

You didn't post any info on when is the shadowbox first called If my guess is correct, You are running shadowbox in an onload event handler. Try calling it when DOM is ready jQuery: $(document). Ready(function(){ //call it here }) EDIT In response to Your comment If this doesn't help there is only one solution Add this just after the line loading jquery script in head script> $('') .

Css({width:'100%',height:'100%', 'position':'fixed','top':'0px',left:'0px', 'z-index':'10000'}) . AddClass('cover'); . PrependTo('body'); Cover').remove(); when You are sure everything is loaded I do that when running crazy lots of code on pageload ;).

You didn't post any info on when is the shadowbox first called. If my guess is correct, You are running shadowbox in an onload event handler. Try calling it when DOM is ready.

JQuery: $(document). Ready(function(){ //call it here }); EDIT In response to Your comment. If this doesn't help there is only one solution.

Add this just after the line loading jquery script in head The above should be one line, but then it's being cut by the stackoverflow's CSS ;) and then $('. Cover').remove(); when You are sure everything is loaded. I do that when running crazy lots of code on pageload ;).

Thanks for you answer. But I did try that approach already: same problem. My site has some external scripts (google analytics and the like) which postponse the full loading of the page.

I guess it has something to do with it. But actually I can reproduce the problem also on the shadowbox homepage: shadowbox-js. Com/index.

Html (try to load the page and click on a box very fast after loading) – hubertg Feb 19 '10 at 15:02 see the edit. This will help! – naugtur Feb 19 '10 at 20:01 thanks.

Despite your exact solution did not work for me (just nothing was added) I used a modified version of it: I just added this div before the shadowbox div: the remove method is the same like in your answer. The transparent image solved the problem for me that IE seems to ignore a transparent div and the link was still clickable. Thanks!

– hubertg Feb 22 '10 at 11:27 It didn't add, because the body tag didn't exist yet. Sorry, my bad ;) If You put my solution inside the body tag it should work. – naugtur Feb 22 '10 at 12:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions