|
Posted by Julien Plιe on 08/12/07 19:05
Le Sun, 12 Aug 2007 11:42:09 -0500, Tim McGurk a Γ©critΒ :
> Okay, I am stumped.
>
> Client has a 3rd party provider of certain data that has to be displayed
> in an iframe on the client's site. The provider doesn't allow/provide
> any other means for using their application, so iframe is the only
> option (as far as I know- i am open to suggestions), and something
> strange keeps happening.
>
> Client site is written in PHP, 3rd party site is in ASP.net. code to
> show the 3rd party app is:
>
> <iframe src="http://XX.XXX.XXX.XX/ClientName/application.aspx"
> frameborder="0" style="width:500px;height:100%"></iframe>
>
> The problem is this:
>
> The first time the client's site loads, everything is fine. Sometimes
> the first two or three times.
>
> Then, for some reason, the client file starts dropping the opening
> iframe tag. I mean literally, the following: <iframe
> src="http://XX.XXX.XXX.XX/ClientName/application.aspx" frameborder="0"
> style="width:500px;height:100%"> keeps disappearing from the file.
>
> So, I don't know if this is a problem with my iframe tagging, something
> to do with the provider's code, or something with the PHP file which is
> to display the iframe.
>
> Any suggetions are greatly appreciated.
Hello Tim,
My guess is that there is no reason that an iframe disappear beacause of
PHP, nor becaause of the tagging. However, you still can draw the border
of iframe in red to look at what happens (reducing, hideing...).
Then, you may analyse the result of http://XX.XXX.XXX.XX/ClientName/
application.aspx in a seperate window. Take a look at the code
(especially any JavaScript crap resizing the window or something). You
can also try to disable scripts and see what happens (for example with
Firefox and NoScript extension).
Also, you may try to contact the provider, asking them whether this
behaviour is obviously a feature or not. (detailling the browsers you
tried it on).
Julien
Navigation:
[Reply to this message]
|