Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
David R. Wheeler #1
Re: control browser window size
Yes, what you are wanting to do is easily done with JavaScript.
However, like the majority of folks, I'd really appreciate it if you wouldn't try to take over my browser. It's considered very rude to try and force people to do things your way.
A much better solution is a flexible design.
--
Dave
-----------------------------------------------------------------
If I were half as smart as people think I am...
I'd be twice as smart as I was before I forgot everything.
(Official victim of CRAFT Syndrome)
David R. Wheeler Guest
-
Control the size of the window
Is there a way, in Dreamweaver, to set the size of the window? Thanks, David -
Specifying html browser window size from Flash link
I'm hoping someone knows how to do this -- I've been struggling with it for several days and just can't figure it out ... I want to set the... -
specifying web browser window size
Can this be done? Need to open html file in web browser (easy enough) but need the browser window to be a specific size. Can this be done through... -
Safari - can't restrict the size of a new browser window
I have a new browser window with a specified size. I've specified that I don't want scroll bars or a resizeable window. The new browser window looks... -
Control Browser size?
Hi Can I control the size of the browser window using php or javascript? I know I can control pop ups, same sort of thing maybe? Thanks in... -
Just Looking Around is All #2
Re: control browser window size
You can not control properties of a browser window that is already
opened....like toolbar, status bar ect...
This will resize your browser window to the intwidth and intheight you
specify. just place it in the <head></head> tags
<Script Language="javascript">
<!-- Begin
var intwidth;
var intheight;
intwidth=750;
intheight=550;
intwidth=parseInt(intwidth);
intheight=parseInt(intheight);
if(intwidth>0&&intheight>0) {window.resizeTo(intwidth,intheight,
"toolbar=no,location=no,status=no,menubar=no,resiz able=no");
}
// End -->
</script>
"imostsiat22" <webforumsuser@macromedia.com> wrote in message
news:be1j2p$i2p$1@forums.macromedia.com...size of the browser window that it opens into? possibly something that will> Is it possible to put something into my html code that will control the
let me control all of the window properties. I know how to control a new
window being opened using javascript but i want my index page to be a
certain size.>
> -thanks
>
>
Just Looking Around is All Guest
-
Dan-CFTagStore.com #3
Re:control browser window size
Hi,
You can use:
window.resizeTO(width,height)
<script>
var width=200;
var height=300;
window.resizeTo(width,height);
</script>
Regards,
Dan.
Check Out : [url]www.cftagstore.com[/url] for the latest and greatest Coldfusion custom tags and components!
Built by developers, for developers!
Dan-CFTagStore.com Guest
-
Just Looking Around is All #4
Re: Re:control browser window size
You can not adjust the properties of a window that is already open. fyi
you control the scrollbars with
scrollbars=No or Yes
<Script Language="javascript">
<!-- Begin
var intwidth;
var intheight;
intwidth=750;
intheight=550;
intwidth=parseInt(intwidth);
intheight=parseInt(intheight);
if(intwidth>0&&intheight>0) {window.resizeTo(intwidth,intheight,
"toolbar=no,location=no,scrollbars=no,status=no,me nubar=no,resizable=no");
}
// End -->
</script>
"yakumo" <webforumsuser@macromedia.com> wrote in message
news:be408f$jcf$1@forums.macromedia.com...> <Script Language="javascript">
> <!-- Begin
> var intwidth;
> var intheight;
> intwidth=750;
> intheight=550;
> intwidth=parseInt(intwidth);
> intheight=parseInt(intheight);
> if(intwidth>0&&intheight>0) {window.resizeTo(intwidth,intheight,
> "toolbar=no,location=no,status=no,menubar=no,resiz able=no");
> }
> // End -->
> </script>
>
> Hi, how do you remove the scrollbars please, thanks:)
>
>
Just Looking Around is All Guest



Reply With Quote

