Nested page

Development tools and key technologies: vs, MVC
Author: Chen Xingyu
wrote Time: April 1

When we project huge, too much need to play page code, we may wish to use a nested method code
assigned to operate another page, the code seems too long without
Here Insert Picture Description
this modal box, we just put the basic framework to write about
and then use an iframe tags to be nested role
so that the code appears to be not very clean

Then we can add a View in the controller ();
Here Insert Picture Description
to write the writing we need modal box codes, and the operation mode of the frame,
let us see what to write out the book tag frame but also
Here Insert Picture Description
is not seem a lot, so that we may need to write to the main page of HTML into nested approach another view, to make the code change the main page of neat, but also to the main page of this team need to approach modal box wrote this to view, js the code of the main page also reducing the number of
role, of course, you can not add a label to jump, we have to write in the script in such a way
Here Insert Picture Description
to nest pages
we also need
Here Insert Picture Description
such a button call and add a click event,
then click the button on the page can be nested, and jump modal box

Guess you like

Origin blog.csdn.net/tianxiu11/article/details/89070790