# Menu problem, noob in AS

**URL:** <https://forum.kirupa.com/t/menu-problem-noob-in-as/216242>\
**Category:** Uncategorized\
**Created:** [February 14, 2007, 8:17pm UTC](https://forum.kirupa.com/t/menu-problem-noob-in-as/216242 "2007-02-14T20:17:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tulling2](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tulling2](https://forum.kirupa.com/u/tulling2)\
**Post date:** [February 14, 2007, 8:17pm UTC](https://forum.kirupa.com/t/menu-problem-noob-in-as/216242/1 "2007-02-14T20:17:27Z")

</div>

I am making a menu for a website that contains 5 different subsections, each with an individual searchfield in html. When you start up the site, the “main” section is selected in the menu.  
My problem is when you select a different section, and you hit search, the whole page reloads so that the flashmenu is turned back to “main” while the site still is in the section selected. Unfortunately I can’t do much about the HTML and the way the site is built(I can push parameters though).  
IS there a way to control the menu so that it “detects” which section is loaded?

The whole site is built so that each section has its own subdirectory, [www.domain.com/section1](http://www.domain.com/section1), [www.domain.com/section2](http://www.domain.com/section2) etc.

The menu is made very easy, flipping between 5 frames containing the different selected menubuttons.

Can anyone help?
