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 !!!!!!