...

View Full Version : no borders/toolbar/address bar, on a regular window (not on a popup)



rudi souza
07-07-2006, 03:10 PM
Hi
I am wondering if its possible to set some of the properties used on window.open, but in an onload function instead.

things like scrollbars=no, toolbar=0, menubar=0, location=0, status=0, resizable=0, titlebar=0.

It would be great to me if I could set this up in any page, not only popups. I have a slideshow wich would look great with this options and in fullscreen (with f11 key) mode. but with a pop up, I cant get rid of the title bar even with f11 fullscreen mode.

thanks

feras_wilson
07-07-2006, 03:47 PM
What you mean? how you want it?

feras_wilson
07-07-2006, 03:50 PM
you want a popup window but in full screen mode?



:confused:

rudi souza
07-07-2006, 03:57 PM
Well, ill try to keep it simple for the sake of me understanding things.

The number one thing I wish I could acomplish is to have scrollbars on an onload function.
The final project should be completly free of borders, title bars and address bars, and the only degree of interference from the user will be having to press the F11 key.

Thing is, Im having trouble trying to figure out if I can have no scrollbars on anything except popups.

I cannot use popups because it wont allow "auto-hide" when we press f11

rudi souza
07-07-2006, 03:59 PM
to ilustrate what I mean

with popup, f11 retains title bars wich is kinda bad for me:
http://www.caiaffa.com/Showcase/testeFULLSCREEN.htm

without popup, f11 looks nice, but I still have scrollbars (all I did was color them black). this wont really work for me because in the future, the idea is to resize the image to completly fit the fullscreen view:
http://www.caiaffa.com/Showcase/testeFadeWaitPre3.php

feras_wilson
07-07-2006, 04:04 PM
<script>
function fullscreenPop(POPurl) {
window.open(POPurl,'','fullscreen,toolbar=no,scrollbar=no,menubar=no,resizeable=no')
}
</script>
<a href="#" onclick="fullscreenPop('http://www.google.com')">Test it here</a>


This works! :)

rudi souza
07-07-2006, 04:19 PM
the thing is that, in this example, after I press f11, i still have to manualy disable things like address bar, lock toolbars, and all other stuff, and I cannot ask the user to do all that manually.

every time someone reloads or visits the page again, he have to perform the same number of boring operations to achieve the fullscreen view

only after all items that appears by right clicking on the title bars are disabled, only then the "auto-hide" option is enabled

by going directly to the url without a pop-up, pressing f11 is all there is to it - besides still having a scrollbar around

A1ien51
07-07-2006, 04:43 PM
You are not going to find a magic wand in the code to do it since most people do not want to goto a site and have our worlds changed. Leave the browser window alone. A lot of browsers not do not allow you to remove toolbars and such so sort of a bummer for you.

Make it look good in a standard window and you should be happy with that.

Eric

rudi souza
07-07-2006, 04:58 PM
The finished project will have a screen saying "press f11 to start the slideshow. press f11 again to exit at anytime". this starts fullscreen mode and capture the event to start the playback.

Im dealing with a kiosk project and I was ordered to deliver things exactly as I described them. My only question was if it is doable, or not.

If you wanna lecture someone, please email my boss.

thanks

A1ien51
07-07-2006, 05:14 PM
If you were doing this 2 years ago, you would have no issues since there was a lot of work arounds that were fixed over time with service packs. Got to love that fullscreen hack to make a chromeless window! Ah those were the days.



If you are doing this as a kiosk type of project than do they have the ability to open IE directly into kiosk mode?

iexplore -k "http://www.codingforums.com"

Than in the css all you would have to do is

body{overflow:hidden;}

and you have no chrome and no toolbars. That is how people run things off of cds to get the effect you are after.

Eric

rudi souza
07-07-2006, 05:39 PM
Thanks a lot, this definitly seems like the best solution possible when my number one directive is to "avoid the need of user interference to the maximum possible".

Im sorry if i was kinda harsh.
This has been a very frustrating process for me since after I fully developed an exe application to deal with the playback entirely, my boss became obssessed with having things run by IE alone, out of the clear blue sky.

So Ive been having to redo the entire project without the many capabilities that a customized media player executable app have over IE.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum