{"id":2580,"date":"2013-04-02T20:38:24","date_gmt":"2013-04-03T00:38:24","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/04\/02\/302-disable-browser-resize-in-phplist\/"},"modified":"2022-03-11T10:54:50","modified_gmt":"2022-03-11T15:54:50","slug":"disable-browser-resize-in-phplist","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/","title":{"rendered":"Disable browser resize in phpList"},"content":{"rendered":"<p>In this article I&#8217;m going to show you how to disable the browser resize feature that is enabled by default in phpList.<\/p>\n<p>When you are working in phpList, anytime that you resize your web-browser window, it causes phpList to totally refresh the screen. This unfortunately causes any data that you had typed on that particular page to disappear.<\/p>\n<h2>Modify phpList file to disable browser resize<\/h2>\n<p>I&#8217;d recommend taking a look at our guide on <a href=\"\/support\/website\/how-to-edit-a-file\/\" target=\"_blank\" rel=\"noopener\">how do I edit a file on my server<\/a> if you are unsure how to navigate to and edit a file on the server.<\/p>\n<p>The following file needs to be modified:<\/p>\n<p><strong>\/admin\/js\/select_style.js<\/strong><\/p>\n<p>Look for this block of code:<\/p>\n<p class=\"code_block\" style=\"width: 500px;\">   \/\/ Handle Navigator 4 window resizing<br \/> if (is_nav4up) {<br \/>    var initWidth, initHeight;<br \/>    initWidth = window.innerWidth;<br \/>    initHeight = window.innerHeight;<br \/>    window.captureEvents(Event.RESIZE);<br \/>    window.onresize = handleResize; } <\/p>\n<p>Now simply comment all of that out by placing <strong>\/\/<\/strong> in front of each line:<\/p>\n<p class=\"code_block\" style=\"width: 500px;\"> \/\/ Handle Navigator 4 window resizing<br \/> <strong style=\"color: red;\">\/\/<\/strong>if (is_nav4up) {<br \/> <strong style=\"color: red;\">\/\/<\/strong>var initWidth, initHeight;<br \/> <strong style=\"color: red;\">\/\/<\/strong>initWidth = window.innerWidth;<br \/> <strong style=\"color: red;\">\/\/<\/strong>initHeight = window.innerHeight;<br \/> <strong style=\"color: red;\">\/\/<\/strong>window.captureEvents(Event.RESIZE);<br \/> <strong style=\"color: red;\">\/\/<\/strong>window.onresize = handleResize; } <\/p>\n<p>Then just save the file, and try to load up your phpList site again.<\/p>\n<p>You should now understand how to stop phpList from resizing your web-browser window.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I&#8217;m going to show you how to disable the browser resize feature that is enabled by default in phpList. When you are working in phpList, anytime that you resize your web-browser window, it causes phpList to totally refresh the screen. This unfortunately causes any data that you had typed on that particular<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[102],"tags":[],"class_list":["post-2580","post","type-post","status-publish","format-standard","hentry","category-phplist"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Disable browser resize in phpList | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article I&#039;m going to show you how to disable the browser resize feature that is enabled by default in phpList.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable browser resize in phpList | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article I&#039;m going to show you how to disable the browser resize feature that is enabled by default in phpList.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-04-03T00:38:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-11T15:54:50+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Disable browser resize in phpList\",\"datePublished\":\"2013-04-03T00:38:24+00:00\",\"dateModified\":\"2022-03-11T15:54:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\"},\"wordCount\":212,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"phpList\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\",\"name\":\"Disable browser resize in phpList | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-04-03T00:38:24+00:00\",\"dateModified\":\"2022-03-11T15:54:50+00:00\",\"description\":\"In this article I'm going to show you how to disable the browser resize feature that is enabled by default in phpList.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disable browser resize in phpList\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Disable browser resize in phpList | InMotion Hosting","description":"In this article I'm going to show you how to disable the browser resize feature that is enabled by default in phpList.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/","og_locale":"en_US","og_type":"article","og_title":"Disable browser resize in phpList | InMotion Hosting","og_description":"In this article I'm going to show you how to disable the browser resize feature that is enabled by default in phpList.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-04-03T00:38:24+00:00","article_modified_time":"2022-03-11T15:54:50+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Disable browser resize in phpList","datePublished":"2013-04-03T00:38:24+00:00","dateModified":"2022-03-11T15:54:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/"},"wordCount":212,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["phpList"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/","name":"Disable browser resize in phpList | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-04-03T00:38:24+00:00","dateModified":"2022-03-11T15:54:50+00:00","description":"In this article I'm going to show you how to disable the browser resize feature that is enabled by default in phpList.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/phplist\/disable-browser-resize-in-phplist\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Disable browser resize in phpList"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2580"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2580\/revisions"}],"predecessor-version":[{"id":95010,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2580\/revisions\/95010"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}