/    Sign up×
Community /Pin to ProfileBookmark

Help – Creating a full screen window from a CURRENT window

Hi

I am trying to create a full screen window from the current window that I have open.

I know how to create a full screen window but it requires that I pop-up a screen. I don’t wiant to do…instead, when someone clicks on my link or types in my web page I want the current window to become full size.

Does anyone know how to do this:

Note below is the code I use to pop open a window and make the screen full size.

(Press Alt+4 to kill the full-screen window)

Any help on this issue would be appreciated:


——————-

Here is the code: Put it between the <body> tags to see it in action.

<script>
<!–

/*
Full Screen Window Opener Script-
© Dynamic Drive ([url]www.dynamicdrive.com[/url])
For full source code, installation instructions,
100’s more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*
/

function fullwin(targeturl){
window.open(targeturl,””,”fullscreen,scrollbars”)
}
//–>
</script>

<form>
<input type=”button” onClick=”fullwin(‘http://www.dynamicdrive.com‘)” value=”Open window”>
</form>


———————–

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Mar 26.2006 — You can not do it. There is no way to do it, and I am happy there is no way to do it with the current window.

Eric
Copy linkTweet thisAlerts:
@kursonauthorMar 29.2006 — Hi.

Thank you for responding.

The reason for wanting to create a full size screen is that I do not want to pop a window (for among other reasons pop-up blockers), which seems to be the only way I can think of to create a full monitor window.

I have thought of an alternative idea but do not know how to execute it and that would be as follows:

A link from the parent window opens a child window...upon opening the child window, simultaneously that perent widow kills itself with a self.close code, so that only the child widow would exist.

Two questions:

  • 1. Can I do this?


  • 2. if I can do this, would the pop-up blocker not execute as only the child window would exist?
  • Copy linkTweet thisAlerts:
    @VladdyMar 29.2006 — No, you can not close window that you did not open.

    How about this: your site is a quest in MY BROWSER WINDOW. Make it fit.
    ×

    Success!

    Help @kurson spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...