Saturday, 24 December 2016

STAR RATING WIDGET IN BLOGGER TEMPLATE

STAR RATING WIDGET IN BLOGGER TEMPLATE

------------------------------------------------------------------------------------------------------
READ MORE:
http://rating-widget.com/get/rating/
http://fbgadgets.blogspot.co.uk/2014/08/blogger-mega-grid-and-list-template.html

------------------------------------------------------------------------------------------------------

STAR RATING WIDGET IN BLOGGER - YouTube

https://www.youtube.com/watch?v=uQHuIFmkrPk
12 mins ago - Uploaded by SAVE MONEY
STAR RATING WIDGET IN BLOGGER ... Rating is available when the video has been rented. ... http ...
------------------------------------------------------------------------------------------------------


-----------------------------------------------------------------------------------------------------
1) FIND CLOSE  TAG </head> AND REPLACE WITH CODE
------------------------------------------------------------------------------------------------------
<script type='text/javascript'>
//<![CDATA[
(function(d, t, e, m){
// Async Rating-Widget initialization.
window.RW_Async_Init = function(){
RW.init({
huid: "149369",
uid: "c21d872a654e0a635442e1377029f7ea",
options: { "style": "oxygen" }
});
RW.render();
};

// Append Rating-Widget JavaScript library.
var rw, s = d.getElementsByTagName(e)[0], id = "rw-js",
l = d.location, ck = "Y" + t.getFullYear() +
"M" + t.getMonth() + "D" + t.getDate(), p = l.protocol,
f = (-1 < l.search.indexOf('DBG=') ? '' : '.min'),
a = ("https:" == p ? "secure." + m + "js/" : "js." + m);
if (d.getElementById(id)) return;             
rw = d.createElement(e);
rw.id = id; rw.async = true; rw.type = "text/javascript";
rw.src = p + "//" + a + "external" + f + ".js?ck=" + ck;
s.parentNode.insertBefore(rw, s);
}(document, new Date(), "script", "rating-widget.com/"));

//]]>
</script>

</head>

-----------------------------------------------------------------------------------------------------
2) FIND INCLUDABLE MAIN WIDGET  REPLACE THIS 
OR 
ADD ONLY STAR RATING WIDGET CODE 
------------------------------------------------------------------------------------------------------
<b:includable id='main' var='top'>
<b:if cond='!data:mobile'>
<!-- posts -->
<div class='blog-posts hfeed'>
<b:include data='top' name='status-message'/>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.isDateStart and not data:post.isFirstPost'>
&lt;/div&gt;&lt;/div&gt;
</b:if>
<b:if cond='data:post.isDateStart'>
&lt;div class=&quot;date-outer&quot;&gt;
</b:if>
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
</b:if>
<b:if cond='data:post.isDateStart'>
&lt;div class=&quot;date-posts&quot;&gt;
</b:if>
<div class='post-outer'>
<b:include data='post' name='post'/>
<b:include cond='data:blog.pageType in {&quot;static_page&quot;,&quot;item&quot;}' data='post' name='comment_picker'/>
</div>
<!-- Ad -->
<b:if cond='data:post.includeAd'>
<div class='inline-ad'>
<data:adCode/>
</div>
</b:if>
</b:loop>
<b:if cond='data:numPosts != 0'>
&lt;/div&gt;&lt;/div&gt;
</b:if>
</div>
<!-- navigation -->
<b:include name='nextprev'/>
<b:include name='feedLinks'/>

<!-- STAR RATING WIDGET JS CODE START  -->
<b:if cond='data:top.showStars'>
<script src='//www.google.com/jsapi' type='text/javascript'/>
<script type='text/javascript'>
google.load(&quot;annotations&quot;, &quot;1&quot;, {&quot;locale&quot;: &quot;<data:top.languageCode/>&quot;});
function initialize() {
google.annotations.setApplicationId(<data:top.blogspotReviews/>);
google.annotations.createAll();
google.annotations.fetch();
}
google.setOnLoadCallback(initialize);
</script>
</b:if>
<!-- STAR RATING WIDGET JS CODE END  -->

<b:else/>
<b:include name='mobile-main'/>
</b:if>
<b:if cond='data:top.showDummy'>
<data:top.dummyBootstrap/>
</b:if>
</b:includable>

------------------------------------------------------------------------------------------------------
3) FIND THIS LINE  INCLUDABLE POST WIDGET 
<b:includable id='post' var='post'>

<div class='post-header-line-1'/>
------------------------------------------------------------------------------------------------------
<div class='post-header'>
<div class='post-header-line-1'/>
<!-- STAR RATING WIDGET JS CODE START  -->
<div class='rw-ui-container'/>
<!-- STAR RATING WIDGET JS CODE END  -->
</div>
------------------------------------------------------------------------------------------------------






0 comments:

Post a Comment

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets