Log In · Register

 
xanga blog help
freakofakid43
post Aug 31 2005, 12:10 PM
Post #1


freakofakid43
*

Group: Member
Posts: 5
Joined: Aug 2005
Member No: 204,803



ok... i enterd this code.. hoping i can make my webentries smaller.....
<!-- begin code provided by createblog.com -->

<script type="text/javascript">
function adjustSirListHeight()
{
// *** define the height of your SIR-list in the line below
var sirListHeight = '120px';
var allTables = document.getElementsByTagName('tbody');
for (i=0; i < allTables.length; i++)
{
if ((allTables[i].innerHTML.indexOf('Blogrings') != -1) &&
(allTables[i].innerHTML.toUpperCase().indexOf('<TABLE') == -1))
{
sirlist = allTables[i].lastChild;
temp = sirlist.firstChild.innerHTML;
sirlist.removeChild(sirlist.firstChild);
td = document.createElement('td');
div = document.createElement('div');
div.style.width = '190px';
div.style.height = sirListHeight;
div.style.overflow = 'auto';
div.innerHTML = temp;
td.appendChild(div);
sirlist.appendChild(td);
break;
}
}
}
if (navigator.userAgent.indexOf('Mac') == -1)
if ((document.URL.indexOf('weblogs') == -1) &&
(document.URL.indexOf('guestbook') == -1) &&
(document.URL.indexOf('events') == -1) &&
(document.URL.indexOf('reviews') == -1))
adjustSirListHeight();
</script>

<!-- end code provided by createblog.com -->




But it doesnt do anything!!!!!!!!!!!!
email me please @freakofakid43@gmail.com
 
 
Start new topic
Replies
talcumpowder
post Aug 31 2005, 01:04 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



..... You blog entries ain't gonna get any smaller if you're using that. wink.gif All that does is add a scrollbar into your blogrings list.
CODE
<style type="text/css">
table.blogbody {
/* this edits the other the place where the  blog is */
 border: 1px dashed #008000;
 background-color: #Transparent;
 width: 400px;}
</style>
That will resize your blog area. Adjust the 4oo part as needed.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: