-
---Re: changing window size with javascript
For scrollbars -
scrollbars=yes
For resizeable -
resizeable=yes
When you issue resize command, try passing the above values as parameters,
like -
window.resizeTo(width=650,height=500,scrollbars=yes,resizeable=yes);
Probably this should work. If it doesn't, when you originally open the window
for the first time (b'fore issuing "resizeto"), try opening with scrollbars
& resizeable.
Hopefully this should work out.
Harish
"Kyle" <kfinch@mirexsolutions.com> wrote:
>
>Yes...same old problem, but making headway. Thanks for the links Harish.
This
>is working for me:
>
><script LANGUAGE="JavaScript">
> //<!--
> window.resizeTo(width=650,height=500);
> //-->
></script>
>
>All I need now is scrollbars, and resizeable. How can I add this in?
>
>
>
>
>"Harish Kumar" <Harishm@MailCity.Com> wrote:
>>
>>Hi Kyle,
>>
>>Same old problem with javascript? Probably you can try these links -
>>
>>http://www.elementkjournals.com/asp/9909/asp9991.htm
>>http://tech.irt.org/articles/js128/
>>http://developer.irt.org/script/window.htm
>>
>>HTH,
>>Harish
>>
>>"Kyle" <kfinch@mirexsolutions.com> wrote:
>>>
>>>I need to change a window size with javascript. I've been making it to
>complicated.
>>>Can I just change the size when I log in to the page or do I have to open
>>>a new window? Any examples would be appreciated.
>>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks