Closed Thread Icon

Preserved Topic: Horizontal Scrollbar Disabled ? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18103" title="Pages that link to Preserved Topic: Horizontal Scrollbar Disabled ? (Page 1 of 1)" rel="nofollow" >Preserved Topic: Horizontal Scrollbar Disabled ? <span class="small">(Page 1 of 1)</span>\

 
PaulSmith
Bipolar (III) Inmate

From: Manchester
Insane since: Jun 2001

posted posted 07-07-2001 13:26

Hello Chaps,

I was wondering if it were possible to have a javascript which automatically maximised the browser window
and disabled the horizontal scrollbar ??

Thanks,


Life in the Bus Lane : Weblog

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 07-07-2001 15:46

don't resize windows.

there is very little more infuriating than a website maximizing my browser.

makes me want blood.

it can be done....but, please, don't


just my 2¢



kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 07-07-2001 19:19

Me too. Tell you what DL, if he does it, I'll hold him down and you kick the shit out of him.



mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-07-2001 19:24

Hey, that's not fair - two against one...

Anyway, count me in - make it three against one (j/k)!

PaulSmith
Bipolar (III) Inmate

From: Manchester
Insane since: Jun 2001

posted posted 07-07-2001 19:41

LOL, ask a simple question get a barage of abuse! That is a temp measure untill I can diable to horizontal scrollbar.

Bye the way I'm fecking Kick Boxer 3 times a week at the gym, you would all
get your arse kicked ! "I own joo" as they say in Q3A online. !



Life in the Bus Lane : Weblog

kretsminky
Maniac (V) Inmate

From: A little lower... lower... ahhhhhh, thats the spot
Insane since: Jun 2000

posted posted 07-07-2001 20:37

I have guns. Lots of guns.

And a Rotweiler.

Ok, that last one is a lie.

But I do have guns.

OK, thats a lie too.

I have hard metal objects to throw.

And bad gas from eating too much Mexican food yesterday.

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 07-07-2001 21:22

Yah, I don't approve of resizing windows either, but if you simply *must* do this thing, go steal the code from the first page of the handson site, at http://www.handson.nu/ - It's only called if you request the glass tutorial, and if your window is too narrow it'll leave the height alone and nudge the window just a bit wider. (As subtle and polite as I could make it. I was thinking of saving the width you started with and moving it back there, onUNload() ... It's not called too often, but a few times! Mainly it's a fix so that the DHTML doesn't explode in Netscape when you re-size.

Your pal, -doc-

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 07-07-2001 21:24

OK, here's that code for you...

function resizeWindow() {
var netscape = (document.layers) ? 1:0

if (netscape) {
windowWidth = window.innerWidth;}
else { windowWidth=document.body.clientWidth; }

if (windowWidth < 766) {
spacer = 766-windowWidth;
window.resizeBy(spacer,0); }
}

Your pal, -doc-

PaulSmith
Bipolar (III) Inmate

From: Manchester
Insane since: Jun 2001

posted posted 07-07-2001 21:38

Cheers Doc, knew I could rely on you.

I could do it myself but to be honest I am in lazy mood and feel like
ripping someone elses.



Life in the Bus Lane : Weblog

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 07-08-2001 02:17

That's the spirit.

But, um, let me challenge you on this: if there are problems with horizontal scroll bars, there's a very good chance that it's due more to a faulty (but fixable) design than to users having their browsers too small. If I were you, I'd work on making the design fit better in small windows and forget about changing the window size. *especially* if the design is greater than 700 pixels or so in width, 'cause then it wont really work on computers with an 800 x 600 resolution anyway, no matter how big their window is.

PaulSmith
Bipolar (III) Inmate

From: Manchester
Insane since: Jun 2001

posted posted 07-08-2001 12:29

Thats the thing, it fits on the screen as the design is CSS and Liquid but at 800 x 600
it still fits on the screen but adds small horizontal scroll bar at the bottom even
though it fits. When you scroll to the right there is nothing simply blank white
almost like a padding or margin.

I am trying to fix it but wanted to disable the scroll bar until it is fixed.

Life in the Bus Lane : Weblog

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 07-08-2001 19:57

BTW you can't really disable one scrollbar without scrolling the other but if you put

<style>
body {overflow: hidden}
</style>

You should lose any scrollbars

Oh I think I know your problem. You'r gonna get that annoying grey line.
Hmm this won't solve your problem.

You need to make the design a bit smaller than 8x6 for it to fint


Walking the Earth like Kane

[This message has been edited by bitdamaged (edited 07-08-2001).]

keystroke
Nervous Wreck (II) Inmate

From: TX, USA
Insane since: Jun 2001

posted posted 07-09-2001 17:26

Since you mentioned that at 800x600 it fits with just a bit of padding.
Have you tried removing that padding? For netscape it's
MARGINHEIGHT="0" MARGINWIDTH="0" in the body tag of the page.

/<eystroke

[This message has been edited by keystroke (edited 07-09-2001).]

« BackwardsOnwards »

Show Forum Drop Down Menu