HolidayBuyer's Guide

Web Hosting, Design, & Coding forum

Question

How to re-size browser window sans Javascript?

by goldblade6-24043557367995691448662183250190 / April 21, 2011 2:46 AM PDT

I have a form on my website hosted by ymlp.com, and when someone clicks the "Submit" button, I want a small window to pop up. When I click "Submit" the correct window pops up but not at the correct size.

Discussion is locked
You are posting a reply to: How to re-size browser window sans Javascript?
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: How to re-size browser window sans Javascript?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Clarification Request
The forum eats onload () again.
by R. Proffitt Forum moderator / April 21, 2011 8:38 AM PDT

Sorry but just like the discussion I linked to notes, it does satisfy no javascript in your launch page. Did you catch that?
Bob

Collapse -
Try this
by R. Proffitt Forum moderator / April 21, 2011 8:41 AM PDT

o n l o a d ( )

All Answers

Collapse -
Answer
I like this link.
by R. Proffitt Forum moderator / April 21, 2011 7:04 AM PDT
Collapse -
Clarification
by goldblade6-24043557367995691448662183250190 / April 21, 2011 8:32 AM PDT
In reply to: I like this link.

That link makes it sound like it's not possible, but this "<nload()" somehow does make it possible? How would the "<nload()" code be implemented?

Collapse -
It is still Javascript...
by John.Wilkinson / April 22, 2011 12:28 PM PDT
In reply to: I like this link.

What Bob is saying is:
1.) Do not include anything special on the originating page.
2.) Add Javascript (via the onload event) within the new window that's being opened.

If you cannot add Javascript to that new window, you cannot do what you ask.

Hope this helps,
John

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

HOLIDAY GIFT GUIDE 2017

Cameras that make great holiday gifts

Let them start the new year with a step up in photo and video quality from a phone.