Hello,
I'm building an application that will be incorporated into existing
websites. I'd like to use the IFrame tag to accomplish this, but now I'm
having second thoughts based on all of the negative comments I've seen
regarding IFrames.
Is there an alternative method to allow a page to seamlessly access another
site?
-gsl 3 1529
Because of cross-site scripting (XSS) restrictions, even using XMLHTTP won't
work with all browsers. For example in Internet Explorer if the target site
is in the IE Trusted Sites zone, requesting content is allowed. In Firefox,
there is no way to get content from another site than the server from which
the page was served.
Maybe you could provide more detail about what it is you want to accomplish.
Javascript is often used to provide content from other sites.
Peter
--
Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
"GSL" wrote: Hello,
I'm building an application that will be incorporated into existing websites. I'd like to use the IFrame tag to accomplish this, but now I'm having second thoughts based on all of the negative comments I've seen regarding IFrames.
Is there an alternative method to allow a page to seamlessly access another site?
-gsl
My thought is that the IFrame content will be completely independent of the
main site (no cross-site communication). So, once the user navigates to the
page on the main site that contains the IFrame, they will interact
exclusively with the IFrame content. The application (which appears in the
IFrame) will use AJAX, but within it's own domain.
Thanks,
gsl
"Peter Bromberg [C# MVP]" <pb*******@yaho o.nospammin.com > wrote in message
news:B5******** *************** ***********@mic rosoft.com... Because of cross-site scripting (XSS) restrictions, even using XMLHTTP
won't work with all browsers. For example in Internet Explorer if the target
site is in the IE Trusted Sites zone, requesting content is allowed. In
Firefox, there is no way to get content from another site than the server from
which the page was served.
Maybe you could provide more detail about what it is you want to
accomplish. Javascript is often used to provide content from other sites.
Peter
-- Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com
"GSL" wrote:
Hello,
I'm building an application that will be incorporated into existing websites. I'd like to use the IFrame tag to accomplish this, but now
I'm having second thoughts based on all of the negative comments I've seen regarding IFrames.
Is there an alternative method to allow a page to seamlessly access
another site?
-gsl
thats what iframe (or frames) are designed for. be careful of using targets
like "_top", or postbacks can replace the parent page.
an issue with using an iframe over frame, is if the parent page posts back,
your iframe will be reloaded with the original source (a get), so you need
to be careful about maintaining state.
-- bruce (sqlwork.com)
"GSL" <Gu***********@ gmail.com> wrote in message
news:Us******** ************@co mcast.com... My thought is that the IFrame content will be completely independent of the main site (no cross-site communication). So, once the user navigates to the page on the main site that contains the IFrame, they will interact exclusively with the IFrame content. The application (which appears in the IFrame) will use AJAX, but within it's own domain.
Thanks, gsl
"Peter Bromberg [C# MVP]" <pb*******@yaho o.nospammin.com > wrote in message news:B5******** *************** ***********@mic rosoft.com... Because of cross-site scripting (XSS) restrictions, even using XMLHTTP won't work with all browsers. For example in Internet Explorer if the target site is in the IE Trusted Sites zone, requesting content is allowed. In Firefox, there is no way to get content from another site than the server from which the page was served.
Maybe you could provide more detail about what it is you want to accomplish. Javascript is often used to provide content from other sites.
Peter
-- Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com
"GSL" wrote:
> Hello, > > I'm building an application that will be incorporated into existing > websites. I'd like to use the IFrame tag to accomplish this, but now I'm > having second thoughts based on all of the negative comments I've seen > regarding IFrames. > > Is there an alternative method to allow a page to seamlessly access another > site? > > -gsl > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Thomas |
last post by:
Hi there,
I have an iframe which is editable (designMode = "on") and want to
resize it dynamically as the content grows (e.g. more lines of text is
in there) and there the struggle starts.
I fill the iframe with content (<body> tag and so on and also insert a
<div> tag, inbetween is the content that should be modified).
Now if the event "overflow" or "underflow" is triggered the iframe
|
by: Alexandre Jaquet |
last post by:
Hi I wanna know how can I reload an iframe does I've to move my iframe
into another form an do a submit or may I can do it by another way
rigth now I'm been doing :
my form name is mainform and my iframe name is preview
function urlRewrite () {
...
this.document.mainform.preview.src = 'xxxx';
}
|
by: SF RVN |
last post by:
I have searched NUMEROUS sources in an effort to find the magic
(script, styles, syntax, etc.) that will allow me to create a web page
with the following format:
|----------------------------------------------------------------|
| Discrete table used as 'banner' |
| DONE! |
|----------------------------Table 1-----------------------------|
...
|
by: Patrick.O.Ige |
last post by:
Can i use Frameset in ASP.NET?What are other options
I have a question :-
I have an asp.net page and i'm using TreeView control as links
The links are on the left side of the page inside a iframe! I used iframe
b-cos the links are too long and they shift the page to the right.
Is there a way that if a user clicks a link on the Treeview it can target to
the table of the main window on the right (I DOUBT IF ITS POSSIBLE)
What other ways are...
|
by: paul |
last post by:
HI! How do we send a variable from an Iframe page back to its parent?
I have a script that calculates the iframe's window size but I need to know
how to send that value back to its parent so I can use it there.
Thanks in advance :)
Paul
| |
by: ukrbend |
last post by:
I use an iframe on my home page and everything works perfectly. But
now I decided to add a popups to my page. The popups come not from
within the iframe but from the parent frame. Again, everything
regarding the popup works perfectly, it pops up with the correct data.
But the strange thing is now any link that targets the iframe simply
get ignored and instead of displaying things in the iframe they get
displayed in a new browser window...
|
by: javainfo |
last post by:
How can i refresh IFRAME and load data through AJAX?
|
by: BerlinBrown |
last post by:
Do you know if it is possible to wait for the iframe page to load and
then manipulate the iframe DOM.
E.g.
mypage:
<script>
function myinit() {
theiframe.location = "iframe_with_frames.html"
waitforiframe() {
theiframe.frames.location ="mynewpage3.html";
|
by: mem |
last post by:
Hello,
I'm a novice at this and am trying to solve a problem reference IFrame. The following code is for a page I've created. It works well with two exceptions. The IFrame is an application hosted by a third party that has no problem with me framing their page. The problem is when the user reaches the end of the first IFame page and clicks continue which reloads the IFrame to page 2 of a total of 4. Each time the Iframe page changes the main...
|
by: vunet |
last post by:
It is recommended by some sources I found to create IFrames in IE
using
document.createElement('<iframe src="#">')
instead of document.createElement('iframe').
Why and what browser versions to use it? IE5 or IE6?
Thanks
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |