
Step 1. Log in to your Blogger Account and Go to your Blogger Dashboard
Step 2. Click on Now click on >> Template >> Edit HTML
Step 3. Now find by pressing Ctrl+F ]]></b:skin>
Step 4. Now Copy from below and Paste it above/before ]]></b:skin>
Step 6. Now Copy from below & Paste it above/before </head>
Step 7. Now save your template..Done !
#image-spoiler {text-align:center;}Step 5. Now find </head>
#image-spoiler button{margin:10px auto;cursor:pointer;background-color:#5a6269;color:#fff;padding:10px 14px!important;text-transform:uppercase;border:none;font-size:14px;transition:all .3s ease-out}
#image-spoiler button:hover, #image-spoiler button:focus {outline:none;opacity:1;color:#fff;}
#spoilerpanel {padding:1px;text-align:left;background:#fafafa;border:1px solid #e6e6e6;}
#spoilerpanel {padding:24px;display:none;}
#spoilerpanel img {background:#f5f5f5;margin:10px auto;}
.spoilerrow {-webkit-column-count:3;-moz-column-count:3;column-count:3;}
.spoilerrow img{-webkit-backface-visibility:hidden;margin-bottom:15px;max-width:100%;}
.spoilerrow br {display:none;}
Step 6. Now Copy from below & Paste it above/before </head>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' type='text/javascript'></script>Note:If your Blog/Website Already Contatin above blue line,then no need to copy that line just copy other Code.
<script type='text/javascript'>
//Image Spoiler widget by www.bloggersstand.blogspot.com
$(document).ready(function(){$("#image-spoiler").click(function(){$("#spoilerpanel").slideToggle("normal")})});
</script>
Step 7. Now save your template..Done !
HOW TO MAKE IT WORKS?
You have to add the below code in HTML view while writing a Blog post.
<div id="image-spoiler"><button>Image Spoiler</button></div><div id="spoilerpanel"><br />
<div class="separator" style="clear: both; text-align: center;"><a href="IMAGE URL" style="margin-left: 1em; margin-right: 1em;"><img src=" IMAGE URL" style="border: none;" /></a></div>
</div></div>
CUSTOMIZATION:
- To add Images on Spoiler,replace IMAGE URL from the above code.
- To add Multiple Images on Spoiler Just Add above code twice or thrice,look below for example
<div id="image-spoiler"><button>Image Spoiler</button></div><div id="spoilerpanel"><br />Now Your Blog/Website have Beautiful Image Spoiler With Animation Effect.
<div class="separator" style="clear: both; text-align: center;"><a href="IMAGE URL" style="margin-left: 1em; margin-right: 1em;"><img src=" IMAGE URL" style="border: none;" /></a></div>
<div class="separator" style="clear: both; text-align: center;"><a href="IMAGE URL" style="margin-left: 1em; margin-right: 1em;"><img src="IMAGE URL" style="border: none;" /></a></div>
</div></div>
SUMMARY
How To Add Image Spoiler With Animation Effect For Blogger Blogspot Website Blog,Hide Multiple Images With Imaage Spoiler,Blog Load Fast,Tricks To Increase Blog Speed
Post A Comment: