Thinkphp Backstage Home Index use frameset when the analysis of considerations, thinkphpframeset_php Tutorial

Source: Internet
Author: User

Thinkphp Backstage Home Index use frameset when the analysis of considerations, Thinkphpframeset


HTML frameset tags are widely used in multi-window programming, especially in the background pages section of the project. This article is to analyze the thinkphp background index use frameset when the precautions. Specific as follows:

File path: aoli/admin/lib/action/indexaction.class.php

The code is as follows:

<?php class Indexaction extends action{public  function Index () {   $this->display ();  }  Public Function Top () {   $this->display ();  }  Public function Left () {   $this->display ();  }  Public Function Right () {   $this->display ();  }}? >

File path: Aoli/admin/tpl/default/index

The index.html page code is as follows:

              

Top.html (slightly)

Left.html (slightly)

Right.html (slightly)

Precautions:

when calling top.html,left.html,right.html, you should use the path __url__/to invoke the method instead of using __tmpl__/index/to invoke the template .

Interested readers can debug and run the examples in this article to understand the specific use of path invocation.


thinkphp313 Display page can not use frameset?

Class Indexaction extends Sessionaction {
System Home
Public Function index () {
$this->display ();
}
......
Is there a problem with this notation?
I remember not all the following notation (⊙_⊙)?
Class Indexaction extends Action {
System Home
Public Function index () {
$this->display ();
}
....
}

When PHP uses frameset to create a background interface, how do you do this by manipulating the left frame so that the page in the right frame jumps?

There will be a name for the right frame in the frameset (assuming value: rframe)
In the link to the left frame. Adding a target= "Rframe" allows you to click on the left link. Right page jump effect ...

http://www.bkjia.com/PHPjc/868232.html www.bkjia.com true http://www.bkjia.com/PHPjc/868232.html techarticle thinkphp Background Index use frameset when the analysis of considerations, Thinkphpframeset HTML FRAMESET tags in the multi-window program design has a wide range of applications, especially in the project background page ...

  • 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.