Log In · Register

 
 
Closed TopicStart new topic
scroll bar in blogrings..., is it possible?
mezzanine
post Nov 19 2004, 06:09 PM
Post #1


i am displaced.
****

Group: Member
Posts: 100
Joined: Aug 2004
Member No: 44,860



does anyone know if it's possible to add a scroll bar to your blogrings?... i was wondering if there's a way to alter this code so it would work for the blogring module...

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
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 -->




thanks. cool.gif
 
xxroo
post Nov 19 2004, 08:21 PM
Post #2


Brookie
**

Group: Member
Posts: 14
Joined: Sep 2004
Member No: 51,237



I think there is a way but i don't have the code right now.
 
sweetxsimplicity
post Nov 19 2004, 11:43 PM
Post #3


hi, my name is brianna! =]
*******

Group: Official Member
Posts: 5,764
Joined: Jun 2004
Member No: 22,114



Try replacing all the "SIR" with "BR" or "BLOGRING", though I doubt it'll work. You'll need someone who knows javascript well and can create codes, like mystical. x]
 
mezzanine
post Nov 20 2004, 09:39 PM
Post #4


i am displaced.
****

Group: Member
Posts: 100
Joined: Aug 2004
Member No: 44,860



do you think she'd make the code for me? i'm not skilled in java...i'm a c++ kid.
 

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