javascript - Minor problem while loading page with jquery -
I am using the slidedeck jquery plugin which basically puts slides on my page. Everything is fine, but the problem is with the CSS loading part. Under these slides I have an import statement for another page. I am importing this page before I appear completely, which is the data from the database Brings a lot. So whenever I open my page for the second or the second, the display for my page is the hail wire. The probable reason for this may be that I am putting much of my responsibility in which the document has one for these slides. Therefore, even when the document is not fully loaded for the duration of the slide, it still does not appear. (As they appear but in a weird way ...... they are all on the page !!!!) Do I believe that my CSS and Jquier will be first loaded and then a call will be made on this page What I am importing or something like this, I just want my performance to be alright in the beginning.
This is the slidedeck jquery plugin I am using slidedeck:
ah I actually found a solution to my problem, what I am doing now is that I say div ("id =" slideDeckContainer ") which is initially hidden (css is definitely not the best solution but it works :). style = display: none ) Only after page,
$ (document) .ready (function () {....}); I call
$ ('# slideDeckContainer ). ); On div (because
$ (document) .ready (function () {...}) after page load Expertise is)
Comments
Post a Comment