View Full Version : Need help with modifications to Blogger template

04-20-2011, 05:29 PM
Need html help for Blogger template



Problem #1
The dimensions of the blog image thumbnails are compressed on the x axis with word wrap set to the right side of the image on the main/index page. When you click on the html link that takes you to the full blog page the image is displayed OK. Do you have a suggestion on how to correct the image size displayed in the thumbnail mode?

Problem #2
Video screen on right side bar of main page is cropped so can't see full video. I think it is preventing the viewer from access link to Vimeo site.

Problem #3
Reduce left margin to maybe 10 or 15 pixels

Problem #4
Can the Gallery delay rate be slowed by approx. 1 sec

Problem #5
Adding tabs to nav bar

04-21-2011, 10:17 PM

I think this might be the source code for the script:


<script type='text/javascript'>
summary_noimg = 800;
summary_img = 750;
img_thumb_height = 195;
img_thumb_width = 260;
<script type='text/javascript'>

function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
strx = s.join("");
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';

function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = summary_noimg;
if(img.length>=1) {
imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
summ = summary_img;

var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
div.innerHTML = summary;