Shadowing Posted March 14, 2012 Share Posted March 14, 2012 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. Quote Link to comment Share on other sites More sharing options...
kicken Posted March 14, 2012 Share Posted March 14, 2012 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 Quote Link to comment Share on other sites More sharing options...
Shadowing Posted March 14, 2012 Author Share Posted March 14, 2012 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.