I noticed that when I load a Chronoform on the page it works fine, but when I load just the form inside an IFrame (used inside a lightbox) that I get two stylesheets included and performance suffers as the browser tries to figure out how to handle all the extra styles.
You can see below it's declaring the same stylesheet twice in two different ways:
<link rel="stylesheet" href="http://wwwdev.XXXXX.com//templates/paradigm_shift/css/template.css" type="text/css" />
<link href="http://wwwdev.XXXXX.com/templates/paradigm_shift/css/template.css" rel="stylesheet" type="text/css" media="screen" />
You can see below it's declaring the same stylesheet twice in two different ways:
<link rel="stylesheet" href="http://wwwdev.XXXXX.com//templates/paradigm_shift/css/template.css" type="text/css" />
<link href="http://wwwdev.XXXXX.com/templates/paradigm_shift/css/template.css" rel="stylesheet" type="text/css" media="screen" />
Hi lowrykun,
Yes I see what you mean . . . except that those are template stylesheets so ChronoForms isn't loading them :-(
Do you have &tmpl=component in the LightBox URL?
Bob
Yes I see what you mean . . . except that those are template stylesheets so ChronoForms isn't loading them :-(
Do you have &tmpl=component in the LightBox URL?
Bob
I do have &tmpl=component in the URL. But thanks for the tip. I've been grep'ing through the source code and see that it's not Chronoform. I just don't have any explanation as to why it's being called twice - and only on a form.
I'll keep looking and report if I find anything else.
I'll keep looking and report if I find anything else.
This topic is locked and no more replies can be posted.