![]() Again, if you have control over the iframe, you could pass a variable along using the method above saying it's an iframe, and use the method below to get the URL dynamically. The only downside is you have no idea of knowing whether the referrer is an iframe or not. I tested this locally and it seems to work. That was because I was 'hiding' the fact that they were not part of the index page. In the first 2 examples frameborder was set to OFF. (scrolling'auto') and frameborder is set to ON. In this example scrolling is set to AUTO. The tag target attribute and the iframe name need to match. In the first 2 IFrame examples, scrolling was set to NO.You can rate examples to help us improve the quality of examples. The tag uses its target attribute to point to the iframe. These are the top rated real world PHP examples of iframe extracted from open source projects.![]() ![]() ![]() If you have control over the iframe itself, you could always pass variables along in the query string and access them using $_GET: A server-side script has no way of knowing anything about the client-side without the client side explicitly sending data, e.g.
0 Comments
Leave a Reply. |