Rina Parakh

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromRina Parakh
ToMe
SubjectManipulating Browser Self Properties
Date15 April 2005 19:47
Hi,
Firstly, thanks for your service. Its a great help.
I was searching your site for script to help me manipulate browser window.
Its a browser window that opens from a button in a flash movie.
so i want to set the size, position and remove scroll bars and menu bars
from the browser window.
I wanted to know if i can use the script within the window itself to give
it a fixed size, remove scroll and menu bars.
 
Thanks a lot,
Rina.


Rina Parakh
FromMe
ToRina Parakh
SubjectRe: Manipulating Browser Self Properties
Date16 April 2005 00:52
Rina,

> I wanted to know if i can use the script within the window itself to give
> it a fixed size, remove scroll and menu bars.

The simple answer is 'no'. The window can set its own size. But
unfortunately it cannot remove its own scrollbars or menu bars. These
can only be hidden by the function that opens the window:
http://www.howtocreate.co.uk/tutorials/jsexamples/popwin.html

alternatively, hold the script on the page that the flash movie is on,
and get the flash to call the function in the javascript. My 'perfect
popups' may be able to do what you want here:
http://www.howtocreate.co.uk/perfectPopups.html

That page also gives the code to resize a browser window that can be
included in the opened page. However, the hiding of scrollbars and menu
bars still needs to be done by the request that opens the window.


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
FromRina Parakh
ToMe
SubjectRe: Manipulating Browser Self Properties
Date18 April 2005 16:39
Thanks a lot, I really appreciate the reply.
Myself being a designer I did not really understand how to script it.
 
Thanks anyway,
Rina.
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.