•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 427,493 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,471 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 3595 | Replies: 2
![]() |
Hi everyone,
Does anybody knows how to position the scroll bar of the code generated by the
css div{overfolw:scroll}?..
The default position of the scroll bar is on the top.. now, what i want is to position the scroll bar at the bottom of the <div> overflow:scroll...
I need help...
I really appreciate if anyone could do these...
Does anybody knows how to position the scroll bar of the code generated by the
css div{overfolw:scroll}?..
The default position of the scroll bar is on the top.. now, what i want is to position the scroll bar at the bottom of the <div> overflow:scroll...
I need help...
I really appreciate if anyone could do these...
ivan_ceras at_yahoo_dot_com
here is the code.... just for a simple chat program..
the chat message will be display at the div class:'chit'
the chat message has an id 'chat'... which will be diplayed on the screen..
chat.js execute an ajax script to get the chat data from the server...
hope u get me...
thanks...
the chat message will be display at the div class:'chit'
the chat message has an id 'chat'... which will be diplayed on the screen..
chat.js execute an ajax script to get the chat data from the server...
hope u get me...
thanks...
<html>
<head>
<script src='chat.js'></script>
<script type='text/javascript'>
function preSend(){
message=document.form1.chat.value
send(message)
}
function preReceive(){
receive()
setTimeout('preReceive()',500)
}
</script>
<style type='text/css'>
div.chit{
background-color:'#00FF00';
width:150px;
height:150px;
overflow: auto
}
</style>
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
</head>
<body onload='preReceive()'>
<div class='chit'>
<span id='chat'>
</span>
</div>
<br>
<form name=form1 action='index.php'>
<input type='text' name='chat'>
<br>
<input type='button' value='send' onclick=preSend()>
</form>
</body>
</html> Last edited by ivanCeras : Aug 14th, 2006 at 3:06 am.
ivan_ceras at_yahoo_dot_com
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- I need to grab the height of a div. (JavaScript / DHTML / AJAX)
- Navbar Transparency Issue (JavaScript / DHTML / AJAX)
- Trying to use not tables, only CSS, but can I? (HTML and CSS)
- CSS # or . (HTML and CSS)
- Drop Down Menu - Problem Opening in IE (JavaScript / DHTML / AJAX)
- CSS scrollbar ??? (JavaScript / DHTML / AJAX)
- small problem with NN and CSS (HTML and CSS)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: How do you grab a value from a stylesheet?
- Next Thread: Switching visible divs works in IE, not in FF or Opera


Linear Mode