Autosize browser window

Hello I am looking for a way for a window to size itself to predeterminded dimensions when opened.
I have seen several examples of having a link that resizes the window it opens but that's not what I need. Only the home page needs to be a certain size, no need to put the open popup on all of the other pages linked to the home page...
Can this be done with a preload script in the header? I remember that GoLive had a behavior for this but that was long ago. Thanks to anyone that can point me in the right direction. -Derryl

Unfortunately, it's not just as easy as deviating from "web standards". Modern browsers now disallow such actions and as such you will find any answer to your solution has less than desired results. It is unlikely you will get an answer that will give you consistent results across browsers. You may need to re-think about what you are trying to achieve.
An example of this:
<body onLoad="moveTo(0,0); resizeTo(800, 1200)">
The code above WILL NOT WORK in Chrome, recent versions of FF and IE9 that I have tested. The reason it won't work is due to browsers actively disabling this ability. I only got it to work in IE7.
If you google "resize browser window onload" you get a bunch of answers/solutions. All more or less telling you the same thing.

Similar Messages

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

  • Need help to open a blob from a report into another tab or browser window.

    Hello everyone.
    I'm looking for a bit of guidance on something I'm trying to do in Apex.
    I have a report that contains a blob. Users can click on the link to open it in same browser. I also know how to make it download if they click the link. But what I really want to do is to click the link and open the blob in another tab or browser window.
    Thank you in advance for your help.
    Dw
    I should have noted I'm using version 3.2
    Edited by: DW Brown on Feb 22, 2012 3:13 PM

    DW Brown wrote:
    It becomes a link from the column format section..
    DOWNLOAD:<tablename>:<column>:ID::MIMETYPE:FILENAME:LAST_UPDATE_DATE::inline:Click Here
    So far I haven't found a way to use something link "target=_blank"One way would be to use a Dynamic Action to apply the <tt>target="_blank"</tt> attribute to each link, or convert them to use APEX pop-ups or a jQuery lightbox like fancyBox.
    Create an example on apex.oracle.com if you need more assistance.

  • Opening New Browser window for click event on an image

    hi all,
    I want someone to help me out solving the problem of opening
    a new browser window on the mouse click event of an image or a
    button etc.... The new window would contain the datagrid details
    from the main window, but in an expanded form. If at all there is a
    solution, I even want to know whether there is anyway for sizing
    the poped up window,because I dont want the new poped up window to
    cover the entire screen.
    For getting better idea of my problem, the best example I
    could give is the popup window that appears when we click on the
    preview button while posting the message to the forum.
    Someone please do help me out in this regard.
    Thanks,
    amar.

    I'd definitely try to use a Flex popup... but the
    flash.net.navigateToURL method is a simple way to open a popup
    window in a new browser. You can pass any data needed by the new
    page using the URLRequest and/or URLVariables. The URL you navigate
    to could, of course, be another Flex application if necessary. I
    use this only when I need to open a popup window on another site,
    or an HTML formatter report or something similar.
    Concerning yourself with the size of the popup window may be
    a bad design choice also. I, for example, have my browser
    configured to open all popups in a new tab regardless of sizing
    constraints imposed by the designer. If it is absolutely necessary
    for you to have control over the size of your popup window, you
    should follow the advice given by others and use a Flex
    popup.

  • Targeting url hyperlink to blank browser window

    Hi everyone,
    I have an indesign file and have created some hyperlinks that go to specific URLs. After I export to pdf the file is uploaded and is embedded in a browser. When this happens, the problem is that when the hyperlink is clicked, the destination page opens in the same browser window, so I wondered if there was a way to customise the link in Indesign so that it will open in a blank browser window once the pdf file is within the browser. I know I would have to use target="_blank" but I don't know if there's a way to add this within ID.
    I wondered if anyone has had this scenario and whether there's any solution?
    Once again, I appreciate any advice.

    There's the APex javascript function you can use html_PopUp - you can use it in the button's URL Target:
    google it to get more details - you can specify the new window name e.g. myWindow and window size etc
    javascript:html_PopUp('http://www.google.com','myWindow');

  • When I have multiple browser windows open - but in the "minimized" mode - and I want to open up one of them for viewing, ALL of the windows automatically open as well. How do I prevent this annoying function. I cannot find it anywhere in the options.

    This does not appear to be a system issue, but rather a functional aspect of the browser windows. E.g., if I have 7 browser windows open to different sites... and all are Minimized, and I decide to open one to study, THEY ALL POP OPEN automatically. I am using Firefox v3.6.8 on Windows 7. This is an annoying behavior of the browser, and I am sure it can be somehow "turned off" but cannot determine how to do that. I have looked through all options. I am not a techie, but have reasonable proficiency with software apps.

    This can happen if you drag a tab slightly down in the browser window while clicking.
    Firefox has a feature called tear-off tabs
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
    You can also do this via the right-click context menu of a tab: Move to New Window
    You can drag that tab back to the tab bar in the original window to undo that detaching.
    * https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

  • How do i control an external movie in a separate browser window?

    i am creating a website for a band, with an mp3 player. i
    want to be able to make an mp3 player that pops up in a separate
    browser window. the mp3 player would have a "playlist" that can be
    dynamically changed from the main window, which gives a list of
    albums & tracks to choose from. the model for this is
    Rhapsody's web interface.
    so, how would i go about creating & dynamically changing
    the playlist (while music is playing) across multiple browser
    windows? the "playlist" would be an array of references to mp3s, i
    guess-- so is there a way to pass events & variables across the
    windows?

    This URL has simple demo on LocalConnection.
    http://actionscriptandflex.blogspot.com/2010/09/localconnection-example-in-actionscript.ht ml

  • How do I make my website fit in all size browser windows?

    Hi there,
    I should start off by saying that I am very new to web design, and have very limited knowledge of CSS and HTML.  I understand what they are and the nature of what they do, I'm just not code savvy. 
    Now that that's out of the way, I've been designing/attempting to build a website using Dreamweaver.  I have all of the components and layout that I want designed and ready to go, but I desperately need help with translating that into Dreamweaver.  I've been researching information all over the web, but with one person suggesting one thing and another suggesting something completely different I'm afraid my brain is about to melt.
    Here's what I've done so far:
    Because I want everything fully customized and to use a less common font style, I saved everything from the graphics, photos, and links as .png files.  I then inserted each of those images into an AP Div Tag in Dreamweaver and arranged them appropriately.  That's absolutely all I've done.  It works great, except I have no idea how to configure everything so the site layout shows up centered in any size browser window, instead of sitting awkwardly in the corner.
    Here's a link to what currently exists: http://ikikatawares.com
    I've read dozens of articles and forum responses about building tables, but I'd like to avoid that since to me they seem clunky and kind of a hassle to deal with.  Can anyone please help me?  Thanks.
    Beth

    You need to put only the bold part into your code.
    Immediately after your starting <body> tag add in
    <div id="wrapper">
    and immediately before your ending </body> tag add in
    </div>
    Then at the end of your css, you currently have...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    Change that to...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    #wrapper {
         position:relative;
         width:1005px;
         margin:0 auto;

  • How do i get my navbar to stay on one line when the browser window is minimized?

    I am new to coding and have just created my first website in html and css.  I know that the coding is pretty dire and that I have a lot to learn and hope that someone can guide me in how to solve this problem.  When the browser window is minimized, the navbar breaks down into 2 or 3 lines but I want the navbar to fit to the window whatever the size of the client machine.
    I think I need to add a media query but i'm not sure if i do and if so what code to use and where to put it?
    I am worried that the page will only be viewable properly on a desktop and i really want to learn how to make a fluid layout which can be viewed on 320px, 768px and 1200px.
    Any guidance would be greatly appreciated.
    Here is my code:
    HTML
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>The Engineer's Corset</title>
    <link href="styles/style.css" rel="stylesheet" type="text/css" media="screen">
    <style type="text/css">
    body {
        background-color: #000;
    </style>
    </head>
    <body>
    <div id="container">
    <div id="navbar">
        <ul id="nav">
        <li><span class="current-menu-item">Home</span></li>
        <li><a href="about.html">About Us</a></li>
        <li><a href="workshops.html">Workshops</a></li>
        <li><a href="news.html">News</a></li>
        <li><a href="gallery.html">Gallery</a></li>
        <li><a href="contact.html">Contact Us</a></li>
        </ul>
    </div>
    <div id="header">
      <img src="images/final/headerbeauty3.png" width="1100" height="341" alt="The Engineer's Corset">
    </div>
    <div id="links">
    <ul id="link">
    <li><a href="https://www.facebook.com/Bristolengineer" target="_blank"><img src="images/final/fb3.png" width="200" height="45" alt="Follow Us on Facebook"></li>
    <li><a href="https://twitter.com/Engineerscorset" target="_blank"><img src="images/final/twitter2.jpg" width="200" height="45" alt="Follow us on Twitter"></a></li>
    </ul>
    </div>
    <div class="chantry">
    <img src="images/final/CD Logo fin.png" width="240" height="200" alt="Chantry Dance Company">
    </div>
    <div class="about">
      <p> The Engineer's Corset is a new play written by Janet Goddard for performance by the community of Bristol in 2015. <br>  ~ <br>
    The play is based on the extraordinary real-life events of 1843 surrounding Isambard Kingdom Brunel's near-death experience after swallowing a coin.  We travel through time to explore the adventure and horror of Victorian industrialisation. <br> ~ <br> Using a community theatre group The Engineer’s Corset tells a familiar tale of Brunel’s near death experience when he swallows a gold half sovereign. His wife Mary fights to maintain her composure but is ripped apart by the waiting game. Her servants and his workforce, using dance and sound, broaden her horizons. Just like Mary the audience too will see life in the 1840s through a different lens.</p>
    </div>
    <div class="workshops">
    <img src="images/final/bridgebridge.jpg" width="1100" height="713" alt="clifton suspension bridge">
    <span><a href="workshops.html">We will be running a series of workshops prior to production and hope you will join us.  For further information, click here.</a></span>
    </div>
    <div id="sponsorspace"></div>
    <div id="footer"> <p> &copy; Heartprints Web Design 2014 </p> </div>
    </div>
    </body>
    </html>
    CSS
    @charset "utf-8";
    /* CSS Document */
    body {
        font-family:Arial, Helvetica, sans-serif;
        font-size:125%;
    @media screen {
        #navbar:
    #navbar li {
        font: 25px Arial;
        display: inline;
        list-style-type: none;
        background: #09F;
        color: #000;
        border-radius: 20px;
        padding: 15px 25px;
    .current-menu-item {
        color: #0FF;
    #navbar a {
        padding: 15px 25px;
        background-color: #6cf;
        color: #000;
        text-decoration: none;
        border-radius: 20px;
    #navbar a:hover {
        background-color:#0FF;
        color: #000;
        padding: 15px 25px;
    #header {
        width: 1100px;
        height: 340px;
        margin-left: 50px;
        margin-top: 0px;
        margin-bottom: 0px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
    #links li {
        display: inline;
        width: 700px;
        margin-left: 300px;
    .chantry {
        margin-left: 40px;
    .about {
        position: relative;
        width: 860px;
        text-align:center;
        background-color: #CCC;
        color: #000;
        border-style: ridge;
        border-width: 3px;
        border-color:#09F;
        border-radius: 15px;
        float: right;
        margin-top: -200px;
        margin-right: 90px;
    .workshops{
        position:relative;
        width: 1100px;
        height: 713px;
        font-size:24px;
        margin-left: 50px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
        margin-top: 130px;
    .workshops span {
        position: absolute;
        background: #6CF;
        color: #000;
        left: 30px;
        top: 30px;
        right: 800px;
        padding: 15px;
        font: 1em georgia, serif;
        font-style:italic;
        text-align:center;
        border: 5px solid #09F;
        border-radius: 20px;
        margin-top: 35px;
    .workshops span a {
        color: #000;
    #link li {
        border-style: solid;
        border-color: #6CF;
        padding: 30px 10px 5px 10px;
    .info {
        text-align:center;
        width: 1100px;
        margin-top: 50px;
        margin-bottom: 50px;
    .CDC {
        float: left;
        margin-right: 50px;
        margin-left: 45px;
    .workshopinfo {
        height: 250px;
        text-align:center;
        margin-top: 50px;
    .photos {
        Height: 500px;
        text-align:center;
        margin-top: 50px;
    #footer {
        text-align:center;
        margin-top: 700px;
        color:#0CF;
    .brunel {
        margin-top: 50px;
        margin-left: 400px;
    #workshops2{
        width: 1000px;
        border-style: outset;
        border-width: 5px;
        padding: 15px;
        border-color:#09F;
        background-color: #6CF;
        margin-left: 100px;
        text-align:center;
    #workshops2 a {
        color: #000;
    #sponsorspace {
        height:  300px;
        background-color: #6CF;
        border-style: outset;
        border-color: #09f;
        margin-top: 15px;

    Give #navbar a width that is wide enough to hold all of the buttons within it.
    #navbar {
         width:####px;
    Replace #### with a pixel number large enough to hold the nav buttons.

  • Some artists don't qappear in browser window for a playlist

    I've been struggling to find a way to browse a large library of classical music. The browser window is a great idea but I can't find a way to add a browser window pane for the Composer tag. So I selected all the tracks with composer=beethoven and made a playlist.
    I notice that some artists for tracks in the playlist don't appear in the Artist browser pane. (For example, Szell/ Cleveland Orchestra.) I don't know how many Artist names are missing from the Browser's Artist but there are at least 2 missing.
    I can see the Artist name "Szell..." in the track listings for the playlist. If I'm browsing the library, I see "Szell ..." in the Browser window Artist pane. I just don't see "Szell ..." in the Artist Pane of the browser window for the Beethoven Playlist.
    I tried deleting the Beethoven playlist and re-creating it. I get the same problem again.
    I'm using iTunes for Windows v 4.7.1.30. I haven't upgraded to the latest iTunes for Windows because I see reports of problems after the upgrade.
    Bill

    My quess on weather or not an artist's name appears
    depends on the nature and quality of the CD. On my CDs
    of Beethoven symphonies or piano concertos Beethoven's name
    will appear.
    As I said in my first message, the artist name appears in the track listing. I have edited the tags to show the correct composer ("Beethoven" in this case) and to show the soloist then conductor and then the orchestra in the artist tag. ("Szell/ Cleveland orchestra" in this case.)
    I see the "Szell..." in the artist field for the tracks for the symphonies conducted by Szee in my library. When I select Library in the source list, I see "Szell..." in the Artist Browser list. However, when I select the Beethoven playlist, I don't see "Szell ..." in the Artist Browser list. I see the tracks listed and the Artist field says "Szell ..." as expected.
    This isn't a problem with the information in the CDDB database iTunes uses to get the tag values it assigns to tracks from a CD. I've edited the tags to fit my conventions.
    Bill Hunt

  • Since I installed Firefox 3.6.3, every time I open Google Notifier, two Firefox browser windows open.

    I am running Firefox 3.6.3 on my Mac G5 and my MacBook.
    Since I installed Firefox 3.6.3, everytime I open Google Notifier, two Firefox browser windows open. This happens on both of my computers.
    This never used to happen before, in the earlier versions.
    How do I make it so that only one browser window opens?
    == This happened ==
    Every time Firefox opened
    == I installed Firefox 3.6.3 ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    I got this all screwed up too.
    hmm.. where to start?
    3.6 and 4.0 beta - really aren't intended to play well together.
    As has been mentioned above, they tend to write over each other.
    I managed to get both 3.6.15 and 4.0 beta 12 on the same machine.
    But, I had to do it several times.
    I got lucky by deleting everything Mozilla, then installing 4.0b12, then 3.6.15 - while making sure that each installed into a separate folder.
    I also took care to copy out a couple of BookMark BackUp files - just in case.
    My old 3.6# had become so bloated - and, Unstable - for Me, it was time.
    The bookmarks were all that I was still interested in.
    All the Plugins, Themes, AddOns, etc... had slowed the app to a crawl.
    So, I did as complete a wipe of Mozilla bloat code that I could, including profiles.
    I then did some registry cleaning.
    Then I installed 4.0b12 and 3.6.15.
    I can't open them both at the same time.
    If I open 3.6.15 first, then open 4.0b12 - the beta comes up as 3.6.15.
    If I open 4.0b12 first, then open 3.6.15 - the 3.6 comes up as the beta.
    This has a lot to do with both apps sharing the same default profile.
    I hope to drop down to one app in the near future.
    So, cobbling multiple profiles in order to diddle side by side apps - isn't worth it at this stage.
    For me, I can't open FF 4.0b12 when my virus protection is running. PCTools doesn't like some thing about the way FF4.0 wants to phone home when it opens.
    So, I can't commit to the 4.0b12, yet.
    3.6.15 was crashing on open too - until I uninstalled the feedback addon. - go figure -.
    Also, I can't get the 4.0b12 to start in safe-mode with the PCTools antivirus running.
    At the rater they are going, I don't see 3.6.# going away any time soon.

  • I installed 4.01 and now when I click on a link in the menus or the seach window, the whole firefox browser window jumps

    This happens when I click on most menu links. For example, if I click on Help and select "About Firefox" the entire browser window jumps. The same goes for if I click on the default search box or on the Google Toolbar search box.
    If I click on something out of Firefox, such as my desktop or an open program, it jumps when I click the Firefox tab on my task bar to return to Firefox.
    When I click a shortcut link, such as in bookmarks, it does not do it.

    For those of you who have tried to clear this problem up with virus scans, various malware scanning programs, tdss rootkiller, etc....I have another possibility. I found another thread on this very forum where someone suggested the problem was in the router...specifically, there were manually entered DNS addresses in the router setup. I logged into my router (192.168.1.1) and sure enough, there were DNS addresses loaded and it was setup to use those DNS addresses. I simply clicked on the option to pull the DNS addresses automatically from my ISP, changed the password, and the problem was gone.
    Thanks to cr85tx for the solution!!!
    https://support.mozilla.com/en-US/questions/697011?page=1

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • I click on a link or start typing text in a box on a webpage, any page, and the browser window either randomly changes size, reduces & goes to the toolbar, or some other strange random thing occurs. Why is this?

    Whenever I am using Firefox, when I am on a webpage (any webpage) & I either click on a link in that page, start typing in a box, click on a button, or click on a tab, the browser window either reduces to the toolbar, or just changes size, usually from full-screen to 2/3 of its size. I reinstalled Firefox (downloaded from the web) after wiping my hard drive because I was having so many problems from my browser constantly crashing, to the computer itself crashing often, to the computer running exceptionally slow. At first everything seemed fine. But then after having opened my computer a few times, a few different windows began to freeze, then that stopped, then this thing with the browser started a few times later after opening it. Now it does it every time I open it. Also, whenever I try to click on a button on other windows on my computer, I get the 'warning' sound, nothing happens, then after a couple more tries, the button works. All of this is just weird. I had antivirus protection on my computer, but it apparently did not catch whatever virus infected my computer, or the damage was already done when it did get it. I thought once the hard drive was wiped, that everything would be ok, but then these weird things began to start up, and now I am wondering.... Of course, it could also be something wrong with the browser, too. I've also had some trouble getting my printer to working again, but I've managed to solve that problem.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Since the last upgrade, FF no longer runs on my laptop! I get the crash report box but it never restarts upon pressing that option. I can't try the safe mode or the other self-help options because no FF browser window opens.

    FF worked fine before I accepted the latest update just a few days ago. My friend who lives far away said that she also has problems since the upgrade. When I click on the thumbnail to open FF no window opens, all I see is the crash report. Without the window I can't try the self-helps or give a crash ID (from what I understand from reading the options). None of the options in the crash report restore the browser. When I click on one, the box just pops right back up.
    Other than general slowness of my system and some possible hacking which got someone into my paypal account this week, I've had no other computer issues. (I've changed my email address with PP & changed my email passwords in case someone is accessing my machine through my email...I'm not very computer literate...I don't believe this can happen, yet no other options were presented).
    Because my friend also experienced this crash issue I think this is totally related to the upgrade & what ever it did to my computer such that FF no longer loads.
    Please give me steps to fix this issue without FF running--all the self-help techniques seem to assume that I can run FF, get a browser window, utilize the links therein. I can't get a window open at all!

    YAY!! I have Safe mode!!
    um, now what?

Maybe you are looking for