Javascript/Html question
How do you make a popup window which
does not allow user to maximize the window?
Web Development
How do you make a popup window which
does not allow user to maximize the window?
by p_veer
Hi,
You can go for alert,to display the message,where it cannot enlarged.Another is prompt,where the message eneterd can be assigned to a field.Try out these things.
Good luck.
Prashanth Veer.
by homeflash
I think you misunderstood.. I dont mean the dialog prompt or window. I meant the popup window where you do your window.open
Sorry, you didnt help me at all
by dave v
The answer you got first is good for sending a message to a user that they can only say 'ok' to. If you really want a brand new window use this:
window.open("url", "windowName", "options")
the url is the url to open in the window (or you could just open it and use document.write to write to it.
windowName is the name of the window.
options is where you specify the attributes of the window you're opening. To make it just a window with no scroll bars, no toolbars, no nothing use you have tospecify at least one attribute (they are all yes by default, unless you specify one then the others are all no). You could use:
window.open("", "newWindow", "resizable=no")
or list any other attribute - there are several. Like height, width, innerheight, innerwidth, scrollbars, and more.
Hope that helps.
Dave
by homeflash
You are closed..
but I am looking for a popup window
where people cannot maximize it. I know those thing, but i know exactly what attribute to gray out maximize button?
by glenda gable
3 Steps:
1) Write the text for the pop-up window
(you can replace MyFont with any name you want particularly and MyText with a name for the text)
2) ActiveX control syntax
(you can replace the popup [next to id] with a particular name you want to identify this popup window with)
3) Call the pop up where you want it
click Here
(make sure popup is the same name you named it in Step 2 and MyText and MyFont are what you called them in Step 1)
(Click here is what text you want the person to click on to use the link.. for example:
Click here to see a popup window
The above line will show a pop up window that says "Click here to see a pop up window"
Let me know if this doesnt work.. it just means I typed something wrong and will go over it again. Hope this helps.
by homeflash
by james_randy
by homeflash
by homeflash
This discussion is closed to new replies.
Sort by Trending