Tech Rocks

Coldfusion
Java
JQuery

An online resource for latest web technologies like Coldfusion, JRun, Pro*C, JQuery, HTML5, PHP, W3C, Java, J2EE, C, C++, ORACLE, PL/SQL, MySql, Ajax, Coldbox, Fusebox, UNIX, JavaScript, NodeJS and much more...

Sunday, May 15, 2011

Adding JQuery Widgets to Blogspot

You can add HTML/Javascript widgets to blogspot panels and trigger JQuery on load scripts like the following:
<script type="text/javascript">   
$(document).ready(function(){  
    $("div.date-outer div.date-posts div.post-outer:odd").toggleClass("post-outer-alternate");  
    $("div.sidebar div.widget:odd").toggleClass("widget-alternate");  
});    
</script>

0 comments :

Post a Comment