Forum Moderators: open
I need some help with some JS/css.
Basically, I need to grey out the screen and place a loading... message or saving message in the middle of the users screen.
for the loading screen it should run when the user navigates to another page or refreshes the page but I would have a save button that would overright the loading message with a save message. so it should be displayed while the page is still being rendered but removed when the page is loaded.it should also disable users froms from clicking somewhere else on the page.
Hope someonebody can help me with this problem I've had for quiet some time.
I was thinking perhaps a floating div with the message. I know I cant stop them navigating to another site if they use their address bar but on my pages I can like cancel buttons and other links to other parts of my website I dont want them to be able to use this links. So I thought maybe a semi-transparent floating div so that they can still see the underlying page.
I needs to be able to be updated according to the loading status in a similar way to stat bar on web browsers do.
thanks for your help its appreciated.
I was thinking perhaps a floating div with the message. I know I can't stop them navigating to another site if they use their address bar but on my pages I have cancel buttons and other links to other parts of my website I don't want them to be able to use these links until the page has been submitted. So I thought maybe a semi-transparent floating div so that they can still see the underlying page.
I needs to be able to be updated according to the loading status in a similar way to status bar on web browsers do.
thanks for your help its appreciated.