Skip to main content

Posts

Showing posts with the label lightbox

lightbox Image viewer for blogger

Its normally very hard with blogger pages when we click on an image. It opens the image on the browser. When i roam around to find any alternative to show the pictures on a separate shadow pop-up, I found some cool script which uses scriptaculous and prototype. Follows the steps. Login to your blogger Layout Click on Edit HTML Find the </head> tag and replace it with the following <!--Light Box Code Starts--> <style> #lightbox{    position: absolute;    left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;} #lightbox img{ width: auto; height: auto;} #lightbox a img{ border: none; } #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; } #imageContainer{ padding: 10px; } #loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; } #hoverNav{ position: absolute; top: 0; ...