Login | |
|
 |
RE: Scrolling in HTA - 12/16/2006 9:28:44 AM
|
|
 |
|
| |
TNO
Posts: 1397
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Instead of using SCROLL=no put this in your body tags: style="overflow:scroll" OR style="overflow:hidden" I think its self explanatory from there, you can change these values like so: document.body.style.overflow="blah"
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Scrolling in HTA - 12/16/2006 11:41:46 AM
|
|
 |
|
| |
dm_4ever
Posts: 2721
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
On the same lines as TNO if you want to scroll bar to appear automatically if needed then just set the overflow setting to "auto" <body style="overflow:auto">
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Scrolling in HTA - 12/16/2006 8:58:38 PM
|
|
 |
|
| |
TNO
Posts: 1397
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
You're right that <body style="overflow:auto"> may save you typing, but depending on the layout of the page, it may not work as desired. It depends on your personal preference.
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Scrolling in HTA - 12/17/2006 2:24:38 AM
|
|
 |
|
| |
swiftoid
Posts: 31
Score: 0
Joined: 10/20/2006
Status: offline
|
Thanks guys, your amazing. You just saved me hours of work reformatting my program. The suggestion work great but is there a way to stop the bottom scroll bar (horizontal) appearing when there is nowhere to scroll to? This is not essential but would be helpful. Thanks again,
_____________________________
Jamie Swift <!---The Swiftanator---!> www.swiftscripts.co.uk
|
|
| |
|
|
|
 |
RE: Scrolling in HTA - 12/17/2006 2:41:56 AM
|
|
 |
|
| |
swiftoid
Posts: 31
Score: 0
Joined: 10/20/2006
Status: offline
|
Just discovered the solution to my own problem. If you set it to auto as in: overflow:auto; it doesn't automaticly display the bottom bar. YAY, thanks for your help guys.
_____________________________
Jamie Swift <!---The Swiftanator---!> www.swiftscripts.co.uk
|
|
| |
|
|
|
|
|