...

View Full Version : Need help with modifications to Blogger template



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

-------------------------------------------------------------------------

http://pixelpatriot.blogspot.com/

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

pixelpatriot
04-21-2011, 09:17 PM
pixelpatriot.blogspot.com

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


//]]>
</script>


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

function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
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;
}

//]]>
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum