I have added google adsense at the footer of my magento(1.5.1) site.but does not showing.After inspecting with firebug i got following error on console..
""NetworkError: 400 Bad Request - http://googleads.g.doubleclick.net/pagead/ads?..."
I am using both prototype & jquery in my site.my web site url http://medicalequipmentsupplies.co/.
I have tested google ad sense code i used is correct.
Please Help me...
Thanks
Related
Here's the problem: I've used a Google Drive forms to create a form, then linked to it to my own form through action="" and name="" parameters of the form. Stuff worked like a charm when used as a plain page on my server.
Once loaded into joomla, no go. Google gives the following: "Google Drive encountered an error. If reloading the page doesn't help, please report the error."
Any suggestions on how/what things are conflicting?
Thanks!
Link to form on Joomla: http://dgm3740.inkedkeyboard.com/final/index.php/reserve-a-party (please be very considerate in entries)
Link to form as is on a server: http://test.inkedkeyboard.com/party_form_two.html
Using the first link you provided, I was able to enter various test data without a problem.
Tuki's Island Party Request
Your response has been recorded.
Submit
another response
Perhaps the problem is in your client?
"This content cannot be displayed in a frame".
Hi, I am trying to show our Yammer page within an iFrame but IE gives this error. I have added *.yammer.com to trusted sites but I still get the error. Is there a workaround?
Can you check that in the trusted site, the link is https://*.yammer.com
Cheers
I am trying to test with "fetch as google" an orchard website which has ajax content . Shouldn't google replace http://cmbbeta.azurewebsites.net/#! with http://cmbbeta.azurewebsites.net/?_escaped_fragment_ (both links work). When i hit my beta website with fetch as google, the preview shows me that the page is loading the ajax content,and not the static one.
Am i missing something?
The preview that appears when you put your mouse over the link always seem to show the dynamic website. The important thing to look at is the fetch result that you can access by clicking the "Success" link in the "Fetch Status" column.
This is probably not affecting your site, but the Fetch as Google feature doesn't work for AJAX urls that are specified with the <meta> tag. See here.
I need to get a list of all available fonts on Google Fonts and display them in a dropdown, but i'm having trouble understanding the doc for Google Fonts.
Here's what i got so far.
When i go to this in the web browser i get a json response with all fonts, as expected:
https://www.googleapis.com/webfonts/v1/webfonts?sort=popularity&key={my-key-here}
But when i ajax it, i get this in the console:
XMLHttpRequest cannot load https://www.googleapis.com/webfonts/v1/webfonts?sort=popularity&key={my-key-here}. Origin {domain} is not allowed by Access-Control-Allow-Origin.
By the way, i'm using jQuery. Tried both $.ajax and $.getJSON.
After a bit of googling i realized maybe i need to use the webfont loader to retreive the list? Alright, fair enough. So i added the script to the page:
<script src="http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"></script>
But then what? The API only seem to allow getting and applying specific fonts, it doesn't actually return any data, does it?
Can anyone point me in the right direction or show me how to make the request? Parsing the returned data and handling it afterwards is no big deal, but i just can't figure out how to actually get the data.
Ok, I've had the same problem, opening the URL itself in a new window works fine, but it doesn't work as ajax request.
Your ajax/json request is correct:
https://www.googleapis.com/webfonts/v1/webfonts?key={my-key-here}
And you don't need to add this line:
<script src="http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"></script>
Seems like you get nothing because of google servers, not your code. If you newly created an API key or you recently activated your webfont service, give it few minutes, you will be able to use your webfont service soon
Just to confirm it for you, try the below JSON request, it works perfectly:
$(document).ready(function() {
$.getJSON('https://www.googleapis.com/webfonts/v1/webfonts?key=MY_API_KEY', function(response) {
//alert('json object fetched successfully!');
});
});
To retrieve the dynamic list of web fonts offered by the Google Web Fonts service, send the following request:
https://www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY
Source: Google Web Fonts API - Developer API
I am trying to get it so that when a link is clicked in my WordPress template, it will load that page content with AJAX without changing the page. It needs to load dynamically into my content area depending on which link is clicked.
I have never used AJAX before so I would love it if someone could help me out or point me in the right direction.
Thanks,
Wade
I was unable to get that "AJAX Page Loader 1.5" plugin to work with the latest version of Wordpress (currently 3.1.2).. so I did MUCH digging around and found this tutorial "How To AJAXify WordPress Theme" which was super easy to follow and worked like a charm!
This plugin works and will give clues to how it works: WordPress › AJAX Page Loader 1.5 « WordPress Plugins
If you have access to jQuery, you could start by checking out their AJAX API Reference. There are plenty of examples in there, too!