Set the size of the browser window?

Can Muse define the size of the browser window when it opens. It's that I want to resize it to a certain size, when it opens the browser window.  I know you can do it using javascript, but it would mean mucking with html/javascript files after publication. I want to know if Muse can do this for me.

No, Muse is unable to do so. If it were, it might be "mucking around with JavaScript. And at a very general level, this is just a terrible idea. It's bad behavior and rude users to mess with their office meticulously arranged windows. Or in other words: it is the design of web sites for 10 years.

Mylenium

Tags: Adobe Muse

Similar Questions

  • Full screen swf don't auto-size until the browser window is resized

    Hi all
    I posted my test here at http://www.urbanlinx.com/Test.swf.
    I have 4 MCs in the film. A header, content box (Center), footer and background image.
    When the browser is set to scale the background will scale proportionally to the widow and maintains its proportions.
    My problem: when the clip is loaded first, the background is not resized until the browser to resize manually by the user.
    Is there a code I can add that will check the size of the window prior to the loading of the movie?

    My code is attached.
    Stop();

    Stage.scaleMode = "noscale";
    Stage.Align = "tl";
    Stage.addListener({onResize:reposition});)


    function reposition() {}
    var header = _root.myHeader_mc;
    var bg = _root.image_mc;
    var content = _root.myContent_mc;
    var _root.myFooter_mc = footer;

    var NPOS;

    NPOS = getNewPosition (header);
    Header._x = nPos.x;
    Header._y = 0;

    NPOS = getNewPosition (content);
    Content._x = nPos.x;
    Content._y = nPos.y;

    NPOS = getNewPosition (bg);
    BG._x = nPos.x;
    BG._y = nPos.y;

    NPOS = getNewPosition (footer);
    footer._x = nPos.x;
    footer._y = Stage.height - footer._height;
    };

    function getNewPosition (mc) {}
    var agree = Math.floor ((Stage.width-mc._width) / 2);
    var = Math.floor ((Stage.height-mc._height) y / 2);
    return to {x: agree, y: Y};
    };

    reposition();

    Stage.scaleMode = "noScale";
    Automatic resizing
    stageListener = new Object();
    stageListener.onResize = function() {}
    backgroundResize (_root.image_mc);
    };
    Stage.addListener (stageListener);
    Background resizing
    function backgroundResize (image) {}
    var imageHeight = 400;
    var imageWidth = 700;
    var wRatio = Stage.width/imageWidth;
    var hRatio = Stage.height/imageHeight;
    Report higher
    If (wRatio > hRatio) {}
    var ratio = wRatio;
    } else {}
    var ratio = hRatio;
    }
    Resize
    If (Stage.width < = imageWidth & & Stage.height < = imageHeight) {}
    image._width = imageWidth;
    image._height = imageHeight;
    } else {}
    image._width = imageWidth * ratio;
    image._height = imageHeight * ratio;
    }
    }
    backgroundResize (_root.image_mc);

    Special thanks in advance.

    PS: If you know a way to do this with a cleaner code, help would be greatly appreciated... If it is already the correct code... Thanks to all the people in the community who taught me :)

    Well right after that a whole bunch of tracks and errors as much as I found the resize code is not like code reposition. Tried another code to reposition and its working great. It is also much smoother during resizing.

    Here is the code I use. Basically the bottom scales proportionally to the browser window, keeps its ratio and scales of the Center. If anyone has any advice on how to do it more easily if you please drop me a line.

  • Setting a footer at the bottom of the browser window

    Hello

    I would like to know how to repair a footer at the bottom of the browser window while having the body of the drop-down page behind it.  I already have the fixed footer down, but when the body becomes longer than the window, the footer scrolls too.  I would like to have the floating body extends up to the window of exaclty like the page here:

    http://reneguillen.com/

    It is hard for me to decipher the code to indicate how he gets this effect.  Can you help me with this?

    Thank you!

    Foot sticking to aid position: fixed.

    CSS:

    #footer {}

    color: #FFF;

    Background: #000;

    position: fixed;

    / * adjust location * /.

    right: 0px;

    Bottom: 0px;

    padding: 0 10px 10px 0;

    Width: 100%;

    }

    HTML:

    Nancy O.

  • Page DW8 with HTML to fit in the browser window

    I created a basic html page and wish to have the page continue to fit in a browser window as the window changes size. Tried with CSS "background-size = 100%" fixed online codes, but doesn't seem to work.

    The background-size setting is only to set a background image. Would not resize the entire page.

    Several things working against you in your code. The first and most difficult to treat while using it on the page, is "position: absolute". In General, this setting is the opposite of reagent. Position: absolute "can" be used in sensitive designs, but it requires additional code to make it happen. Absolute positioning of objects include an exact amount of pixels high, left, down or to the right of the parent (just up and left by default in DW) element. In your case, #Layer1 will always be 431 pixels from the top of the page and 329 pixels from the left that is decidedly "not suitable."

    These parameters (position, top and left) must be removed and the APDiv/layer button should be ignored here on out if you want your design to adapt to different screen sizes. You will need to learn how to position elements using css float, margin and padding if you want to create something sensible. Running through the tutorials at http://www.w3schools.com/css for some databases. Some other links on css positioning...

    Learn CSS positioning in ten steps: absolute relative static position float

    CSS - float and clear formatting

    Your width settings also say your items to an exact pixel size as well. To make your attentive elements, you can use % width settings. The actual size of an element using a percent width is determined by the setting of its parent element. For example, if you set the width of #Layer1 to 80%, instead of 674 pixels, it will eventually be 80% as wide as thesetting the tag. Given that theis assumed 100% unless otherwise stated, layer1 would end up being 80% of the width of the browser window. With ' width: 60% ", you can use a setting min-width" never get smaller than that "in css. If you set your same #Layer1 width: 80% a min-width: 400px will keep it from never has less than 400 pixels wide.

    Once you have the basics of layouts css under your belt, look into CSS Media Queries. Basically what they allow you to do, is put "break points" in your .css file so "once that window reached 401 pixels or more, use this css instead" so it allows you to write completely different rules for various devices.

  • Given that I've upgraded to 20.0, many keyboard shourtcuts do not work in the browser window: Ctrl + C, CTRL-V, etc.

    Many shortcut keys do not work in apps/sites in the browser window:

    CTRL-C, RIGHT/LEFT/TOP/DOWN-arrow, BACKSPACE (back), CTRL-D, CTRL-T, TAB to move from one field, etc.

    Using the menu commands such as COPY and PASTE work fine, while CTRL + C and Ctrl + V do not work.

    Real pain... (since the upgrade to V20 a few days ago)

    Following another suggestion here, I went in: config and disabled the "allowclipboardhelper.tabs.disabled" parameter set to "false". No change.

    I'm on Mac OSX 10.7.5 (Lion).

    Hello

    Thank you very much. And thanks for the quick response!

    I did as suggested and restarted several times enable or disable addons to isolate the one that generated the problem.

    The guilty were:

    Website and SEO analysis 1.1
    SEOpen 1.2

    Everything seems fine now.

    Take care.

  • Is there a possible solution to this age-old problem which graphics disappear when the browser window is resized?

    example: www.satlinker.de
    If the browser window is smaller than the content, the header image seems well.
    My css stylesheet looks like this:

    #banner {
     padding-left:10px;
     text-align: left;
     font-weight: bold;
     border: 1px solid #000;
     background: transparent url(/media/header.svg) top left no-repeat;
     height: 70px; /*workaround to adjust width*/
     -webkit-background-size:100% 100%;
     -moz-background-size:100% 100%;
     -o-background-size:100% 100%;
     background-size:100% 100%;
    }

    It has nothing to do with svg, similar problems with png images.
    In earlier versions, height adjustment worked as a workaround, but no more in vesion 17.
    There are various problems like the one described in the net:
    for example Bug 282558 - sized image vanishes on browser resize.
    But I can't find any solution - and this bug is described in 2005!

    I was wrong, it was a problem with the svg format. I tried several other formats, each doing its own problems. I tried cleaning the svg with conversion tools code and finally manually with a Publisher - nothing works. GIF and jpg of other problems, so finally I have found a converter of images to http://www.files-conversion.com/, which produces an acceptable png format.

    I think that the rendering of images needs to be improved.

  • My toolbar Adobe Reader that lets save you, print, e-mail, etc. as the document in the browser window/tab is gone and I want to know how to get it back.

    I was unable to view PDF files in Firefox and would get a white screen telling me that I had to re - install Adobe. I did this and still he could not visualize the PDF files in the browser window or tab.

    Now that I've upgraded to the latest version of Firefox, I don't have the Adobe Reader toolbar which used to be a toolbar above a PDF file when displaying in the browser window or tab. I don't have the printer icon, icon of the diskette, email icon, page arrows to scroll upwards or downwards, the percentage of size, etc.. Is there a way to be able to have this toolbar again?

    Hi, I had the same problem. I fixed by changing the hand tool to the selection tool, clicking in the document and THEN by pressing F8.

  • The browser window shrinks when connected to the TV c720

    Hi, hoping someone can help.

    When I connect my chromebook to my TV with a cable HDMI the window of the browser is reduced in size (on the chromebook and on TV) and I can not, then expand it. Display options (when I click the icon appearing at the bottom right) are grayed out.

    I want just the browser window as full-screen, but I can't

    So I wonder - why connect to the TV causes the window to shrink, and can I recover to full size?

    Thank you!

    Cory, you're - correction of a whole, made the last of your options with the main TV, at first it still didn't look right, then I noticed that the resolution had reset to a low, when results changed to high res, bingo, it looked like your last example and is just what I tried to achieve.

    you are a star - problem solved!

  • Muse - how to align an object to the center of the browser window?

    Hi all!

    I would like to have a widget that is aligned to the bottom of the browser window. The intention is, what is the size of the window, the widget will appear so many pixels above the bottom edge.

    Thanks for your help.

    Philippe

    Hi Philippe,.

    You can lock your widget in the lower center of the browser window by using the option of the PIN at the top right of your screen of muse. Let me know if it helps.

    Emily

  • Please help: content still is not fixed with background image when I resize the browser window

    I am designing a Web site and want my content appear in the same location relative to the background image, regardless of whether or not the browser window is resized. How can I do this? (the content always moves when I preview the page)

    You can pin the object on the page so that it remains in the same position with any size of the screen.

    Thank you

    Sanjit

  • Attachment of an element in the browser window - why margins collapsed here?

    Someone at Watch video tutorials form this youtubechannel? I understand everything except this part:


    072 setting an element in the browser window - YouTube

    I read article margins collapse - SitePoint, but in this case I don't understand what the margins are collapsing? We have a header element that has position fixed :

    #header {
        position: fixed;
        width: 1200px;
        background-color: #FFFFFF;
    }
    
    
    
    
    
    

    and we figure element with ID = 'Heroes' (which is just under the header element) with margin-top140px, which is the same as the height of the header:

    #hero {
        margin-top: 140px;
    }
    
    
    
    
    
    

    (HTML):

    
    <div id="wrapper">
      <header id="header">
         ...
      </header>
      <figure id="hero">
         ...
      </figure>
    ...
    </div>
    
    

    )

    But the result is the following:

    Pacific Coastal Highway - Mozilla Firefox 2014-09-04 15.25.42.png

    This problem is solved by adding

    Top: 0px;


    to #header, but I do not understand why the header element also moved down, as it also top of the margin: 140px when there post fixed , which means that it is positioned compared to the browser window:

    An element with fixed position is positioned compared to the browser window.

    Fixed position elements are removed from the normal flow. The document and other elements behave as the fixed positioned element does not exist.

    CSS positioning

    Let's see if I can explain it and no sense of it...

    Because the #header element is pulled out of the natural flow of the document through its position: setting fixed, #hero next item margin collapses with #wrapper since there is nothing in the #wrapper to stop him doing that. In this case, the addition of HTML in the #wrapper, before the item #header or by adding a css padding-top or border-top to #wrapper are otherwise, you can stop thecollapse.

    A fixed element itself doesn't fix left/top of the default browser window (i.e. What are the top and left parameters for), it attaches to its own location in the normal document flow. The rest of the content of the document does not account this positioning and moving as if the fixed element is not there. You can see very well if you give a fixed position to one of your

  • elements and let all the top, left, bottom or right settings. The
  • items under the fixed we will move upward as if fixed is just not there, yet one fixed will always be in its normal flow position dictated by the html code.

    That being said, the 'normal' position of the fixed element #header in the document would be 0/0 of the #wrapper. The #wrapper that has a margin of 140px instance collapse of her second child, because this second child is now the first child, with the removed #header element in the normal flow of the document by post: fixed. Then, without high settings or to the left, the #header knows he must be 0/0 of the #wrapper which is lower in the page because of the collapse. That's why the addition of the question in patches of higher setting, he tells the #header away #wrapper 0/0 to the top viewport: 0px.

    Clear as mud?

  • WebViewer scale with the browser window

    Is there a way to start the sensible scaling of the page layout in the WebViewer (proportionally scale upward and down depending on the size of the browser window)?

    Problem: folios portrait oriented are often grown under the window of the browser. You must scroll down to see the entire page. First scroll to the end of the page, then clicking to access the page following is confusing.

    Any ideas?

    Thank you

    Ulrich haha

    Here is a link to a devnet article describing how to develop embedded Web viewer to fit inside a web browser window, even if it is resized. Note that the embedded Web Viewer that is hosted on your web server in the Organization, rather than on the content hosted at contentviewer.adobe.com.

    Resizing of the integrated Web Viewer | Adobe Developer Connection

    Brian

  • How can I make my swf is displayed correctly in the browser windows?

    I want to publish my Flash file and make it accessible by a link, but it does not display correctly. All angles or curved edges look jagged and uneven. Straight lines are fine, but everything else seems messy. In addition, my last swf is amplified to fill the window of the browser for a reason, which looks terrible. I didn't know the question before scaling and I can't understand what the problem is this time. Files I posted before still displayed to the normal size of the file work, but it works differently. I use Flash CS6, and I tried to download and view my swf in Chrome and firefox. The swf dimensions are 1280 by 720. Thank you

    If you link directly to the swf instead of an html page that loads the SWF then the swf will size itself to fit the browser window.

  • Try to float my icons so that they are always in the lower right of the browser window.

    I am currently using tags div to achieve, but because I am now fields a preloader, I can't use this method. I have elements which must float including my logo on the lower left, my icons at the bottom right and request a tab on the top right of the window. I also need my main_mc to be centered in the browser window. I could do all this using CSS and DIV tags but because I would use a preloader, need to understand how do have instead.

    Someone said in a previous debate that I could use javascript in some way to position elements, but do not know much about him. If someone could put a solution relatively easy to do this I would really appreciate it.

    What kind of preloader is that? Do you use some sort of preloader javascript which shades site and preloads the page? How the preload affects your need to change the CSS? The SWF resize itself?

    If you are not very familiar with JavaScript, it is better to get a frame that will handle things like differences between the browsers for you. jQuery is a very popular and easy to use framework. You can use the class ExternalInterface AS inform JavaScript your Flash loading is completed and use jQuery to measure and align your SWF object. You would need a resize handler to adjust necessary also when the user resizes the browser.

    Although I keep just simple with CSS is better. I don't understand why a preloader is not what allows some CSS work unless the SWF is actually changing the size.

    An example of a JavaScript function using jQuery that ExternalInterface might be called to reposition the SWF, assuming the SWF file has the id = "MainSWF":

    JavaScript

    $(document) .ready (function)

    {

    resize the listener

    $(window) .resize (function () {AlignElements() ;});

    Make sure SWF is absolute positioned

    $('#MainSWF').css({'position':'absolute'});

    call it to begin

    AlignElements();

    });

    function AlignElements()

    {

    Use the top/left properties to align SWF

    var left = Math.round (($(window) () - $('MainSWF').width () .width / 2) + "px";

    Var high = Math.round (($(window) () - $('MainSWF').height () .height / 2) + "px";

    $('#MainSWF').css({'left':left,'top':top});

    }

    AS:

    LIKE, called SWF after preloading

    ExternalInterface.call("saveglobalscore",score) ("AlignElements");

    Make sure you download and load jQuery into your pages, so it is available or not working. There are a lot of other JavaScript frameworks you'll love more or are together lighter on the loading of the basic page for such things. Looking around doesn't hurt.

  • How to move the contents of the footer to the bottom of the browser window

    I use default globe exculpatory for portal ADF applications, but seeing that the footnote page note gets to the bottom of the browser window. Can anyone help here please on how to get there?


    Kind regards
    Frédéric

    Hello.

    Includes your page of templeta in a who follows these steps:

    (1) put your ** in ** to ** without your footer. (Everything except the foot of page and xmlAttributes)
    (2) put your ** with the footer in ** (only the bottom of page).

    With ** you can solve your problem.

    Kind regards. Daniel.

    PD: I stick an updated model that I have pageTemplate_globe with panelStretch. I hope to help you.



    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:PE = "http://xmlns.oracle.com/adf/pageeditor".
    Cust = "http://xmlns.oracle.com/adf/faces/customizable."
    xmlns = "http://java.sun.com/jsp/jstl/core" >






    rendered = "#{! composerContext.inEditMode or facesContext.viewRoot.viewId == ' / oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/siteTemplate/gsr395559d2_16dc_4c21_89f8_f62c184d3bbc/Container.jspx '}" > "


    value = "Copyright 2010 - Oracle and/or its affiliates. All rights reserved. />




    inlineStyle = "width: #{attrs.contentWidth};" » >


    inlineStyle = "width: #{attrs.contentWidth};" » >


    rendered = "#{! composerContext.inEditMode or attrs.isEditingTemplate} '"
    inlineStyle='background-image:url(#{facesContext.externalContext.requestContextPath}/images/globe.png);' >


    inlineStyle = "" border-style: none; ">"



    inlineStyle = "do-size: x-large;" color: white; » />




    ID = "pt_ot6".
    inlineStyle = "color: #558ff9;" make-style: italic; font-size: small; » />







    HAlign = "end".
    inlineStyle = "padding: 6px 8px" >


    inlineStyle = "" white-space: nowrap ">"




    inlineStyle = "color: White;" / >





    value = "welcome #{securityContext.userName}".
    inlineStyle = "color: White;" font-size: small; »
    rendered = "#{attrs.showGreetings}" / >


    destination = "" / admin ""
    rendered = "#{attrs.showAdmin and! attrs.isAdminPage} '"
    inlineStyle = "do-size: small;" color: white; » />


    destination = ' / '.

    rendered = "#{attrs.showAdmin and attrs.isAdminPage} '"
    inlineStyle = "do-size: small;" color: white; » />


    action = "#{o_w_s_l_LoginBackingBean.doLogout} '"
    rendered = "#{SecurityContext.Authenticated} '"
    inlineStyle = "do-size: small;" color: white; » />



    rendered = "#{attrs.showLogin and! securityContext.authenticated}" > "


    styleClass = "NoLabelWrap."

    labelStyle = "font-size: s;" color: white; » >

    value = "#{o_w_s_l_LoginBackingBean.UserName} '"
    columns = "15" / >


    styleClass = "NoLabelWrap."
    labelStyle = "font-size: s;" color: white; » >

    value = "#{o_w_s_l_LoginBackingBean.Password} '"
    columns = "15" secret = "true" / >




    HAlign = 'end' >

    action = "#{o_w_s_l_LoginBackingBean.doLogin} '"
    inlineStyle = "font-size: s;" color: white; » />








    inlineStyle = "(background-image: url(#{facesContext.externalContext.requestContextPath}/images/globe_tab-bkg.png);" background-top position: center; background-repeat: repeat-x; padding-top: 2px; »
    rendered = "#{! composerContext.inEditMode and attrs.showNavigation and! attrs.isEditingTemplate}" > "

    inlineStyle = ' height: 20px; ">



    "{[items="#{navigationContext.defaultNavigationModel.listModel['startNode=/, includeStartNode = false']} ">


    facetName = "#{(empty node.attributes['Target']) |}" (node.attributes ['Target'] is "_popup")? ' {'command': "golink"} ">


    inlineStyle = "do-size: small;" #{node.selected?-weight: bold;} " : ''} »
    action = "pprnav".
    Disabled = ' #{not node.navigable}.
    actionListener = "#{navigationContext.processAction} '"
    clientComponent = "#{node.attributes ['Target'] =="_popup"? true: false}" > "



    align = "afterStart."
    triggerType = "mouseOver" / >


    value="#{node.navigationModel.metadataId}"/ >

    value = "#{node.prettyUrl}" / >

    value = "#{node.title}" / >

    triggerType = 'action' / >





    destination = "#{node.goLinkPrettyUrl} '"
    targetFrame = "#{node.attributes ['Target']}" "
    inlineStyle = "do-size: small;" #{node.selected?-weight: bold;} " : ''} » >

    align = "afterStart."
    triggerType = "mouseOver" / >





    animate = "false".
    rendering = "#{!}" empty node.children}">


    items = "#{node." Children}">



    facetName = "#{(empty node2.attributes['Target']) |}" (node2.attributes ['Target'] is "_popup")? ' {'command': "golink"} ">


    inlineStyle = ' #{node2.selected?» -weight: bold; " : ''} »
    action = "pprnav".
    Disabled = ' #{not node2.navigable}.
    actionListener = "#{navigationContext.processAction} '"
    clientComponent = "#{node2.attributes ['Target'] =="_popup"? true: false}" > "




    value="#{node2.navigationModel.metadataId}"/ >

    value = "#{Node2.prettyUrl}" / > "

    value = "#{Node2.title}" / > "

    triggerType = 'action' / >





    destination = "#{Node2.goLinkPrettyUrl} '"
    targetFrame = "#{node2.attributes ['Target']}" "
    inlineStyle = "do-size: small;" #{node2.selected?-weight: bold;} " : ''} » / >










    launcherVar = 'source' eventContext "Launcher" = >

    to = "#{viewScope.modelPath} '"
    Type = "popupFetch" / >

    to = "#{viewScope.selectedPrettyUrl} '"
    Type = "popupFetch" / >

    to = "#{viewScope.selectedTitle} '"
    Type = "popupFetch" / >

    type = 'Cancel' cancelTextAndAccessKey = 'Close' >

    ID = "pt_r1" / >














    Globe Page template

    Facet for the content
    content


    contentWidth
    java.lang.String
    100%


    showNavigation
    java.lang.Boolean
    #{true}


    showGreetings
    java.lang.Boolean
    #{securityContext.authenticated}


    showLogin
    java.lang.Boolean
    #{true}


    showAdmin
    java.lang.Boolean
    #{securityContext.authenticated}


    isAdminPage
    java.lang.Boolean
    #{false}


    isEditingTemplate
    java.lang.Boolean
    #{false}




Maybe you are looking for