i use code google trends
<script type="text/javascript" src="//www.google.com/trends/embed.js?hl=ru&cat=0-19&q=999999999&cmpt=q&tz=etc/gmt-4&tz=etc/gmt-4&content=1&cid=timeseries_graph_0&export=5&w=500&h=330"></script>
but how can determine if embedded code empty? example q=40404040404040
:
<script type="text/javascript" src="//www.google.com/trends/embed.js?hl=ru&cat=0-19&q=999999999&cmpt=q&tz=etc/gmt-4&tz=etc/gmt-4&content=1&cid=timeseries_graph_0&export=5&w=500&h=330"></script>
google give empty body iframe, takes place on page , show nothing.
how can determine if embedded code empty , show 'no trends' or not show empty iframe @ all?
Comments
Post a Comment