Professional Web Applications Themes

java script browser resize issue - Macromedia Dynamic HTML

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); ...

  1. #1

    Default 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.

    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

    doent.write("<body onUnload=window.resizeTo("+width+ "," +height+")>")

    </SCRIPT>

    oiruop Guest

  2. #2

    Default Re: java script browser resize issue

    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" <com> wrote in message
    news:fpki5e$2f5$macromedia.com... 

    Murray Guest

  3. #3

    Default Re: java script browser resize issue

    ..oO(oiruop)
     

    He's the only one. Nobody else wants that, especially not the visitors
    of his site. Do _them_ a favour and drop the script.

    Additionally in many modern browsers such scripts won't work at all,
    because the browsers prevent such rude manipulations of the user's
    surfing environment. There are things you simply shouldn't touch.
     

    I like my browser to stay in _my_ chosen size. And since it's a good
    browser, it does exactly that.
     

    All I see are images. Where's the website?

    Seriously: You should not only drop the script, but the entire site and
    start again. There's not a single piece of usable content on that site!
    Get a book and learn some basics of HTML and CSS first.

    Micha
    Michael Guest

  4. #4

    Default Re: java script browser resize issue

    i'm not the cd on this site. they just asked me to build it to their specs. i
    told them that it should be redesigned but whatever. as far as content goes,
    the site is still in build and not completed yet.

    oiruop Guest

Similar Threads

  1. How to Lock site against Browser Resize
    By WillVilliers in forum Macromedia Dynamic HTML
    Replies: 4
    Last Post: April 25th, 01:18 PM
  2. Custom control should resize when the browser is resized
    By santel_helvis@sify.com in forum ASP.NET Building Controls
    Replies: 0
    Last Post: November 12th, 07:30 AM
  3. Replies: 2
    Last Post: February 5th, 03:33 PM
  4. resize browser & swf dynamically?
    By hammerthecat webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: January 12th, 04:46 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139