Help - Search - Members - Calendar
Full Version: Non-Resizable Pop Ups in FireFox
HTMLHelp Forums > Programming > Client-side Scripting
Devon
So this is the generics of the code I'm using, of course customised to what I need.


CODE


<script language="JavaScript">
// Place this script within <head> section.

function goPop(){
goPopWindow = window.open("http://www.mysite.com/popup.html","","width=350,height=300,");
}
</script>

<!-- Place within <body> section -->
<a href="java script:goPop()">Click Here</a>




In I.E. this works just fine, but I want to make it truly un-resizable in FireFox.

Now, it won't let you resize it from the horizontal or vertical edges of the FF browser window, however there is a part in the corner of the browser which will let you resize it anyway which I don't want (Screencaps available on request if need be.)

I was wondering, is there an extra bit of code to get rid of the bottom status/resize bar in FireFox?

Thanks!
Brian Chandler
QUOTE
In I.E. this works just fine, but I want to make it truly un-resizable in FireFox.


You misunderstand. It's my computer. If I want your webpages displayed in a window of the size I choose, any decent browser (running on _my_ computer) will let me.
Frederiek
See the FAQ at http://htmlhelp.com/faq/html/links.html#window-specify.
Devon
QUOTE(Frederiek @ Feb 25 2008, 03:08 AM) *


I just read the link you posted but not sure I saw the answer. All it did was tell me how to make a non-resizable window but it was what I already knew. I have done all of that through my Web Authoring Program (not allowing certain toolbars, etc.)

However it's in FireFox only that the bottom status bar stays and a corner resizer shows up. My question is if there was an extra bit of coding that was ever made or can be used to eliminate it in FireFox.
Frederiek
Since I didn't see any of the following booloean parameters (which take "yes" or "no" as a value): directories, location, menubar, resizable, scrollbars, status, and toolbar in your code snippet, I assumed you were not aware they existed.

I don't use Firefox, so I don't know about any "fancy features" which keeps you being able to resize the window, despite having coded it not to. The FAQ entry generally works on all javascript enabled browsers. So you might have to search for Firefox specific code.
Darin McGrew
Once again: It is not your browser. You are not in control.

Even MSIE allows the user to disable JavaScript completely, and modern browsers allow the user to selectively disable specific annoyances while leaving JavaScript enabled.
Brian Chandler
QUOTE(Frederiek @ Feb 26 2008, 01:28 AM) *

I don't use Firefox, so I don't know about any "fancy features" which keeps you being able to resize the window, despite having coded it not to.


There's an interesting grammatical error in the above sentence: generally, when you have a subordinate clause in an -ing form, its subject has to be the same as the subject of the main verb. Of course it would seem odd to "code" something to do one thing, then expect it to do another, but the whole point is that the subjects are different. What you mean is a "fancy feature" that allows me to operate my software appropriately, even when some power-crazed freak is trying to persuade it not to. But that shouldn't be a "fancy feature", it's just how the software should be designed naturally.
Frederiek
Yeah well, I'm not a native english speaking person, as you can probably recall. Excuse my error, if misinterpreted.

I meant that despite the fact that the OP claimed to have done everything to avoid resizing of the window (which I didn't see in the code snippet), FF still allowed the resize. Darin already made a clear point about that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.