Website Navigation current page highlight design-PHP source code

Source: Internet
Author: User
Highlight the current page in the navigation bar of the website

The current page of a website refers to the web page currently browsed by the user. the current page is highlighted in the navigation bar and partitioned with other pages. This shows the details of the current page design, the user experience is added and the code is very simple. the code displayed here is used in ecms. in the code, $ cu = "cu" refers to the css style of the current page,
Method: Copy the following code to the Empire and use [! -- Temp. header --], and distinguishes the. cu style from other styles in css. 1. [Code]Ecms top-level bar navigation highlighted
[E: loop = {"select classid, classname from {$ dbtbpre} enewsclass where bclassid = 0 order by myorder, classid asc", 0, 24, 0}]

 
  • ">
  • [/E: loop]

    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.