I am trying to build a menu where clicking on a menu button will have a white bar appear above that button when the page loads so the user knows what page they are currently on by looking at the menu. I have tried using the graphical menu for the basis of my menu and then have placed white rectangle boxes on top of all the buttons. I then use the events sections in the graphical menu options and use onclick show the desired rectangle while hiding the other rectangles. When I do this the link becomes nonfunctional, so I added an onclick link event. Now the link works but when the page loads the rectangle I want to stay above the menu button disappears after the page loads. I suspect the reason is because when the new page loads the onclick event has not occurred therefore the events to show and hide rectangles are not run. I tried making an onload event for each page to show and hide the rectangles but they are not selectable objects in the drop down list. I am using a masterpage system for this menu.
There is a more simple solution. Just make your masterpage placeholder big enough to cover your menu. Then in each page, place one rectangle above the menu of that page. There is no need for that link to work since you are already on that page. You could make your menu partial transparent and place the rectangle beneath it. In that case the link will keep working. I did something similar on this site: www.wereldboom.com
Thanks...used Petran's solution works well (take a look if you like: www.drjohnkania.com), unfortunately don't have much knowledge of php,css or asp maybe when I have some time I will look into studying it...
Thanks...used Petran's solution works well (take a look if you like: www.drjohnkania.com), unfortunately don't have much knowledge of php,css or asp maybe when I have some time I will look into studying it...