The a tag in the HTML opens in a new window

Source: Internet
Author: User
Inside Head:
URL section: Change password
Right iframe frame:
How can I open a link in the window when I open it in the IFRAME of the parent page, not the effect of picture two? thinkphp


Reply to discussion (solution)


Really let people tangled pain ah, Baidu no answer

You're describing the right thing.
Look at the browser, it's not changed.

You're describing the right thing.
Look at the browser, it's not changed.



New window opened after the source changed, only show the Change password section of the

Of course, I want you to see the HTML before you click Connect, or how to find the problem?

The point is, how do you load the menu on the left?
1. What is the form of a single page template?
2. The Controller method contains a menu variable array, template Assig display?

This is the code for the body part.


Home
Title II Title III Title IV





Welcome {$username} login!
Exit

Background templates




    • {$v. DB_MINGC}








Of course, I want you to see the HTML before you click Connect, or how to find the problem?



This is the source of the view










Home
Title II Title III Title IV






Welcome Landing!
Exit

Background templates



    • Password modification

    • Notice inside the station










This is the code for the body part.


Home
Title II Title III Title IV





Welcome {$username} login!
Exit

Background templates




    • {$v. DB_MINGC}









A tag target= "iframe name", not _self .....
Like what: <br/> Exit </p> <p class= "Sougouanswer" > </p> <p class= "Sougouanswer" > You are still a template file! <br/> To know that the HTML document that the browser receives is the basis for the page effect <br/> <br/> did not see <base target= "iframe"/> <br/> Change Password &lt br/> <br/> Only see <br/> Home This is the new page <br/> Exit This is the current page <br/> {$v. DB_MINGC} Only this will accept the assignment of the base tag </ p> <p class= "Sougouanswer" > <p class= "yy" > The key is how do you load the menu on the left? <br/> 1. A single page template contains the form? <BR/> 2. Controller method contains a menu variable array, template Assig display? </p> <br/> <br/> <br/> I posted the code. </p> <p class= "Sougouanswer" > <p class= "yy" > <br/> <br/> <base target= "iframe"/> as required written in head <br/> 6 Floor code is the template body part code <br/> Loop Results Change Password (Change password to CHANGEPW) </p> </p> <p class= "Sougouanswer" > <p class= "yy" > You are still a template file! <br/> To know that the HTML document that the browser receives is the basis for the page effect <br/> <br/> did not see <base target= "iframe"/> <br/> Change Password &lt ; br/> <br/> Only see <br/> Home This is the new page <br/> Exit This is the current page <br/> {$v. DB_MINGC} Only this will accept the assignment of the base tag </p> <br/> <br /> <base target= "iframe"/> as required in the head inside <br/> 6 Floor The code is the template body part code <br/> Cyclic results Change Password (change password to CHANGEPW) <li ><i class= "Layui-icon" >& #xe63a;
Related Article

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.