Home > Article > Web Front-end > Keep your menu on your website_javascript tips
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();