...

View Full Version : In window scroll bar



sherlockturtle
09-30-2011, 10:16 PM
A div that moves the divs innerHTML with a scrollbar.

rangana
10-01-2011, 01:39 AM
You might find Custom Scrollbar from Hesido useful
http://www.hesido.com/web.php?page=customscrollbar

xelawho
10-01-2011, 03:06 AM
mmm... we're not talking about this are we?



<style>
#mydiv{
width:80px;
white-space:nowrap;
overflow-y:hidden;
}
</style>
<div id="mydiv">Hello there. I am the contents</div>

sherlockturtle
10-01-2011, 04:46 AM
mmm... we're not talking about this are we?



<style>
#mydiv{
width:80px;
white-space:nowrap;
overflow-y:hidden;
}
</style>
<div id="mydiv">Hello there. I am the contents</div>


Yes but up down not left right!

xelawho
10-01-2011, 04:59 AM
nothing to do with javascript, but anyway...



<style>
#mydiv{
width:200px;
height:200px;
overflow-x:hidden;
}
</style>
<div id="mydiv">"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</div>

sherlockturtle
10-01-2011, 08:53 PM
nothing to do with javascript, but anyway...



<style>
#mydiv{
width:200px;
height:200px;
overflow-x:hidden;
}
</style>
<div id="mydiv">"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</div>



Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum