Link to home
Start Free TrialLog in
Avatar of bythefsh
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,scrollbars=no");
</script>

but to no avail.
please help.
thank you.
Avatar of hsmtp
hsmtp

There is a javascript solution.

Create file "notoolbars.html" and put this code into it:

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
      if(document.location.search != "")  {
         var toggle = document.location.search.substr(document.location.search.indexOf('?') + 1)
          if (toggle=="true") {
              window.open("notoolbars.html", "", "toolbar=no, location=no, status=no, menubar=no, scrollbars=no");
                  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.
Avatar of bythefsh

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.
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?
attributes. i.e. pass to _self  re-enabling toolbars, scrollbars, menubar, location...
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
Avatar of hsmtp
hsmtp

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
thanks, i now see the direction i need to go in. sorry for the belated response.