473,654 Members | 3,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Google Map API + MasterPage + Menu :-(

Hi,

I have a masterpage with a menu on the left (ASP.NET 2.0 menu
control).

I then have my content pages and my homepage does host a Google map.

EVERYTHING works just fine (after some extensive research) however:
- the masterpage loads first
- therefore, the menu loads
- the content page is loaded
- the Google Map DIV loads AFTER the menu

Result: When I expand the Menu (MenuItem1->MenuItem1.1) , MenuItem1.1
goes UNDER the map DIV :-(

I did try all possible Javascript focus() fonctions and combinations
but no luck.
I did try the ajaxToolkit:Alw aysVisibleContr olExtender control as well
but it also goes below the Map.

I'm lost!

I suppose that the solution is to set the focus to the menu itself
(Menu1) or the div tag (sidebar).
I just don't see how to do it.

I can provide the code if you want but it should not be usefull.

Thanks in advance for your help.

Regards,
Apr 5 '08 #1
2 2239
On 5 Apr, 22:41, nrietsch <nriet...@msn.c omwrote:
Hi,

I have a masterpage with a menu on the left (ASP.NET 2.0 menu
control).

I then have my content pages and my homepage does host a Google map.

EVERYTHING works just fine (after some extensive research) however:
- the masterpage loads first
- therefore, the menu loads
- the content page is loaded
- the Google Map DIV loads AFTER the menu

Result: When I expand the Menu (MenuItem1->MenuItem1.1) , MenuItem1.1
goes UNDER the map DIV :-(

I did try all possible Javascript focus() fonctions and combinations
but no luck.
I did try the ajaxToolkit:Alw aysVisibleContr olExtender control as well
but it also goes below the Map.

I'm lost!

I suppose that the solution is to set the focus to the menu itself
(Menu1) or the div tag (sidebar).
I just don't see how to do it.

I can provide the code if you want but it should not be usefull.

Thanks in advance for your help.

Regards,
There is a Style attribute named z-index which refers to a third
(imaginary) dimension perpendicular to the plane of the screen. This
enables different objects (such as DIV tags) to be placed above or
below one-another.

HTH
Apr 5 '08 #2
On Apr 5, 11:36*pm, Stan <goo...@philpha ll.me.ukwrote:
On 5 Apr, 22:41, nrietsch <nriet...@msn.c omwrote:


Hi,
I have a masterpage with a menu on the left (ASP.NET 2.0 menu
control).
I then have my content pages and my homepage does host a Google map.
EVERYTHING works just fine (after some extensive research) however:
- the masterpage loads first
- therefore, the menu loads
- the content page is loaded
- the Google Map DIV loads AFTER the menu
Result: When I expand the Menu (MenuItem1->MenuItem1.1) , MenuItem1.1
goes UNDER the map DIV :-(
I did try all possible Javascript focus() fonctions and combinations
but no luck.
I did try the ajaxToolkit:Alw aysVisibleContr olExtender control as well
but it also goes below the Map.
I'm lost!
I suppose that the solution is to set the focus to the menu itself
(Menu1) or the div tag (sidebar).
I just don't see how to do it.
I can provide the code if you want but it should not be usefull.
Thanks in advance for your help.
Regards,

There is a Style attribute named z-index which refers to a third
(imaginary) dimension perpendicular to the plane of the screen. This
enables different objects (such as DIV tags) to be placed above or
below one-another.

HTH- Hide quoted text -

- Show quoted text -
Well done! Thanks a lot.

That worked just fine.

Low z-index on the map div and hight one on the menu control....

ISSUE SOLVED.
Apr 6 '08 #3

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

Similar topics

5
3733
by: Fuehner | last post by:
I have a masterpage define that contains a asp:menu control. My menu control has items that do not have a NavigateUrl assigned which causes them to postback on the current page... Now the issue is that when they postback the MasterPage is rendered last and the MenuItemClick event on the menu control doesn't fire until after the Page_Load event fires... How can I capture the MenuItemClick prior to the Page_Load...
2
7680
by: dawg1998 | last post by:
I have a page that creates dynamic textboxes based on the number of fields a user chooses to fill out. This process worked great when the page was standalone. However, when I move to a Content/MasterPage setup, the MasterPage Form seems to be interfering with the ability of my code to retrieve the value in the dynamic control. Are there any ideas on why this is happening or how to work-around the problem? What is the syntax to find a...
0
1098
by: VB Programmer | last post by:
I used Photoshop/Image Ready to create rollover buttons (for a nav menu). They work great. But, when I take the html, including the javascript and put it in a MasterPage, when I view the page (based on the Master) the rollovers don't occur. Any ideas why? Is the Javascript supposed to work even when in a Master Page? Here's the partial HTML for the master... The javascript was created automatically in Image Ready, so not to much of...
3
4068
by: MRW | last post by:
I have a simple linkbutton and a function when it's clicked. It works perfectly in a regular .aspx page. However, when I place it inside the ContentPlaceHolder, it no longer works. It does *something*, but certainly not the function, which is also in the ContentPlaceHolder. This is also true concerning any events in there. Any ideas? Thanks for any help!
17
4610
by: MeerkatInFrance | last post by:
There comes a time when you know you are not going to be able to work something out yourself, however hard you try. I have reached that moment. I have a master page and a slave page (or whatever one calls it) All I want to do is show a Google map on the slave page. The map that Google gives as an example when it gives you a key would be just fine. I have searched high and low for a means of doing this but all I could find
7
13030
by: Bon | last post by:
Dear all I create a master page with image buttons on the left-hand side for navigation. When a user clicks the student button, the content (i.e. ContentPlaceholder) in masterpage will be changed from default.aspx to students.aspx. I tried to create a subroutine in MasterPage.master.vb to do it. The code is as following. But, the default.aspx's content is shown in MasterPage even I clicked the student button.
2
9000
by: Frank Milverckowitz | last post by:
Hi, New to .NET... question about Masterpages vs. using Frameset I'm using Visual Studio 2005 and notice that the generated pages are of DTD/Doctype that don't support framesets. To use framesets I will be changing all pages to HTML 4.0 loose.dtd. I have a demand from my boss to use framesets to create a "keep-alive" feature using a parent frame + ajax call on a time interval. (i.e. have the
3
3520
by: Tor Inge Rislaa | last post by:
I have a MasterPage containing a TreeView menu. When clicking a menu item, a page is loaded into the ContentPlaceHolder. It seems like both the MasterPage and the page in the ContentPlaceHolder is refreshed when clicking the menu item. That might be how it is supposed to be, but the problem is that the menu in the masterpage returns to it's origin state where all the nodes are collapsed. Is there a way to avoid this from happening? ...
1
1798
by: =?Utf-8?B?bWFya203NQ==?= | last post by:
There is probably some simple answer to my question, but i'm still new to this a bit.. I have a master page.. with a menu system which is coded onto the masterpage.aspx... it uses A tags with hrefs etc.. the usual stuff.. I also have a sub section on the site.. where aspx files arent in the root.. ie: /rootfiles.aspx here.. then /subsection/subfiles.aspx The menu is fine and dandy with the usual relative references like <a
0
8816
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
8709
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...
1
8494
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7309
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...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2719
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
1597
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.