Quote from: ThaClown at May 24, 2011, 08:19 AM- How can I keep using yepnope in the footer and bypass this problem?
This is expected behavior.
You should consider setting display: none; for all images first to avoid this behavior. Slides script should set this to block for sliding images afterwards.
Quote from: ThaClown at May 24, 2011, 08:19 AM
- Is placing JS in the footer really that mutch better?
Yes it is. If you load jquery (~150kb) with additional scripts (~50kb) in header, js-files are loaded and executed just before rendering the body of the page (which contains layout). This blocks entire layout and handling on site until all scripts are loaded correctly. If you load external contents like Facebook-API from their lazy servers this could be very bad.
For now no browsers support HTML5 web-workers and asynchronuous loading 100% what makes need of yepnope.js
And so you have to load all content and then load all javascripts afterwards (so you can already use the page). In modern browsers like Chrome it makes use of asynchronuous loading which means it loads parallel to the pageload and should be much faster than in IE7/8.
Quote from: ThaClown at May 24, 2011, 08:19 AM
It is not the position of the code... placing the yepnope in the header does not fix this problem, Plaing this:
yepnope waits until js-document-ready