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
hi-C
post Sep 2 2005, 01:16 PM
Post #2


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



Like Reili said, that code doesn't affect your entries, just your blogrings module.

Try this code: http://www.createblog.com/forums/index.php...rollbar+entries
 

Posts in this topic


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