Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    no borders/toolbar/address bar, on a regular window (not on a popup)

    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
    Last edited by rudi souza; 07-07-2006 at 03:14 PM.

  • #2
    Regular Coder feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question what you mean?

    What you mean? how you want it?
    Exp:
    PHP
    .NET

  • #3
    Regular Coder feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts

    iS THAT RIGHT

    you want a popup window but in full screen mode?



    Exp:
    PHP
    .NET

  • #4
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #5
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Last edited by rudi souza; 07-07-2006 at 04:02 PM.

  • #6
    Regular Coder feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up This is the code

    Code:
    <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!
    Exp:
    PHP
    .NET

  • #7
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Last edited by rudi souza; 07-07-2006 at 04:24 PM.

  • #8
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    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
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #9
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Last edited by rudi souza; 07-07-2006 at 05:10 PM.

  • #10
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    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
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #11
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •