bythefsh
asked on
self page no menu,status,scroll or toolbar
I know this question has been asked and answered here:
https://www.experts-exchange.com/questions/20770228/self-page-no-menu-status-scroll-or-toolbar.html#9572631
however, because the resulting solution was on a site that is now unavailable i'm asking it again. i.e. speyfisher, heres a couple of easy points. how do i get a flash to be the browser. i want it sized, no scrollbars, no menu, and no browser buttons. I tried a little javascript :
<script>
self.resizeTo(550,400);
self.("status=no, resizable=no, toolbar=no,menubar=no,scro llbars=no" );
</script>
but to no avail.
please help.
thank you.
https://www.experts-exchange.com/questions/20770228/self-page-no-menu-status-scroll-or-toolbar.html#9572631
however, because the resulting solution was on a site that is now unavailable i'm asking it again. i.e. speyfisher, heres a couple of easy points. how do i get a flash to be the browser. i want it sized, no scrollbars, no menu, and no browser buttons. I tried a little javascript :
<script>
self.resizeTo(550,400);
self.("status=no, resizable=no, toolbar=no,menubar=no,scro
</script>
but to no avail.
please help.
thank you.
ASKER
yea, i looked into doing somthing like, but then idon't know how to target="_self" on the subsiquent pages and get rid of the 'no no no null' settings. i thought there might be a way to do it in flash.
I think flash will not be able to do such things.
You can rewrite this JS so it will suit any html file, and you will not need to specify "notoolbars.html" in it.
You can rewrite this JS so it will suit any html file, and you will not need to specify "notoolbars.html" in it.
ASKER
is there a way, on leaving the Flash, for me to re-enable the browser attribute?
What do you mean " re-enable the browser attribute"?
To turn toolbars on again?
To turn toolbars on again?
ASKER
attributes. i.e. pass to _self re-enabling toolbars, scrollbars, menubar, location...
ASKER
hmm that wasn't very clear either what i mean is: on exiting the flash presentation (by clicking a button) all the normal browser attributes are restored.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks, i now see the direction i need to go in. sorry for the belated response.
Create file "notoolbars.html" and put this code into it:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
if(document.location.searc
var toggle = document.location.search.s
if (toggle=="true") {
window.open("notoolbars.ht
self.opener = null;
self.close();
window.resizeTo(800, 600);
}
}
//-->
</SCRIPT>
The main thing - you'll need to open it this way: notoolbars.html?true
Without "?true" it will not be resized and toolbars will not be removed.