Click to See Complete Forum and Search --> : vertical scroll bar
goran_ah
03-03-2006, 10:06 PM
By default the vertical scrollbar it self, is positioned at the top of the scroll field,
I have a page that new info comes in at the bottom of the page, and a java script refreshes the page som that new info comes on the page, but as the file/page gets more text than the page shows, I don't se the new info, so i need the scrollbar to be posisioned at the bottom of the vertical scrollfield.
and where shall i put it in my html page,
have not uset any php. just plain html
ray326
03-04-2006, 12:19 AM
I think you're talking about the thumb of the scroll bar, right? And you want a text area to act like a scrolling terminal, right?
pcthug
03-04-2006, 04:06 AM
Alot of JavaScript will do this for you
geomir
03-04-2006, 04:41 AM
Hi :)
Have a look at
http://www.dynamicdrive.com/dynamicindex8/topscroll.htm
it's not exactly what you want but you can get an idea how to use javascript in order to do what you wish.
goran_ah
03-04-2006, 01:46 PM
u can chek out the page.
http://gah.mybesthost.com/log/index.htm
need the field in the middle to be scrolled to the bottom.
as u se i run an java script that refreshes the page every 60 sek. so that nes data that comes in to the text.txt file . The page uses frames. the main frame is just linked to an txt file, it is not an htm page.
ray326
03-04-2006, 11:09 PM
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 39 column 1 - Warning: <a> isn't allowed in <table> elements
line 12 column 7 - Warning: <div> attribute "id" has invalid value "1553248421"
line 16 column 25 - Warning: <table> proprietary attribute "background"
line 27 column 25 - Warning: <table> proprietary attribute "background"
line 95 column 34 - Warning: <img> lacks "alt" attribute
line 43 column 25 - Warning: <script> inserting "type" attribute
0 errors / 7 warnings
Plus an "el has no properties" in line 64 of top.htm and meny.htm