Hello, I would like to place an iFrame in the infoBox/childBox. So far, so good. It's works well.
But, is it possible to avert preloading the infoBox/childBox contents?
Markus
stop preloading infoBox
Page: 1
Author | Post |
---|---|
#1 Fri Nov 21, 2008 8:48 am
|
|
Member
Registered: Nov 2008
Posts: 26
|
|
#2 Fri Nov 21, 2008 4:17 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Hi Markus,
Floatbox doesn't preload iframe content. Only images are preloaded. |
#3 Fri Nov 21, 2008 6:58 pm
|
|
Member
Registered: Nov 2008
Posts: 26
|
Here is an little example: home.arcor.de/post007
In IE all content will be loaded first. Only when everything is loaded (Site and iFrame content), Floatbox works. In FF, Floatbox works immediately. Markus |
#4 Fri Nov 21, 2008 7:32 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Ok. I think I see what you mean. You have your iframe inside a hidden div and IE does not initialize the javascript on the page until the iframe source content is loaded. That source content is slow to load so there is a a period of time when clicking on the image just loads the image in a new page and does not start floatbox.
In the case of your page, there is an easy fix. There is no reason to put that iframe inside a hidden div and then load the hidden div content. Just load the iframe content directly as your info link. That is, delete the entire hidden div and change rev="info:#burger... to rev="info:`http://www.mcdonalds.de`.... This should take care of your particular case. If you want more info and a solution for the general problem of content clicks occurring before floatbox is ready, please see this post. |
#5 Sat Nov 22, 2008 10:28 am
|
|
Member
Registered: Nov 2008
Posts: 26
|
KOTC
![]() |
Page: 1