Note Down the name of Widhet you want to [+/-] add.
In Edit HTML, Expand Widgets.
1.Search for Your Widget.
in Widget Search:
<b:includable id='main'>
Just After This Line ( In Next Line )
Add Folling Code.
<script type='text/javascript'>
//<![CDATA[
if(typeof(rnd) == 'undefined') var rnd = '';
rnd = Math.floor(Math.random()*1000);
rnd = 'id-' + rnd;
document.write('<a href="#" onclick="tmp = document.getElementById("' + rnd + '"); tmp.style.display = (tmp.style.display == "none") ? "block" : "none"; return false;" style="float:left;margin-right:5px;">');
//]]>
</script>[+/-]
<script type='text/javascript'>
//<![CDATA[
document.write('<\/a>');
//]]>
</script>
2.Now search next line
<div class='widget-content'>
Just after this code add code ( in next line)
<script type='text/javascript'>
//<![CDATA[
document.write('<div id="' + rnd + '" style="display:none;">');
//]]>
</script>
3.Search
<b:include name='quickedit'/>
Just Before this Code Add code:
<script type='text/javascript'>
//<![CDATA[
document.write('<\/div>');
//]]>
</script>
No comments:
Post a Comment