On Tue, Sep 22, 2009 at 3:35 PM, k <por...@pornel.net> wrote:
>
> Currently iframe shown by CFInstall.check() is absolutely positioned
> and covers content of the page. This is rude, and often scares or
> angers users.
We agree! It's not optimal at all. We'll be updating the install
script soon to be smaller and less obtrusive. Until then, note that
you have full control over the styling of the box. If you pull up the
page and look for the injected ".chromeFrameInstallDefaultStyle"
class, you'll see that it contains this:
.chromeFrameInstallDefaultStyle {
width: 500px;
height: 400px;
padding: 0;
border: 1px solid #0028c4;
margin: 0;
}
If you pass the className parameter to the check() function, whatever
you pass will also be added to the resulting node, letting you easily
over-ride any of these. You can also over-ride where the iframe points
using the url parameter.
Hope that helps you build a more appropriate solution for your site
until we roll out less obtrusive prompts.
> I wish you had less obtrusive install prompt. For example trigger only
> ActiveX information bar (yellow 20px bar on top of viewport).
I like that. We can add it as another mode in CFInstall. Regardless,
the default prompt window will be getting smaller in the near future.
Regards
var cf = (function(i,ua){cf will be false in other browsers (so far)
return i<ua.indexOf("chromeframe")||i<ua.indexOf("x-clock")
})(-1,navigator.userAgent.toLowerCase());
If cf is true you can create whatever suggestion you want to let the user choose.