Click here to Skip to main content
15,888,610 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: CHARTING Tool for .NET project! Pin
Paddy Boyd4-Apr-08 0:50
Paddy Boyd4-Apr-08 0:50 
QuestionProblem in firing events - ASP.NET Ajax Pin
Leonades2-Apr-08 23:04
Leonades2-Apr-08 23:04 
GeneralIIS problem with my localhost Pin
Ahmad Adnan2-Apr-08 20:48
Ahmad Adnan2-Apr-08 20:48 
GeneralRe: IIS problem with my localhost Pin
Mark J. Miller3-Apr-08 5:00
Mark J. Miller3-Apr-08 5:00 
QuestionHow to display IFRAME in the proper place in different resolution? Pin
biswa472-Apr-08 19:35
biswa472-Apr-08 19:35 
Questioncreate collapse menu Pin
hochoint1-Apr-08 17:22
hochoint1-Apr-08 17:22 
GeneralRe: create collapse menu Pin
Bradml1-Apr-08 20:32
Bradml1-Apr-08 20:32 
Generalsetting document size Pin
Force Code1-Apr-08 6:08
Force Code1-Apr-08 6:08 
I've been doing Flex and AS3 programming for about five months, but now I'm having to delve into Javascript with which I have no experience. I have what I think is a very basic Javascript question.

My basic terminology may not even be accurate, but I think I want to resize the 'document' as opposed to the window. For at least some browsers, I think you can say window.Resize(x,y) and it will resize the actual browser window. However, I want to resize not the window, but rather the scrollable area of the page, regardless of what text or other content the page actually contains. So if all the page contains is "Hello World", I want to be able to resize the scrollable area to some arbitrary size, so that maybe it could be scrolled down for several pages. Contrarily, I want to be able to set the width of the page to less (or greater) than the width of the browser window width, so that presumably there could be a blank area between the right edge of the page and the right edge of the browser window. I also want to be able to set the scroll position of the page, And also if possible the option to show or hide the scroll bars, regardless of the document size.

I spent three hours last night trying to find this information without success. I was trying to do the above on the onLoad event in the body tag (calling a javascript function defined in a previous script section.)
GeneralRe: setting document size Pin
led mike1-Apr-08 6:30
led mike1-Apr-08 6:30 
GeneralRe: setting document size Pin
Force Code1-Apr-08 7:23
Force Code1-Apr-08 7:23 
GeneralRe: setting document size Pin
led mike1-Apr-08 7:52
led mike1-Apr-08 7:52 
GeneralRe: setting document size Pin
Force Code1-Apr-08 8:12
Force Code1-Apr-08 8:12 
GeneralRe: setting document size Pin
Force Code1-Apr-08 8:29
Force Code1-Apr-08 8:29 
GeneralRe: setting document size Pin
led mike1-Apr-08 8:50
led mike1-Apr-08 8:50 
GeneralRe: setting document size Pin
Shog91-Apr-08 8:27
sitebuilderShog91-Apr-08 8:27 
GeneralRe: setting document size Pin
User 98854-Apr-08 18:13
User 98854-Apr-08 18:13 
QuestionAutoCompleteExtender Pin
Anthonyn1-Apr-08 4:32
Anthonyn1-Apr-08 4:32 
Generalgetting data given by the user and store in database... Pin
kinjalkhamar1-Apr-08 4:23
kinjalkhamar1-Apr-08 4:23 
GeneralRe: getting data given by the user and store in database... Pin
Mark J. Miller2-Apr-08 9:56
Mark J. Miller2-Apr-08 9:56 
GeneralGuys pls suggest me a good project definition using .NET Pin
paresh_sarjani31-Mar-08 18:05
paresh_sarjani31-Mar-08 18:05 
GeneralRe: Guys pls suggest me a good project definition using .NET Pin
Bradml31-Mar-08 21:00
Bradml31-Mar-08 21:00 
GeneralRe: Guys pls suggest me a good project definition using .NET Pin
Ali Rashid2-Apr-08 17:49
Ali Rashid2-Apr-08 17:49 
GeneralE-commerce Standards Pin
Edmundisme31-Mar-08 10:07
Edmundisme31-Mar-08 10:07 
GeneralRe: E-commerce Standards Pin
Bradml31-Mar-08 12:27
Bradml31-Mar-08 12:27 
GeneralRe: E-commerce Standards Pin
Edmundisme31-Mar-08 12:41
Edmundisme31-Mar-08 12:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.