Re: Weird problem with IFRAME

2012-12-18 Thread Byron Mann

I found this somewhat related article.

http://stackoverflow.com/questions/11935458/ie9-bug-iframe-misbehaving-due-to-url-sensitivity

Article does not mention it, but I believe the meta
http-equiv=X-UA-Compatible content=IE=EmulateIE8  (with whichever
IE mode you wind up with) has to be the first meta tag and must be in
the head.

Bit more on X-UA-Compatible

http://webdesign.about.com/od/metataglibraries/p/x-ua-compatible-meta-tag.htm

-- 
Byron Mann
Lead Engineer  Architect
HostMySite.com

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353526
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Weird problem with IFRAME

2012-12-18 Thread Claude Schnéegans

 I found this somewhat related article.

Well, no it is not the same. This one seems to deal with an error when setting 
the SRC attribute by Javascript, which is not what I'm doing.
Whet I have is a page like myPage.cfm which has an IFRAME 
SRC=myPageEdit.cfm...
When it works normally I do see in the HTTP log that myPage.cfm was requested, 
immeditly followed by myPageEdit.cfm.
But whe the problem occurs, myPage.cfm is followed by a request for the site 
root: /.
This prooves that the problem is not with on the server side, but with 
Explorer. IE9 is replacing what is in the SRC attribute by nothing.

Today I was in my client's office, I saw the problem. I just checked and 
unchecked a couple of options and bingo ! Now it works.
BUT then, he told me he also had the same problem with his laptop, so we opened 
the laptop, tried the page, without modifying any option,
and bingo! It worked also! How about that? You see I said , I'm able to fix 
your two PC touching only one!

Then, I reset all the options as they were before, and POUF! It still worked 
normally!
IE9 is really weird.

 Article does not mention it, but I believe the meta
http-equiv=X-UA-Compatible content=IE=EmulateIE8  (with whichever
IE mode you wind up with) has to be the first meta tag and must be in
the head.

Yeah, I tried this one also, and beleive it or not, not only the styles were 
gone under IE9, but also under IE8!
This means IE8 is not able to emulate IE8! How about that? ;-))



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353538
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Weird problem with IFRAME

2012-12-14 Thread Claude Schnéegans

 Is it possible the IFrame src is getting redirected to the root

It would be if the file is not found, but the file exists and it works with all 
other browsers, including IE8.
Only IE9 seems to have trouble.
And if it was redirectected, there would be a trace of it in the HTTP logs
For instance if I request doesNotExists.cfm, I clearly see the HTTP request for 
doesNotExists.cfm then another one, the CF redirection, for the root /
But in this issue, the request is directly made to /, just like if there was no 
address in the SCR attribute.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353461
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Weird problem with IFRAME

2012-12-14 Thread Maureen

If this is exact code, it looks like you need a space between
mondossier.cfm and type=#type#

IFRAME SRC=monDossierEdit.cfm? type=#type# WIDTH=950 HEIGHT=650
FRAMEBORDER=STYLE=position:relative; NAME=admin/IFRAME

On Thu, Dec 13, 2012 at 2:13 PM,  wrote:


 Hi,
 One of my customers is having a very weird problem with an IFRAME in my
 site.
 Here is the code in file mondossier.cfm:
 IFRAME SRC=monDossierEdit.cfm?type=#type# WIDTH=950 HEIGHT=650
 FRAMEBORDER=0
  STYLE=position:relative; NAME=admin/IFRAME
 type is blank



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353488
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Weird problem with IFRAME

2012-12-14 Thread Claude Schnéegans

  it looks like you need a space between
mondossier.cfm and type=#type#

No, type here is a parameter in the url, not an attribute for IFRAME
IFRAME has no TYPE attribute anyway, only SRC and NAME.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353489
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Weird problem with IFRAME

2012-12-13 Thread Claude Schnéegans

Hi,
One of my customers is having a very weird problem with an IFRAME in my site.
Here is the code in file mondossier.cfm:
IFRAME SRC=monDossierEdit.cfm?type=#type# WIDTH=950 HEIGHT=650 
FRAMEBORDER=0
 STYLE=position:relative; NAME=admin/IFRAME
type is blank

With all browsers, including my own Explorer it works perfectly.
This is the trace how it look in tje server log when the page works normaly:
GET 575 6742p=monDossier200 /index.cfm

GET 577 11549   type=   200 /monDossierEdit.cfm

showing that index.cfm?p=momDossier was called, then the iFrame called 
correctly monDossierEdit.cfm?type=

But in my client's case, here is what we get:
GET 543 7380p=monDossier200 /index.cfm

GET 543 37336   -   200 /

showing that the iFrame called the domain root instead of the url in the SRC 
attribute.

My site uses many iFRAMES else where in the system and the client has no 
problem with them, only with this one.

Any idea ?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353449
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Weird problem with IFRAME

2012-12-13 Thread Byron Mann

Think I ran into this before with relative paths without '/'

Try ./file.cfm

Byron Mann
Lead Engineer  Architect
HostMySite.com
On Dec 13, 2012 2:14 PM,  wrote:


 Hi,
 One of my customers is having a very weird problem with an IFRAME in my
 site.
 Here is the code in file mondossier.cfm:
 IFRAME SRC=monDossierEdit.cfm?type=#type# WIDTH=950 HEIGHT=650
 FRAMEBORDER=0
  STYLE=position:relative; NAME=admin/IFRAME
 type is blank

 With all browsers, including my own Explorer it works perfectly.
 This is the trace how it look in tje server log when the page works
 normaly:
 GET 575 6742p=monDossier200 /index.cfm

 GET 577 11549   type=   200 /monDossierEdit.cfm

 showing that index.cfm?p=momDossier was called, then the iFrame called
 correctly monDossierEdit.cfm?type=

 But in my client's case, here is what we get:
 GET 543 7380p=monDossier200 /index.cfm

 GET 543 37336   -   200 /

 showing that the iFrame called the domain root instead of the url in the
 SRC attribute.

 My site uses many iFRAMES else where in the system and the client has no
 problem with them, only with this one.

 Any idea ?


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353450
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Weird problem with IFRAME

2012-12-13 Thread Claude Schnéegans

 Try ./file.cfm

Ok, I tried, but it makes no difference.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353451
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Weird problem with IFRAME

2012-12-13 Thread Byron Mann

Is it possible the IFrame src is getting redirected to the root
because the user is not logged in?

On Thu, Dec 13, 2012 at 4:14 PM,   wrote:

  Try ./file.cfm

 Ok, I tried, but it makes no difference.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353456
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm