Google appmaker checkbox style broken - google-app-maker

This may not be the right place to ask but did Google update their style? Everything is whacky! And Regular and Dark styled checkboxes are not showing properly even though they do seem to assume values.
I don't see the changes in the templates, so maybe I did something wrong somewhere, but I don't recall messing with global styles or anything like that.
Can someone help me understand what is going on? Thanks
EDIT: Answer I found here takes care of adding the css to the particular page through javascript, so adding the code into the onAttach function of the page takes care of my issue.

Related

Anyone else seen standard Yes/No togglers fail to render in the Advanced Custom Fields Pro wordpress plugin?

I've never seen this one. Standard togglers, which can be seen on all field group pages, as well as UX on types like button groups, are failing to render the toggle box on load. Instead it just prints YesNo. The togglers still work, just you can't tell that they are doing anything.
There are no JS errors. No PHP errors. And I have disabled all plugins, and switched the theme back to the standard 20xx theme. I even deleted ACF Pro and copied a different one from another project that is working fine. Nothing changes. I still see the field rendered like the attached image. Beneath it is what it's supposed to look like.
Anyone else seen this or have ideas on what could be going on here?
I have suspicions maybe a left over setting or something in the database confusing things, or like a hook defined somewhere that is interfering. But I am unaware of any such hook that would interfere with something like this.

Disappearing whitespace when inspecting element in Chrome

I've got a super strange and hard to diagnose issue. Hoping that someone on this forum has run into it before. Basically, I have a wordpress + woocommerce page loading like this:
As you can see there is a lot of extra whitespace. The problem is I can't figure out where the whitespace is coming from because every time I inspect element, the page removes the whitespace immediately and it looks (correctly) like this:
If I keep the "inspect element" window open and refresh the page, the whitespace returns, but as soon as I change the CSS in any way whatsoever (ie remove a random attribute or change anything), the page once again fixes itself.
If I locate the area where the whitespace should be (by not changing anything), there is literally nothing there that the whitespace is attached to. It's as if it's invisible.
I'm using Chrome (34.0.1847.131 m). Any ideas what could cause this strange behaviour?
This seems like an issue, somehow being caused by javascript. I've worked with WC before, and the JS they use is really buggy. I'd suggest trying to turn off javascript, and see if the issue still occurs. The next place to check would be the template itself. After that, check woocommerces filter set/action hooks. From my experience, WC's templates are super badly done (Seriously, who still uses tables). It caused me all sort of weird headaches as well.

Disqus makes Cufon delay

I'm having a really frustrating problem. I have a blog, where I use Cufon for post headings. However, I also use Disqus for comments. Disqus adds the javascript it needs directly to the comment-template element, and they seem to load before anything else. This causes a clearly recognizable delay in Cufon taking action.
I have explored the Disqus-plugin source and realized, that the javascript is not being hanged there via a hook (so that it could be unchained and added again to footer), but instead it is directly printed in comments.php. This leaves me with the conclusion that the only solution is to do some javascript-magic?
I'm really hoping someone can help with this issue. Any way to make the Disqus-stuff load after Cufon has initialized? The comments could easily have a 1-second-delay without making a difference in browsing.
Any help is appreciated! :)
This shouldn't happen with the latest Disqus embed code, which is non-blocking. Can you provide a link to where this is happening?

How to use jQuery to show a different page in ASP.NET

I am trying to set up functionality similar to Netflix. Where if you mouseover a movie - you are presented with a window of movie details (all client-side).
At high level, can someone in this forum help by telling me how this should be implemented? I.E., one or more .aspx pages, what would go in code-behind, and .js file, css, etc. Just trying to get an idea on how this would be set up to work.
Basically, when I hover over an item, I need to query for details that belongs for that record being moused-over and display it in the window or div. I also need to have some functionality in that window (i.e. a textbox and button which will end up needing to get saved in a database).
Thanks for any tips and suggestions -
You would want to add an AJAX call to the hover event of the image, that pulls from a webservice/web method.
Here is a good example, you would change some things. However, it should get you started.
http://www.mikesdotnetting.com/Article/96/Handling-JSON-Arrays-returned-from-ASP.NET-Web-Services-with-jQuery
If I understood your question correctly, you should try this excelent jQuery plugin:
http://www.sohtanaka.com/web-design/css-on-hover-image-captions/
Look at the demo here:
http://www.sohtanaka.com/web-design/examples/image-hover/
easy to install and configure and very slick!
Good luck
EDIT: sorry wrong lik the first time
There are certainly many jQuery plugins that will do this for you. jQuery UI may also be of benefit.
Here is one that appears to do something like you are describing:
http://plugins.jquery.com/project/VisualLightbox

Google Maps V3: Styled maps suddenly lost their styles?

I was working on my site last night and suddenly my styled map went back to the default style. Looking around it seems that the styles on Google's own blog aren't working.
Even the Map style wizard is not working.
I thought this might just be me, but I have looked in both Firefox and Chrome and on two different computers. Strangely, it does seem that there are some maps that are still styled.
Has there been a change in the syntax? None of my code has changed.
My site is here if you want to look for yourself. Can someone confirm this for me? Can you see a problem with my js code?
You are using a deprecated field. Change rules to stylers and it should work fine.
Ive just had the same problem with my implementation, just stopped working in the last 12 hours or so. I am going to try and figure out whats gone wrong because as you said, some are still working.
skarE's post fixed it for me, nice one!

Resources