jQuery: The Write Less, Do More JavaScript Library

ThickBox Bug - Back Button in IE

View: New views
5 Messages — Rating Filter:   Alert me  

ThickBox Bug - Back Button in IE

by ripcurlksm :: Rate this Message:

| View Threaded | Show Only this Message

I’ve had some users that accidentally hit back on their browsers when trying to close the thickbox (instead of hitting the Close Button)... is there a way to make it so the user can click back on their browser and it’ll close the thickbox, instead of the browser going back to the previous page in the history?

Or as an alternative, could I disable the back button while a thickbox is open? This only happens in IE, FF closes out the thickbox, but IE is a problem.

Re: ThickBox Bug - Back Button in IE

by OscarGodson :: Rate this Message:

| View Threaded | Show Only this Message


ripcurlksm wrote:
I’ve had some users that accidentally hit back on their browsers when trying to close the thickbox (instead of hitting the Close Button)... is there a way to make it so the user can click back on their browser and it’ll close the thickbox, instead of the browser going back to the previous page in the history?

Or as an alternative, could I disable the back button while a thickbox is open? This only happens in IE, FF closes out the thickbox, but IE is a problem.
You can in no way disable the back button. This would be a security threat if programmers could directly access the browser.

You can make it difficult to leave the current page, but if you want to add a function that when you press the back button in IE to call tb_Close (thickbox close function) it's not possible as far as I know and I also googled it and found nothing as well.

Also, I don't think this is a "bug" isn't this more of usability issue? Your users are deciding to go back when its a pop up/module window? Maybe I am misunderstanding this entire thing. If a user presses back when a ThickBox window is open, no matter what browser, it will go back to the page before. ThickBox is simply putting a sem-transparent div and then a div over the top of that one on the current page.

Re: ThickBox Bug - Back Button in IE

by ripcurlksm :: Rate this Message:

| View Threaded | Show Only this Message


OscarGodson wrote:
ripcurlksm wrote:
I’ve had some users that accidentally hit back on their browsers when trying to close the thickbox (instead of hitting the Close Button)... is there a way to make it so the user can click back on their browser and it’ll close the thickbox, instead of the browser going back to the previous page in the history?

Or as an alternative, could I disable the back button while a thickbox is open? This only happens in IE, FF closes out the thickbox, but IE is a problem.
You can in no way disable the back button. This would be a security threat if programmers could directly access the browser.

You can make it difficult to leave the current page, but if you want to add a function that when you press the back button in IE to call tb_Close (thickbox close function) it's not possible as far as I know and I also googled it and found nothing as well.

Also, I don't think this is a "bug" isn't this more of usability issue? Your users are deciding to go back when its a pop up/module window? Maybe I am misunderstanding this entire thing. If a user presses back when a ThickBox window is open, no matter what browser, it will go back to the page before. ThickBox is simply putting a sem-transparent div and then a div over the top of that one on the current page.
Yes, its just that my boss in particular was having this issue and Ive noticed that FF will close the modal window when "Back" is hit, but IE actually goes back to the last page. Its definitely a usability issue, nothing critical but defiantly an annoyance for traditional users who are not familiar with it. I have seen others post questions about this same issue, but no answers. Thanks for your time

Re: ThickBox Bug - Back Button in IE

by OscarGodson :: Rate this Message:

| View Threaded | Show Only this Message

That is strange you can go back. I just tested it on a couple sites with ThickBox on it and I can't go back. It doesn't add hashes to the url string even. I'm using FF 3.0.2. What version are you using? I can't seem to get the back to close the ThickBox on Firefox. If I go back it goes back to the previous page in all the major browsers, and I couldn't find anything in the ThickBox code to override the back button.

Are you using a key command or just pressing the button and what version of FF are you using?

ripcurlksm wrote:
OscarGodson wrote:
ripcurlksm wrote:
I’ve had some users that accidentally hit back on their browsers when trying to close the thickbox (instead of hitting the Close Button)... is there a way to make it so the user can click back on their browser and it’ll close the thickbox, instead of the browser going back to the previous page in the history?

Or as an alternative, could I disable the back button while a thickbox is open? This only happens in IE, FF closes out the thickbox, but IE is a problem.
You can in no way disable the back button. This would be a security threat if programmers could directly access the browser.

You can make it difficult to leave the current page, but if you want to add a function that when you press the back button in IE to call tb_Close (thickbox close function) it's not possible as far as I know and I also googled it and found nothing as well.

Also, I don't think this is a "bug" isn't this more of usability issue? Your users are deciding to go back when its a pop up/module window? Maybe I am misunderstanding this entire thing. If a user presses back when a ThickBox window is open, no matter what browser, it will go back to the page before. ThickBox is simply putting a sem-transparent div and then a div over the top of that one on the current page.
Yes, its just that my boss in particular was having this issue and Ive noticed that FF will close the modal window when "Back" is hit, but IE actually goes back to the last page. Its definitely a usability issue, nothing critical but defiantly an annoyance for traditional users who are not familiar with it. I have seen others post questions about this same issue, but no answers. Thanks for your time

Re: ThickBox Bug - Back Button in IE

by ripcurlksm :: Rate this Message:

| View Threaded | Show Only this Message

I am on FF 3.0.3 on Windows Vista Pro


That is strange you can go back. I just tested it on a couple sites with ThickBox on it and I can't go back. It doesn't add hashes to the url string even. I'm using FF 3.0.2. What version are you using? I can't seem to get the back to close the ThickBox on Firefox. If I go back it goes back to the previous page in all the major browsers, and I couldn't find anything in the ThickBox code to override the back button.

Are you using a key command or just pressing the button and what version of FF are you using?

ripcurlksm wrote:
OscarGodson wrote:
ripcurlksm wrote:
I’ve had some users that accidentally hit back on their browsers when trying to close the thickbox (instead of hitting the Close Button)... is there a way to make it so the user can click back on their browser and it’ll close the thickbox, instead of the browser going back to the previous page in the history?

Or as an alternative, could I disable the back button while a thickbox is open? This only happens in IE, FF closes out the thickbox, but IE is a problem.
You can in no way disable the back button. This would be a security threat if programmers could directly access the browser.

You can make it difficult to leave the current page, but if you want to add a function that when you press the back button in IE to call tb_Close (thickbox close function) it's not possible as far as I know and I also googled it and found nothing as well.

Also, I don't think this is a "bug" isn't this more of usability issue? Your users are deciding to go back when its a pop up/module window? Maybe I am misunderstanding this entire thing. If a user presses back when a ThickBox window is open, no matter what browser, it will go back to the page before. ThickBox is simply putting a sem-transparent div and then a div over the top of that one on the current page.
Yes, its just that my boss in particular was having this issue and Ive noticed that FF will close the modal window when "Back" is hit, but IE actually goes back to the last page. Its definitely a usability issue, nothing critical but defiantly an annoyance for traditional users who are not familiar with it. I have seen others post questions about this same issue, but no answers. Thanks for your time