问题描述:

I am currently building this site in Bootstrap: http://arrowtownlodge.co.nz/home.html

As you can see, I am using dropdown menus. Is there a way to have the top level of the menu lead to a generic page which then leads the viewer to the sub level pages? I have applied a link to the Golf menu but it does not open the desired page http://arrowtownlodge.co.nz/arrowtown_golf.html

My other question is about how to embed a Google map showing the location. I have used my usual technique of an iframe but it does not load on my Contact page. What do I need to do?

网友答案:

Adding this will make all your links in the menu work the way you want it.

$(document).ready(function(){   
   $('.dropdown a.dropdown-toggle').click(function(){
       location.href = this.href;
   });
}); 
相关阅读:
Top