Java script browser resize issue

i'm building a website in dreamweaver for a friend and he
wanted the browser to resize to a specific size once the user goes
to the site. the script i have now works fine, but then when i go
to another page, the browser bounces out and then resizes. is there
a script that would just keep the browser the same size without
having to bounce out? thanks.
and click on any of the left side nav links to see the
browser quickly bounce out and then resize. thanks.

How rude.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"oiruop" <[email protected]> wrote in
message
news:fpki5e$2f5$[email protected]..
> i'm building a website in dreamweaver for a friend and
he wanted the
> browser to
> resize to a specific size once the user goes to the
site. the script i
> have now
> works fine, but then when i go to another page, the
browser bounces out
> and
> then resizes. is there a script that would just keep the
browser the same
> size
> without having to bounce out? thanks.
>
> here's the link to view the issue yourself.
>
http://www.ohhello.tv/index2.html
>
> and click on any of the left side nav links to see the
browser quickly
> bounce
> out and then resize. thanks.
>
> <SCRIPT>
>
> window.resizeTo(724,1000);
>
> </SCRIPT>
>
>
> <SCRIPT LANGUAGE="javascript">
>
> var width = screen.width
>
> var height = screen.height
>
> document.write("<body
onUnload=window.resizeTo("+width+ "," +height+")>")
>
> </SCRIPT>
>

Similar Messages

  • Not only does Adobe flashplayer continue to crash on my operating system (windows 7) but now java script is having issues .... what is wrong with firefox????

    for months I have checked the forums, and seen the same issues with Adobe Flash Player ... I have uninstalled and reinstalled too many times now and am totally frustrated with Firefox,. I just get it working again and Firefox updates and then I have the same issues ... and now my java script is screwing up and it never did before .... this all came after the latest update .... is anyone else having these issues or is my operating system under attack???

    Recent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox are most probably caused by a recent Flash 11.3 update and/or a malfunctioning Real Player browser plugin.
    In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
    [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    [[Flash 11.3 crashes]]
    [[Flash 11.3 doesn't load video in Firefox]]
    Other, more technical information about these issues can be found under these Links:
    http://forums.adobe.com/thread/1018071?tstart=0
    http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    Please tell us if this helped!

  • Help on font sizes and browser resizing issues

    When browsers resize the text, they can have a significant impact on the my designs. I am using CSS positioning, and not tables. I am also using relative font sizes, usually ems. I can get everthing to look right on my pages when the browsers are set at the normal or medium text size. But, i run into problems when the browser is set at the large or largest text size. I need help dealing with this issue in general. But, here's an example that best illustrates the problem:
    I set some white-colored text on a dark background in a  banner at set at 800px x 50px. The font size is set at 1 ems. The background color for the rest of the page is white. So, when the white-colored text fits easily within the banner, everything works okay. But, when the browser resizes the text, the white text flows beyond the dark background color of the banner and becomes invisible on the white background of the page. Is there some way to use margins, padding, or line size to manage this type of situation?
    What are the best tactics to use regarding font size when using CSS positioning ?
    Thanks for any help on this question.

    Thank you for your prompt response. I will put my page on a test server when I can. But, for now, here is my code below.
    I get your point about flexibility.The question is how? What are the best approaches to use?  I have the sense that more experienced designers have some conventional tactics for ensuring the pages read reasonably well even when the text size is enlarged in the browsers, but I am not sure what approach might work in general.
    Part of the issue with this particular design is that I am actually using a background image in the header/banner. And it has a set height:51 px. I don't want it to repeat it vertically whenever someone enlarges the text size in their browser.
    Again, I would appreciate any help offered.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body,td,th {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 1em;
    body {
         margin-left: 0px;
         margin-top: 0px;
         margin-right: 0px;
         margin-bottom: 0px;
         background-color: #000000;
    #Container {
         height: 600px;
         width: 800px;
         margin-right: auto;
         margin-left: auto;
         background-color: #FFFFFF;
    #Banner {
         width: 800px;
         background-image: url(images/800x51bluebackgroundbanner.jpg);
         background-repeat: repeat-x;
         background-position: left top;
         height: 51px;
    #astandardlink {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 1em;
         color: #333399;
         text-align: left;
    #FlashArea {
         float: left;
         height: 400px;
         width: 800px;
    #leftBlock {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #000000;
         text-align: justify;
         float: left;
         width: 58%;
         margin-right: 1%;
         margin-left: 1%;
         line-height: 1.5;
    #rightBlock {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #000000;
         text-align: justify;
         float: right;
         margin-right: 1%;
         margin-left: 1%;
         width: 32%;
         clear: right;
         line-height: 1.5;
    #Logo {
         text-align: left;
         vertical-align: middle;
         float: left;
         margin-right: 1em;
    #Bannertext {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #FFFFFF;
         text-align: center;
         float: left;
         width: 30%;
         line-height: 3;
         white-space: normal;
         display: block;
    #Email {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #FFFFFF;
         text-align: right;
         margin-right: 0.3em;
         line-height: 1.5;
         background-repeat: no-repeat;
         background-position: left top;
         margin-bottom: 1%;
         padding-bottom: 1%;
    .imageleft {
         vertical-align: middle;
         float: left;
         clear: left;
         margin-right: 1em;
    a:link {
         color: #FFFFFF;
         text-decoration: none;
    a:visited {
         text-decoration: none;
         color: #FFFFFF;
    a:hover {
         text-decoration: underline;
         color: #CC0000;
    a:active {
         text-decoration: none;
         color: #FFFFFF;
    -->
    </style>
    </head>
    <body>
    <div id="Container">
       <div id="Banner">
         <div class="imageleft" id="Logo"><a href="pricinginfo.html"><img src="images/Logo177x51.jpg" alt="Darragh Logo" width="177" height="51" border="0" usemap="#Map" /></a>
    <map name="Map" id="Map"><area shape="rect" coords="8,7,166,41" href="pricinginfo.html" alt="Darragh Logo" />
    <area shape="rect" coords="167,39,168,53" href="#" /></map></div>
         <div id="Bannertext">wines to savor with family and friends </div>
         <div id="Email"><a href="mailto:Darragh Cellars, Proprietor, Andrew Aitken [email protected]">Darragh Cellars, Proprietor, Andrew Aitken [email protected]</a></div>
       </div>
       <div id="FlashArea"><img src="" alt="" name="FlashArea" width="800" height="400" id="FlashArea" style="background-color: #CCCCCC" /></div>
       <div id="leftBlock">Darragh Cellars produces boutique wines that express a balance between earth and fruit. Our wines are crafted to provide a rich wine experience for all palates.- Proprietor, Andrew Aitken Produced &amp; Bottled ByCRUSHPAD San Francisco, CA www.crushpadwine.com </div>
       <div id="rightBlock"><a href="pricinginfo.html" id="astandardlink">Reservations & Contact Information</a>: Darragh Cellars offers an extremely limited supply of Pinot Noir and Chardonnay vintage wines. Reservations may be placed directly with Proprietor Andrew Aitken. </div>
    </div>
    </body>
    </html>

  • Java Script: Form Submit issue.

    Is there a way where I can submit two forms ?
    Thats is submit 2nd form only when the first form is submitted.
    I tried this it works.
    function formSubmit(){
    document.form1.submit(); //Submit First Form
    alert(); //This will stall the execution thus form2 will not be submitted till I click on OK
    document.form2.submit();
    }But If I dont put an alert in between, only the second form is submitted.
    If I put a delay of say 3 seconds in between then it will throw a SOCKET CLOSED error in the action event triggered due to first form submit.
    Well Basically when the Alert pop's up the parent page "STALLS" and thus the form2 does not submit till I click on OK, Is there a way I can stall the browser/Parent JSP page using JAVA SCRIPT ??

    Relax people... Ok I will move my querries else where :) ..
    But whats wrong if somebody can provide me an answer ? I am sure most of you know java script , if you dont know then don't answer simple as that.
    You do know that Sun did not create JavaScript, right? So the Sun forum sites may not be the best place to look for a JavaScript forum " {code} 
    You mean to say if something is not from sun I am not supposed to ask a question on that, I agree that this is JAVA Programming forum.
    Peace,.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Java Script in Templates issue

    I have created a help system for our new financial reporting
    system and a developer has created a template which includes Java
    scripted 'Rate this page' radio buttons and a comments field in the
    header. I have imported the template into my project and attached
    all the topics to this template. When I preview or regenerate/view
    the HTML output and click on the comments field an error is
    returned.
    Our developer can get this to work on his machine but not
    mine (I.E security setting have been set to low but it still wont
    work).
    When I generate on the developers machine, we get our Java
    script code in the headers but not when we generate on my machine.

    Sorry - v rude of me:
    Any help/suggestions would be gratefully considered

  • CC has Java Script Plug in issues... CS5 won't let me see all my NEF files... help.

    In CC I am trying Photoshop (I currently use CS5), and it says it doesn't have the java script plug in... am I supposed to magically pluck it out of thin air to get it? I'm not a computer programmer and I am finding CC to be a maddening experience. CS5 won't let me see all the NEF files I have, and I have a client waiting on the images... RAWRRRR... How can I see this images if CS5 only shows me half of my images, and CC won't even let me open anything, not bridge, not files, nothing... help!

    Prompted to install Java SE 6 Runtime | Mac OS 10.9
    Mylenium

  • Java Script and PHP Issue

    I am using a JS date picker and it works great all by itself. However when I link it to a  MySQL db the JS no longer works.  Here is my source code below any help would be appreciated.
    Thanks
    Joe
    <?php require_once('Connections/Runin_db.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO `time` (`Time 1`, `Time 2`) VALUES (%s, %s)",
                           GetSQLValueString($_POST['Time_1'], "text"),
                           GetSQLValueString($_POST['Time_2'], "text"));
      mysql_select_db($database_Runin_db, $Runin_db);
      $Result1 = mysql_query($insertSQL, $Runin_db) or die(mysql_error());
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
      <table align="center">
        <tr valign="baseline">
          <td nowrap="nowrap" align="right">Time 1:</td>
          <td><input name="Time 1" type="text" id="Time 1" value="" />
          <a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);"><img src="images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp" /></a></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right">Time 2:</td>
          <td><input name="Time 2" type="text" id="Time 2" value="" />
          <a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);"><img src="images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp" /></a></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right"> </td>
          <td><input type="submit" value="Insert record" /></td>
        </tr>
      </table>
      <input type="hidden" name="MM_insert" value="form1" />
    </form>
    <p> </p>
    <p> </p>
    <p> </p>
    </body>
    </html>

    I would like to know how to do this process.  I would like my students to complete the module and then enter there name in the certificate line.  Then have them enter their email address so that the certificate can be emailed to them and they can print it off.  I would like to have the certificate be a PDF file so they cannot alter the name of the person who took the course.

  • "Java Script Disabled on your browser. Please Enable it."

    I tried to log-in to this site:
    "http://www.edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx"
    but instead got this message:
    "Java Script Disabled on your browser. Please Enable it."
    I have already enabled JavaScript in settings, but it gives the same error. When I tried doing the same in Internet Explorer (v9), everything was working fine. Please tell me what to do.

    The problem is there's a glitch in the javascript of http://edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx
    There's a form element with an ID of "txtpassword", but in their validation function, they call it with getElementById("txtPassword"). Obviously a case issue, but it apparently works in IE.
    I created a workaround for a user I met in #firefox, a simple greasemonkey script that replaces the function with a fixed version.
    Here's the link:
    http://userscripts.org/scripts/show/102156

  • It gives message that "Java Script Disabled on your browser. Please Enable it." but it is allready enabled what should i do

    While browsing "http://edudel.nic.in" this site when we enter id and password it gives message"Java Script Disabled on your browser. Please Enable it." but it is allready enabled in Tools-> Options-> Content window

    The problem is there's a glitch in the javascript of http://edudel.nic.in/mis/MisAdmin/frmMisLogin.aspx
    There's a form element with an ID of "txtpassword", but in their validation function, they call it with getElementById("txtPassword"). Obviously a case issue, but it apparently works in IE.
    I created a workaround for a user I met in #firefox, a simple greasemonkey script that replaces the function with a fixed version.
    Here's the link:
    http://userscripts.org/scripts/show/102156

  • WAD Java script issue after upgrade to 7.3

    Dear all,
    We have just upgraded our system from BW 7.01 to 7.3 SP4. One of the custom web templates in the system uses java script to hide few items on every screen refresh. Post upgrade, this functionality is behaving strangely, as the hidden items automatically get 'un-hidden' on page refresh.
    Please let me know if there are any known script issues in web templates in system upgrade scenarios. Any pointers would be appreciated.
    Thanks,
    Abhishek.

    Pls check out this link
    http://www.google.co.in/url?sa=t&rct=j&q=java%20script%20issue%20after%20upgrade%20bw%20to%207.3&source=web&cd=7&sqi=2&ved=0CEsQFjAG&url=http%3A%2F%2Fcsc-studentweb.lr.edu%2Fswp%2FBerg%2Farticles%2FBIIT_2011%2FBIIT_Amsterdam%2FBIIT_2011_Berg_BW_73_upgrade_v16.pptx&ei=TT7iTtLgJ8LwrQf2oLDJAQ&usg=AFQjCNEUg1EvXM82AmBaGntD4YY7FZwHXw&cad=rja
    Pls assign points if it was useful.

  • How to include a common java script in all pages to prevent browser closure

    We have already implemented a script to prevent accidentally browser closure. The script has been included in a js static file and loaded in APEX 4.01.
    There is a way to make the script available to all pages without including it in all pages ?
    Ad example to make an item available to all pages is sufficient to include it in page 0 there is somethings similar for java script
    Txs
    Giuseppe.

    Reference the script via a <tt>script</tt> element in the Header section of utilised page templates.

  • How to enable java script in my Firefox browser? help its urgent.

    how to enable java script in my Firefox browser? help its urgent.

    go to '''about:config''' and search for '''javascript.enabled''' change its value to '''true'''
    *[http://kb.mozillazine.org/About:config about:config]

  • Exc in ev handl: TypeError: this.oRoot.enable is not a function This is popping up when I befor I open my browser,in a pop up box under the heading JAVA SCRIPT EXE. What is it, how do I get rid of it?

    TypeError: this.oRoot.enable is not a function
    This is popping up when I befor I open my browser,in a pop up box under the heading JAVA SCRIPT EXE. What is it, how do I get rid of it?

    I did it in my computer, but I can not uninstall the Site Advisor alone. I need to uninstsll the the total McAfee plus. What should I do?
    But another user in my computer they do not have this problem. If I try to use IE or Chrome etc , I can not find this problem. I use firefox since 2006 and do not want to change another one. What should I do?
    By the way I have this problem after I update Firefox6 3 weeks ago and always allow 1 plugin work. The other user in this computer they just allow firefox plugin working 1 times.
    It will pop out if I disable the siteadivsor.
    many thanks

  • How to detect whether browser's java script  disabled or not from server

    How to detect whether browser's java script disabled or not from server side

    I would use a hidden parameter created by a javascript. if this is null, javascript is disabled...

  • Java script issue on screen rendering for all-11-otn4.js

    Hello,
    I am getting java error on screen rendering for all-11-otn4.js line no 12277 and 16073. The java script error I get is, *"A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in debugger, or let the script continue"*. After this page stops responding, i have to close the browser and reopen it.
    I have a table inside my screen. The table is added inside a af:panelCollection and have few toolbar buttons added inside the secondayToolbar facet. This error is commng due to the table toolbar buttons.
    When i check the java scirpt using debugger, it stops at following java script at the bold line,
    AdfUIComponent.prototype.getParent= function()
    var x147=this._parent;
    if (x147===undefined)
    var x148=this._peer;
    if (x148!=null)
    x147=x148.getComponentParent(this);
    this._parent=x147;
    return x147;
    Any idean why this could be happening and any ways to tackel it?
    - Sujay

    Hi,
    did you try with a production build. Sems to me that you use Technology Preview, which is almost 2 years old
    Frank

Maybe you are looking for

  • How to use iphone 3gs to transfer itunes library to mac

    I bought a macbook pro and i am trying to transfer my itunes library from a HP dv7 using my iphone 3gs. itunes version 10.2. the instructions that I am using are for ipod. cant find instructions for using iphone. thanks

  • Solaris? Aolaris? - Solaris 10 installation problem

    Hi, gurus, I downloaded the Solaris 10 GA bits, and successfully installed it in 1 of my PCs very smoothly, the feeling is so good. But when I tried to install it into another PC, I meet big problem. I can not boot from the CD, the system hangs when

  • Grouping Table Columns

    Hi All, In my webdynpro application we need to "Group Table Column".  I am using NWDS 2.0.9. The "Insert Group COlumn" feature is not there in NWDS 2.0.9. If so how ca i group my table columns. Can anyone provide me a solution for this. Regards, Divy

  • Quick Time VR - need help creating qtvr

    I'm teaching my middle school students web design and flash to create an interactive school map. I want to add 360 qtvr's but I need help - I can't seem to get information on how to create them. Any Los Angeles help possible?

  • Why cant i use 3.6 still i like this verison

    cmon firefox i like this verison i dont want to upgrade :((( this best version ever made for font to, i dont like 4 and up..... i cant see why we cant keep browser for years.