Jump to content

Unmovable window


Shadowing

Recommended Posts

Hey guys been looking through what can be done with java script and I was wondering how to make it where a new window opens up and when the window opens up the user cant move the window out side the current browser window. Acctually im wanting to make it where they cant move the window at all.

 

Is this done with window object? Im having problems finding the right keywords on googling this. Like to know what im trying to do and what its called so i can google detail help for it.

Link to comment
https://forums.phpfreaks.com/topic/258882-unmovable-window/
Share on other sites

There's no way to open an actual unmovable window in javascript.  What you can do is open a DIV on top of your page and dim out the page using an overlay div.  Then you can control whether that div is movable or not.  For an example of this setup check out Thickbox

 

Link to comment
https://forums.phpfreaks.com/topic/258882-unmovable-window/#findComment-1327128
Share on other sites

There is a game called lord of ultima

http://www.lordofultima.com/en/

 

and I notice when you open up a window its fixed. So maybe they are just using CSS box then.

I'm not even sure if they are even using CSS/java script/AJAX to do this game. I just assumed. but what else is there. I know they are using .net for the sever side language.

Link to comment
https://forums.phpfreaks.com/topic/258882-unmovable-window/#findComment-1327131
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.