dropdown horizontal menubar compatible with jQueryUI and google maps - google-maps

I have a strange situation (that is strange for me!)
My application uses jQueryUI modal div and simple google maps.
I need a horizontal dropdown menu and I tried countless of available dropdown menues but none of them work with the google map OR with the jQueryUI modal div.
I assume there are conflics in the .CSS or .js files.
Can anybody please point me towards a dropdown menu that will work with the google maps AND jQueryUI.
Any help is very much appreciated.
PS for me also JQueryUI and the google map do not work on the same .php file.
Thanks,
Carly

You can use this plugin - unless you need some very customized maps, it works great
Google Maps jQuery Plugin.
For drop down menu's I love the iPod style menu released by the Filament Group.
You can grab it here.
Let me know if there is any problem integrating all three. We have done this before so I know it works.
Cheers!

Related

Styling for google search app pages

I am currently working on a project and mobile design is great and works well except for when using the google search app.
I have buttons at the bottom of the page which work on all mobile browsers except on google search app. When clicking the buttons the bottom bar of the search app opens and doesn't allow click.
My answer is to move the buttons up with styling so that these will not interfere with the app but how do i apply the styling to move these specifically to the google search app app and not apply to all other mobile browsers?
can anyone help?
I would use PHP to check for the user agent. if it contains "PSA" it means it is the google search browser. you can then define an IF that will modify the CSS code in that case.

How to change styling of modal dialogue in google apps script

I want to change the position and background color of modal dialogue in google apps script for my addon
I have searched a lot but only found answers using UiApp which is now deprecated and no longer works. I found no answers for doing this using HtmlService.
Only available function in after createHtmlOutputFromFile('Index') are :
setWidth and
setHeight
which work perfectly but i need to change position of modal too.
Is there any way to do this at the moment?
Unfortunately, there is no way to change the position of the modal window. The sidebar dialog is also static. However, you can use CSS properties to control the look of everything inside the dialogs.
Here is a link to the best practices for developing add-ons: https://developers.google.com/apps-script/guides/html/best-practices

How to create a secondary slide-out in Google Doc add on side bar in Google Apps Script

I have a Google Doc add-on that utilizes the sidebar: no problem there. When one uses the Google research add-on, there is an secondary slide out from the sidebar that shows a preview of a search result (see picture below) when clicked. I am hoping to replicate this behaviour, but I see nothing about it in the api regarding size and limits. I tried having a tooltip pop up on my links in the sidebar, but they appear cut off or under the main Google Doc palette. I have tried a bunch of other Google Doc add-ons to see if any of them replicate this functionality, but they don't. Before I spend hours on this, I want to first ask is anyone know if this is specific permission for Google's sidebar only, or can developers replicate this functionality?
The Research Tool is a direct integration with Docs and Presentations, it's not a Google Apps Script add-on. The freedom to "slide out" within the document is not available to add-ons today.
As one alternative, you could use an accordion affect to collapse your "first page" and overlay the result page, still within the bounds of the sidebar.
A second alternative would be to use a non-modal window, where you'd have more freedom. (resizing there requires client-server exchanges, but is doable)

Google Maps API V3 Controls and Info Windows look weird

I'm trying to teach myself Google Maps API V3 and I'm stuck.
The default zoom controls are squashed. The info boxes have some stuff on the button and the close button is whited out.
Can you please look at my page: http://f1racingclutchsystem.com/index.php?route=information/information&information_id=6
Is it possible that some of the styles on the webpage are causing this?
This happens because your CSS. This same conflict happens when there are maps on sites that use Twitter Bootstrap.
In your case, this file catalog/view/theme/yooresponsive/stylesheet/responsive.css

How can i add tabs in google map info?

I want to add HTML tabs withdrawing current design of info window of google map. Something like this
I am going through OpenLayers API, but i am not sure how to achieve this.
Any suggestion?
I'm not sure what the programmer used to create that red Info Window in your screenshot.
However, InfoBubble is capable of creating tabs, and you can also customize its styles. Try the demos:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html/
You could also use Infobox and create the HTML to make it look like your example using Twitter Bootstrap + HTML.
I did this in my site and it worked great