Go4Expert

Go4Expert (http://www.go4expert.com/)
-   JavaScript and AJAX (http://www.go4expert.com/forums/javascript/)
-   -   How to creat a scrollbar?? (http://www.go4expert.com/forums/creat-scrollbar-t6430/)

Talks_44 19Sep2007 21:50

How to creat a scrollbar??
 
i m about designing my personal page and i'd like to know if there's anyway i can create a scrollbar between a <div> tag using CSS??

is there anyway i can use only arrows?? (transparent scroll only arrows that shows)

thank you

jwshepherd 20Sep2007 05:15

Re: How to creat a scrollbar??
 
not sure about transparent scrollbar but you can make it the same color as the background or create a flash one.

shabbir 20Sep2007 09:32

Re: How to creat a scrollbar??
 
If you specify the div height and if your content in the div is of more height than the specified height there will be a scrollbar automatically.

Talks_44 21Sep2007 20:32

Re: How to creat a scrollbar??
 
Quote:

Originally Posted by jwshepherd
not sure about transparent scrollbar but you can make it the same color as the background or create a flash one.

I am interested in that kind of scroolbar, like in winamp, when you have the chance to chage the backgraound in transparent.!!!!!!!!!!!!

Talks_44 21Sep2007 20:33

Re: How to creat a scrollbar??
 
Quote:

Originally Posted by shabbir
If you specify the div height and if your content in the div is of more height than the specified height there will be a scrollbar automatically.

So it's possible..thx..!!

shabbir 21Sep2007 20:51

Re: How to creat a scrollbar??
 
Quote:

Originally Posted by Talks_44
So it's possible..thx..!!

Yes very much. Check out some of the articles where you have code snippets of more than 30-35 lines like in Form validation with PHP & JavaScript

Magena 12Jul2008 16:06

Re: How to creat a scrollbar??
 
You can use CSS to create a scrollable box. Consider this source code:

<div style="width: 190px; height: 190px; overflow: auto; padding: 5px">
content in here
</div>


All times are GMT +5.5. The time now is 22:30.