The Iframe framework references the hyperlink pulling process in an external webpage.

Source: Internet
Author: User
The Iframe framework references the hyperlink processing in external webpages. I used iframe in the html file to reference an external webpage, which contains a list of articles, each article title has a hyperlink that can be linked to the article content. I now have the source code in the article content. the requirement is as follows:

The style of the original article content page is different from my requirements. how can I deal with it so that its hyperlink can be connected to the article content page I have modified?


Reply to discussion (solution)

The src of iframe needs to be transferred to an external webpage through your server
After you obtain external webpage content on the server, modify the connection to point to your server

The src of iframe needs to be transferred to an external webpage through your server
After you obtain external webpage content on the server, modify the connection to point to your server

Er, it won't be modified. Can the content of the webpage referenced after modification be displayed?

The src of iframe needs to be transferred to an external webpage through your server
After you obtain external webpage content on the server, modify the connection to point to your server

I have also consulted others before, because this is an article display, he gave me the source code of the content page pointed to by the article title, I just need to change the source code to what I want and put it in the root directory. The Display pages I wrote with TP are all html files, and the source code is php files ...... I don't know how to change it.

For example, your iframe address is http://www.a.com/list.php
And your page address is http://www. B .com/
First, you put the source code in a page, such as http://www. B .com/list.php
Then, change the iframe src of iframe to http://www.a.com/list.php to http://www. B .com/list.php.
Then modify the style in list. php.

For example, your iframe address is http://www.a.com/list.php
And your page address is http://www. B .com/
First, you put the source code in a page, such as http://www. B .com/list.php
Then, change the iframe src of iframe to http://www.a.com/list.php to http://www. B .com/list.php.
Then modify the style in list. php.

Although it looks a little dizzy, I should try it first.

For example, your iframe address is http://www.a.com/list.php
And your page address is http://www. B .com/
First, you put the source code in a page, such as http://www. B .com/list.php
Then, change the iframe src of iframe to http://www.a.com/list.php to http://www. B .com/list.php.
Then modify the style in list. php.

Er, I just tried it. I used the TP framework as a whole. I reported an error and said it was an illegal operation !!!!!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.