473,770 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Menu Control-expanding child items cause browser scroll bars to ap

We are using the ASP:Menu control (horizontal) for site navigation. The menu
is contained by a table with css styles that allows us to give the illusion
of a menu bar that runs the entire width of the page. This table also has
additional right aligned cells on the same row for such things as logging out.

When the child menu items are displayed by the mouse hovering over a menu
item, the width of the web page is apparently increasing, because the
resulting displayed child menu items results in both the horizontal and
vertical scroll bars of the browser to appear. Setting the width of the table
cell that contains the menu control to some appropriate width does not
prevent this from happening.

The above affect results in the scroll bars coming and going as the menu
items are shown and hidden - clearly not a pleasing UI experience.

Has anyone run into this before??

--
-jojobar
Jul 13 '06 #1
0 1370

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1381
by: allen | last post by:
If I create a control library control (and change the base control from usercontrol to control). Add that control to the toolbox, then add that control to a windows form. Then add a context menu to the control. Within the control, how do you tell when a context menu has been instanced? I don't see any overrides I can work with. Trapping the mousedown and up doesn't help much either because you can have multiple mouse up events if...
3
1112
by: Mattdef | last post by:
Hello, I would like to use the menu at : http://www.aspnetmenu.com How can I integrate the menu in my existing pages without using frame? Is this possible to use a user control? i tried to use this menu in user control but i obtain an error message : 1 form runat server per page
4
2703
by: spx27 | last post by:
Does anyone know the best way to handle passing a dynamic menu generated from a login from one asp.net page to another. Would it be better to recreate the menu on each page? Save the menu as a string into a session variable upon login? Any other way to do this I may be missing? This menu is part of an intranet. The user logs in, checks SQL database for folder permissions, then scans web directories for all folders which match permissions...
4
2684
by: Mark Parter | last post by:
I have a master page which contains a Menu control and a SiteMapPath control, both are bound to the same web.sitemap XML file. Say I have 2 pages, Page 1 and Page 2. Now Page 2 can only be accessed after selecting some information on Page 1 (using a CrossPagePostback). When the user get's to Page 2, the SiteMapPath control fails to render, obviously because Page 2 isn't in the web.sitemap file. If I put Page 2 in the web.sitemap file, it...
3
1257
by: Tumurbaatar S. | last post by:
All pages of my site contain a menu bar. This menu bar is some web control (Aspxlab's BaseMenu). When adding a new page I simply copy this bar from old page and paste it on the new one. So all my pages contain same control. The problem is that when I need to make changes to the menu, I have to edit all my pages. Is there a way to exclude this menu from my pages, put it in a separate file and reference it from pages thru some link/method?...
2
3039
by: mike | last post by:
asp.net 2.0 provide us menu control or tree control that's why i'm gonna use this control to display sub menu. when i click root menu on top of my website i'd like to show sub menu of root menu. for example, may be main menu is like this ------------------------------------------- home | music | movie | help ... -------------------------------------------
6
1952
by: dpomt | last post by:
I have a quite strange problem with the Menu control. I have ten languages and each language has a SiteMapDataSource and a Menu. For better performance, I am creating a hashtable (language -> (Menu, SitemapDataSource)) and holding this hashtable in the Cache object. On each page request, I am inserting the menu corresponding to the specified language to page. Hence, DataBinding is only done once per each language (when inserting the Menu...
11
1718
by: Rickie | last post by:
Dear fellow software engineers, Is the web menu in asp 2.0 essentielle a useless control ? How many people( including msdn itself) are using server menu controls? Its a menu which always postback to server, which cant be caught on the event of a menuitem. Wouldnt we rather use other ways of making menus which are essentially clientsite ? With its postback its certainly not high on usebility. Then we have to use ajax or javascript...
2
11690
by: Lucky | last post by:
hi guys, i'm working on the context menu for the controls. the problem i'm facing right now is like this : i want to use one context menu for more then one controls lets say i want to use one context menu for 3 treeview controls as 3 of them shares same type of menu. what i'm not able to do is, i can not idetify which control has invoke the context menu's event. let say one of the treeview control has invoke an event "Reset" from the...
8
2084
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
I created a user control that handles certain keystrokes, e.g. Ctrl-C for cut, Ctrl-V for paste, plus other more specialized keystrokes. I want to list these in the menubar like any other menu items. Once I assign a Shortcut Key to the menu item, that menu sees the event before the control, as one would expect. The question is, then, inside the menu item handler what code do I need to pass on the keystroke to a control? This is slightly...
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10257
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.