Google Answers Logo
View Question
 
Q: How can I embedd html in another html and avoid the problems of iframe ( No Answer,   2 Comments )
Question  
Subject: How can I embedd html in another html and avoid the problems of iframe
Category: Computers > Internet
Asked by: sharon_de_salmon-ga
List Price: $10.00
Posted: 16 Jun 2006 09:50 PDT
Expires: 20 Jun 2006 23:34 PDT
Question ID: 738715
I am trying to embedd html of a known site in another html.
I am using IFRAME for that.
it seems like there are some problems with it:
1. some links from the iframe replace the whole page instead of just the iframe
2. some clicks dont take effect in the iframe (while they do in nornal page)

I thought maybe I can use IE activex inside the page, it doesn seem to
be very good solution but maybe there is no alternative.

I want to know if and what are the ways to overcome the problems i had mentioned.

Clarification of Question by sharon_de_salmon-ga on 17 Jun 2006 12:16 PDT
with IE ActiveX object I managed to add such object to teb page but I
can't chane the URL from javascript or vbscript ( i get permission
deniad ).
anyway AxciteX is the last resort for me, but if there is no choice I
want examples hot to controll it with javasript (or vbscript)

Clarification of Question by sharon_de_salmon-ga on 20 Jun 2006 07:48 PDT
o.k. 
I prefer not to use IFrames rather Activex or .NET controll
I tried to build .net control (UserControl) that include WebBrowser control
but it doesnt work on the web page
it seems like it has problem when i use the WebBrowser in it because i
succeeded to make simple control (text box and button) and show it on
the web page.
I think it is somthing with permissions .........
Answer  
There is no answer at this time.

Comments  
Subject: Re: How can I embedd html in another html and avoid the problems of iframe
From: pixeltarian-ga on 18 Jun 2006 03:27 PDT
 
have you used PHP much? I know you can load PHP data into a page. but
you will have to save both pages as .php instead of .html

cutenews does this quite well, and you don't have to know anything
about php to use it.

http://cutephp.com/
Subject: Re: How can I embedd html in another html and avoid the problems of iframe
From: dyknight-ga on 20 Jun 2006 06:11 PDT
 
I don't think there is a way to overcome that unless you have
administrator rights to the other site. Let me explain.

For problem 1.some links from the iframe replace the whole page
instead of just the iframe:
My hunch is that the site you are trying grab uses some kind of
framset as well. As a result, the links on that page uses the
attribute "target='_parent'" or "target='_top'" instead of
"target='_self'". Therefore, the links open in the main window and
replaces the whole page. You can't change it even if you use php.

For problem 2.some clicks dont take effect in the iframe (while they
do in nornal page):
These links probably uses some javascript that don't work on your
site, probably because of variable clashes etc.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy