Reply to Re: PHP, IFRAMES, AND ASP

Your name:

Reply:


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

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация