PDA

View Full Version : Help Please!!!!!!!!!!!


Mike Mundt
12-15-2001, 03:51 PM
Ok. I need to get a code that will make my window of my page non resizeable. But when i looked online and tried one it didn't work and im not quite sure. I do have frames on my page so im not sure if that had anything to do with it. But i need put the code into the main frame. Not any of the smaller ones. Anyways i would like the kinda of script where the maximize, restore button is grayed out and the window can't be resized. If anyone knows of a script that will do that please help. Or can tell me why the one i used didn't work. Or even direct me to somewhere else to post this question. Thanks very muchh!!!!! Please help!!!!!!

scoutt
12-16-2001, 06:42 PM
unless you can prove it, you can't do that in the main window. only can be done with a popup. the maximize and refresh buttons are controlled by the OS, not the webpage.

anything that is not in the content window you don't have much control with pure JS/html.

same goes with the source. you can not hide the source of your page. or hide/block people from getting images. someway/somehow it is possible to get your page.

webmistress
12-20-2001, 03:41 PM
If you are using a frameset with HTML, it is in its own page, which contains no content. You simply place NORESIZE in the frame tag that is controlling the frame. As far as being able to resize the whole window, there's not much you can do about that.

pixelmonkey
12-20-2001, 03:52 PM
an option would be having an entry page with a click here to enter the site link, which has a set size, no tool bars, no status bar, ect... and also remove the right clicking option. Allow scroll bars up/down but not lr.

thats about the only way i know how to get what you want... unless you make it an applet.

hope it helps!
chris<pixelmonkey>:monkey:

Jon Hanlon
12-20-2001, 05:19 PM
Using script, you can open a new window of a set size, and you can dictate the chrome (close button, resize handles, status bar, tool bar etc.).
What you can't do is alter the chrome of the browser window that the user is currently viewing. This is their preference, and any alteration is not allowed. Otherwise rogue sites could remove the close button, history buttons, location field etc. and trap unsuspecting users on their site.

scoutt
12-20-2001, 05:57 PM
lets have a look at your code there Mike Mundt...