In this article I'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 page to disappear.

Modify phpList file to disable browser resize

I'd recommend taking a look at our guide on how do I edit a file on my server if you are unsure how to navigate to and edit a file on the server.

The following file needs to be modified:

/admin/js/select_style.js

Look for this block of code:

// Handle Navigator 4 window resizing
if (is_nav4up) {
var initWidth, initHeight;
initWidth = window.innerWidth;
initHeight = window.innerHeight;
window.captureEvents(Event.RESIZE);
window.onresize = handleResize; }

Now simply comment all of that out by placing // in front of each line:

// Handle Navigator 4 window resizing
//if (is_nav4up) {
//var initWidth, initHeight;
//initWidth = window.innerWidth;
//initHeight = window.innerHeight;
//window.captureEvents(Event.RESIZE);
//window.onresize = handleResize; }

Then just save the file, and try to load up your phpList site again.

You should now understand how to stop phpList from resizing your web-browser window.

Continued Education in Course phpList
You are viewing Section 1: 302: Disable browser resize in phpList
Section 2: 301: Process bounces from Gmail in phpList
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!