Log In · Register

 
scroll bar in subsribtions
lhuvhurts
post Aug 22 2004, 01:15 AM
Post #1


I C DEAD PEOPLE
*****

Group: Member
Posts: 728
Joined: Jul 2004
Member No: 36,002



i know in the xanga scripts there is a code for subsritions scroll bar but i cant finf it i could find it like 3 days ago but i didnt want it then i want it now..
so can u ppl help me plz
 
 
Start new topic
Replies (1 - 2)
cutielilsuga
post Aug 22 2004, 01:27 AM
Post #2


fragile
******

Group: Member
Posts: 1,044
Joined: Mar 2004
Member No: 9,807



the reason why you didn't see it is cause they removed it
but here is the code

CHANGE THE AREA THAT SAYS HEIGHT AND WIDTH

CODE
<!-- begin code provided by createblog.com -->
<script type="text/javascript">
// original by EasterEgg, xanga.com/easteregg
// modified to reflect xanga's current html schemas
// FROM XANGA.COM/HTML_SCRIPTS
function adjustSirListHeight()
{
  // *** define the height of your SIR-list in the line below
  var sirListHeight = '90px';
  var allTables = document.getElementsByTagName('tbody');
  for (i=0; i < allTables.length; i++)
  {
      if ((allTables[i].innerHTML.indexOf('Sites I Read') != -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 -->
 
sewerz1000
post Aug 22 2004, 10:28 AM
Post #3


PUhaha.. NJ azN
****

Group: Member
Posts: 299
Joined: Aug 2004
Member No: 41,986



ugh, u HAVE to cheq the scripts SECTION B4 coming here for a request!!! dont be lazy!!! how much calories do u burn by reading???
 

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