Home > Web Front-end > JS Tutorial > body text

Keep your menu on your website_javascript tips

WBOY
Release: 2016-05-16 19:25:42
Original
1082 people have browsed it

Do you want your forum, help and other systems to maintain the left frame menu? The following code can help you implement this function. No matter how you open the content page, the menu frame bar will also be executed at the same time.

Copy the following code to the content page. The top frame may need simple adjustment.
function GoFrame(){if (top == self){location.replace("/?url=" location.pathname location.search);}}
GoFrame();

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!