When I come across a title, all messages in the message system are inherently static, but I want to display dynamic content such as the number of visits on the static page. I have no good solution. Today, I suddenly thought, can I solve it through the Framework page?
When I come across a title, all messages in the message system are inherently static, but I want to display dynamic content such as the number of visits on the static page. I have no good solution. Today, I suddenly thought, can I solve it through the Framework page?
The basic ideas are as follows:
First, open a static page similar to 20050120.html, which displays messages and other content, and also contains the number of visits, such as the following content:
Origin: unknown announcement time: Visits: 21
Then I will include the above content in a PHP program, and then use iframe in the static page to call this page.
But now we have a new title. how can I submit the static page address and corresponding variables to this framework page for processing?
I asked experts to apply JS for processing:
For example, if the framework page id is iframe, on the large page onload = 'document. getElementById ('iframe'). form1.hidId = '000000''
So how can I get this hidId = '000000'? I also need to apply js. my idea is to use js to get the URL of this page and then extract it using a regular expression, for example, if my static page is named 20050120.html, I extract 20050120 and then pass the value to hidID. then, I pass the value to the Framework page, the corresponding PHP program can be processed and the corresponding results can be printed.
I have not implemented this method in detail, but I have some basic ideas.
Are you sure you have other methods, such as xmlhttp, but the current knowledge is limited and cannot be implemented? if you have a master who has a better solution, please leave it blank!