choobakka Posted March 22, 2006 Share Posted March 22, 2006 is it possible to change the position (ie location) of prompt boxes on a webpage?if so what is the syntax i need to use?thanks Link to comment Share on other sites More sharing options...
scott100 Posted March 22, 2006 Share Posted March 22, 2006 I don't think this is possible with javascript, i may be wrong though Link to comment Share on other sites More sharing options...
Webworldx Posted March 22, 2006 Share Posted March 22, 2006 Pretty sure all the modal dialog's are set by windows itself, so nope Link to comment Share on other sites More sharing options...
alleyCat Posted March 22, 2006 Share Posted March 22, 2006 I think you can change position by using css. Link to comment Share on other sites More sharing options...
Webworldx Posted March 22, 2006 Share Posted March 22, 2006 I've never seen anyone do that, so i'd be interested to know how. It'd be a bit of a security issue if you could change the location of a modal box, as you could then force say, an activex download off the screen and trick the user into hitting enter.The only thing i've seen that comes close, it to override the default window.alert with your own DIV method, like here:http://slayeroffice.com/code/custom_alert/Obviously you'd want to change the code a bit to include a prompt though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now