Log In · Register

 
I Want the Code For Scrollbar In Entries Please..
pinkygirl88
post Nov 12 2004, 09:59 PM
Post #1


Member
**

Group: Member
Posts: 17
Joined: Aug 2004
Member No: 42,065



Can someone give me the code for the scrollbar in the entry? thanks biggrin.gif
 
 
Start new topic
Replies (1 - 6)
kellyannie
post Nov 12 2004, 10:30 PM
Post #2


Senior Member
******

Group: Member
Posts: 2,137
Joined: Nov 2004
Member No: 62,193



do you want the one for the automatic scrollbar in your entries? or just one entry?

heres the one for automatic scrollbar:

PUT IN CUSTOM HEADER OR WEBSITE STATS:
CODE
<!-- begin code provided by createblog.com -->
<style type="text/css">
.custom{
width: 200px;
height: 200px;
z-index:100;
overflow: auto;
border: px #000000 solid;
background: #ffffff;
}</style>
<!-- end code provided by createblog.com -->


PUT IN WEBSITE STATS:
CODE
<!-- begin code provided by createblog.com -->
<script>
var tds = document.getElementsByTagName ('a');
for (var i = 0; i < tds.length; i++) {
timeString = tds[i].innerText;
if(timeString.match(/\d+:\d+ [ap]m\b/i)){
if(!tds[i].parentNode.parentNode.parentNode.parentNode.parentNode.tagName.match(/table/i)){break;}
table = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;
stuff = tds[i].parentNode.parentNode.parentNode.previousSibling.lastChild;
inner = stuff.innerHTML
stuff.innerHTML="";
stuff.insertAdjacentHTML('afterBegin','<div class="custom">'+inner+'</div>');

}
}
</script>
<!-- end code provided by createblog.com -->



here is the one if you just want a scrollbar in one entry:

PUT INTO YOUR ENTRY: (make sure you click Edit HTML)
CODE
<!-- begin code provided by createblog.com -->
<DIV id=scroll3 style="BORDER-RIGHT: #000000 0px; BORDER-TOP: #000000 0px; OVERFLOW: auto; BORDER-LEFT: #000000 0px; WIDTH: 600px; BORDER-BOTTOM: #000000 0px; HEIGHT: 100px">
<!-- end code provided by createblog.com -->
 
x_pink_jessie_x
post Nov 13 2004, 07:31 PM
Post #3


#1 CreateBlog Membiez n Fan
****

Group: Member
Posts: 182
Joined: Oct 2004
Member No: 56,247



the code is in the scripts i think..next time plz check :D okie!
 
x_pink_jessie_x
post Nov 13 2004, 07:34 PM
Post #4


#1 CreateBlog Membiez n Fan
****

Group: Member
Posts: 182
Joined: Oct 2004
Member No: 56,247



ne wayz herez the code:


QUOTE
COPY AND PASTE INTO WEBLOG ENTRY (REQUIRED 1 OF 1):
-Make sure you click "Edit HTML"

CODEBOX:  -> right click -> copy/paste
<!-- begin code provided by createblog.com -->
<DIV id=scroll3 style="BORDER-RIGHT: #000000 0px; BORDER-TOP: #000000 0px; OVERFLOW: auto; BORDER-LEFT: #000000 0px; WIDTH: 600px; BORDER-BOTTOM: #000000 0px; HEIGHT: 100px">
<!-- end code provided by createblog.com -->
 
december1987
post Nov 30 2004, 11:27 AM
Post #5


Member
**

Group: Member
Posts: 18
Joined: Jun 2004
Member No: 19,391



please dont double post, thanks.
 
s1lent_s0rr0w
post Jan 4 2005, 02:14 AM
Post #6


Newbie
*

Group: Member
Posts: 1
Joined: Jan 2005
Member No: 79,211



where's edit html? do you put it in the entry?
 
kellyannie
post Jan 4 2005, 03:33 AM
Post #7


Senior Member
******

Group: Member
Posts: 2,137
Joined: Nov 2004
Member No: 62,193



edit html is there when you go to edit/write your post. if you want to use the code for only one scrollbar, then yes put it in your entry after you check the box 'edit html'.
 

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