Link to home
Start Free TrialLog in
Avatar of frankybones
frankybones

asked on

self page no menu,status,scroll or toolbar

the following is what I got:


<script>
self.resizeTo(595,446);
self.("toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no");
</script>

except I still can not get the toolbar, status bar, menu bar etc etc to function properly.
Where did I go wrong?
Avatar of MarcosBL
MarcosBL

You can't do this with self window, simple impossible, but you can do a little mage trick like this ;) :

a.html have this code:

<script>
window.open ("b.html",,"toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no"); ... etc
</script>

This opens the content page, with height and width you want, and behind it is a.html
Now only need to close a.html with this code on b.html:

<script>
opener.opener = opener; opener.close();
</script>


If you need adittional help, just ask. :)
Avatar of frankybones

ASKER

I see what you are saying.

This is what I am trying to accomplish.  I want to open up another flash page from one flash page using a link in the flash file.  I want the second page to open without the toolbar and menu and status.  How would that work or would it just be easier to perform the script above?

Thanks
I don't know a word about Flash, but i suppose you can add a link to "javascript:window.open ('b.html',,'toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no');" inside the Flash.

Now, in b.html, you just drop the code of the flash file, and after it, the javascript to close previous window:
<script>
opener.opener = opener; opener.close();
</script>
just in pure html after the <object>... to draw the swf file.

:)
may need to use fscommand, try posting a link in the http://oldlook.experts-exchange.com/Web/WebDevSoftware/Flash/ area to this question, you should get some interesting extra feedback!
sorry, i see you already did that!
ASKER CERTIFIED SOLUTION
Avatar of speyfisher
speyfisher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial