Google phone opens up a small widget on the right of Gmail and stays there. Even when navigating to other emails or composing at email (similar effect is achieved I believe by Facebook chat).
Are they using frames? I hope not.
I need to keep some images open while the user navigates other parts of the application so using the approach of google to place my image holders would be ideal.
I'm not familiar with google phone, but maybe an iframe is what you are after:
http://www.w3schools.com/tags/tag_iframe.asp
It's an inline reference to another document.
Related
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.
I have a google map which is hooked up to a fusion table. Its pretty basic, lists street address, phone, and branch #.
I recently got a request though to add current weather to the info window that appears when a user clicks on a map marker.
Initially I thought I could just iframe this in, but it appears that google strips that HTML out of the info window when I add it in. I guess only basic html is allowed.
Does anyone know a way to throw dynamic content into that info window box or a way to get around google stripping out the iframe code?
The only iFrames I can get to work in fusion table map windows or cards are youtube embeds. Other iframes appear to get srtipped out as you say. It would be a good feature to be able to have universal iframe content instead of just google products.
I have create a html5 banner using Google Web Designer following pretty much all the guidelines (https://support.google.com/webdesigner/answer/3261498?hl=en&ref_topic=3261495&rd=1).
I published it locally and uploaded to google adwords campaign as an Image add. In my banner there is a simple form for the user to enter basic details and submit it. So i have just one event on submit button. All good so far. After i uploaded the banner to google adwords, when i tested the banner the whole banner is clickable for some reason. Somehow google is appending a click event on the whole banner.
But according to docs (https://support.google.com/adwordspolicy/answer/176108?hl=en)
"HTML5 ads that are not created in Google Web Designer are, by
default, clickable on the entire area of the ad."
I used google web designer for this specific reason still i see the entire area clickable. Any ideas or suggestions or references would be great.
Thanks.
In Code view, add a higher z-index to the submit button so that it sits above the exit element.
I published it locally and uploaded to google adwords campaign as an Image add.
I think you should try to find a way to not upload as an Image Ad.
Google Adwords requires an exit/destination URL when you upload an ad on their platform disregarding what type of ad you upload.
That URL is assigned to your whole ad.
What you need is DoubleClick account. DoubleClick for advertisers will allow you specific button exits/destination URLs.
So using the Google Chrome Top Sites api has values for the url and the title, but when you load the default google chrome page it also has an image of those sites, is there any way to get that sort of image for an extension? If not how does google get that image and how can you get an image of the the user's top viewed website?
Since that it isn't possible to get a screenshot of a page without loading it inside a tab, Chrome is simply getting those screenshots while you're browsing your favourite sites. You can tell this easily because sometimes sites and images do not coincide (e.g. sometimes my facebook.com top site has the image of my profile page, but links to the home).
Then, if you want your screenshots of the Top Sites, you'll have to start without screenshots, and create them while the user browses the web by using the chrome.tabs API to check when a tab loads one of the Top Sites (listening to the event onUpdated), and get a screenshot of that tab using captureVisibleTab.
NOTES: make sure that you've requested the permission for "<all_urls>" in your manifest, which is required for captureVisibleTab to work. Additionally, you may find this question and its answer helpful.
It's unfortunately not possible*. Chrome stores those thumbnails internally in URIs not accessible from an extension.
There is an existing feature request: https://code.google.com/p/chromium/issues/detail?id=11854
If you look at the comments, one of the main use cases is to access site thumbnails to replicate the New Tab page.
Do star the feature request above to raise its priority if you want this functionality implemented.
* By that I mean that it's not possilbe to access Chrome's own internal store of thumbnails.
Furthermore, as Marco suggested the way to replicate that would be tab capture, but you can't do it "in the background" for privacy reasons - a user must make an explicit gesture (e.g. click the extension's button, press a shortcut, etc.) to perform capture.
Marco's answer is valid now, captureVisibleTab should be accessible upon events. But yes, as of now Chrome forces you to have very broad permissions and maintaining your own thumbnail store.
When someone navigates to a particular page with a google web form on it, the browser automatically jumps down to the google web form near the bottom of the page.
Website URL
Any ideas on how to keep it at the top of the page?
Thanks!
Jeff
Its due to the a field in the form getting focus, if you can stop that it wont jump down.
I've had a look at google forms and it doesn't look like there is a way to configure it not to set focus, you could try some custom javascript to stop it.
I can see from the URL shared that the original user's issue is now resolved, but fyi for others seeking a solution, if the Google Form is embedded via an iFrame, or you're using a custom HTML form to post answers to a Google form via the target of an iFrame, and this jumping occurs, changing the src='' of the iFrame to src='about:blank' worked a treat to eliminate any jumping of the page.