Portal Home > Knowledgebase > Articles Database > From where we can request an enhancement for HTML or javascript?
From where we can request an enhancement for HTML or javascript?
Posted by BM136, 07-22-2010, 05:53 AM |
Hi,
From where we can request an enhancement for HTML or javascript?
I want to request a solution for iframe height issue when iframe source has not the same domain with the parent page
Is that possible?
|
Posted by centauricw, 07-22-2010, 10:52 AM |
Not really. HTML is controlled by the World Wide Web Consortium (w3c) and JavaScript by the ECMA. Changes to either is long, detailed process that is controlled by a committee of various groups that have a vested interest in the language. The process to release a new version generally takes months or years.
It's doubtful that any change you might want would even be considered.
|
Posted by bobbravo2, 07-25-2010, 04:35 PM |
Sounds like you need to use JavaScript to code a solution. The big thing with including content from another domain is security. You may have issues with different browsers security settings.
|
Posted by BM136, 07-26-2010, 01:05 AM |
I have access for the contents of two pages, I tried everything can be done. but there is no solution for this issue
|
Posted by Driver01, 07-26-2010, 03:55 AM |
This sounds like a security standard and not an issue, what you are trying to achieve would be an unsafe practice in javascript.
Last edited by Driver01; 07-26-2010 at 04:04 AM.
|
Posted by BM136, 07-26-2010, 07:20 AM |
I'm trying to set a dynamic height for an iframe depends on the content page height while they have different hosting
I searched a lot for a solution and nothing worked
|
Posted by Driver01, 07-26-2010, 07:36 AM |
document.domain, try googling it, but you must understand and keep in mind the security implications so not to open your site up to cross-domain vunerabilities.
also this is a good post about the subject:
http://www.dyn-web.com/tutorials/iframes/#access
Last edited by Driver01; 07-26-2010 at 07:50 AM.
|
Posted by BM136, 07-26-2010, 08:12 AM |
I tried it and read many articles, it works when using iframe that in hosted in a subdomain of the parent page, not for different domains. Thanks a lot for help, and I will read the article, I may find some hope
|
Posted by sasha, 07-26-2010, 09:31 AM |
You can setup "proxy" script on the same domain where the rest of the page is, so your iframe would not have src="someotherdomain..." but rather "mydomain/proxy.script".
That proxy.script would fetch and return content from the other domain.
If the iframe content is very interactive (cookies, sessions...) this could get very complex very quickly. If content of your iframe is just content, this would be rather trivial thing to do.
It is possible to open your site to all kinds of security problems is this is not done correctly.
|
Posted by BM136, 07-26-2010, 09:49 AM |
Thanks Sasha,
Actually, I don't have any idea about proxy, but I can learn it.
will that work of the iframe src is secured link (starts with https://....)?
|
Posted by stuarts, 11-10-2010, 12:27 AM |
HTML is controlled by the World Wide Web Consortium (w3c) and JavaScript by the ECMA. I think you need to use JavaScript to code a solution.
|
Posted by BurakUeda, 11-10-2010, 03:08 AM |
If you own both domains, there was a solution involves JavaScript coding.
You change the "src" attribute of the iframe, same page but only adding a URL query string. Something along those lines, cannot recall 100%
|
Add to Favourites Print this Article
Also Read
Apache ASP (Views: 735)