Problem with Opera browser

Hi

I have a problem with Opera, that I do not have with other browsers

In popups like in http://pintotours.net/Americas/DomRepublic/StoDomingo.php and then try any link button in the middle column, and when the popup opens click on the map. The map opens UNDER the popup. I want the popup to stay open but under like in all other browsers.

I found one solution, but it is a manual one… that needs converting into some useful code, preferably css/html

If instead of clicking on the map, you right click and choose “open link in new window” the map opens and leaves the popup under, which is exactly what I need.

But how do I put that into code, please?

The problem is the first set of links open in a modal window, where the next is strictly opened using the _blank target. That will revert to the standard browser behavior (in my case, it opens to a new tab). If you want it to open to a new window on TOP of your already existing modal window, you’re going to have to open the map in another modal window.

At some point, you might want to consider if the pop-ups are worth the hassle. Seems like you’re having a number of issues wanting such granular control over the pop-ups.

Hi

That’s half the fun!

In all other browsers it alreday does that, and that is what I want. It is only in Opera that it’s the other way round.

Doesn’t for me in chrome because I have all “_blank” requests going to a new tab instead of a new window…fail!

This behavior falls under the category of “browser control”.
i.e. the browser belongs to the user, not a site

In other words, if you want your browser to behave differently, go into its settings and change them

But that means that it is working fine for me. What I do not want is for the popup to close as you open and eventually close the map.

Or do you mean that the mao opens in anew tab and the popup disappears?

now, I hadn’t thought about that. But then the average user probably doesn’t know that either, or to change the settings.

In my case I do not iuse Opeara and the settings are the original. Assuming that most useres don’t change, or do not know how ro change the settings, cou i come to the original question and ask if there is code that can simulate the manual right click action of the mouse?

OK, to try and make this clearer, let’s set this as a common language - call the browser window with your StoDomingo page in it as window A, and clicking on your linkup creates modal Window B.

If you click on the map in window B, a new tab opens in Window A and focus goes there, which means window B gets hidden BEHIND window A. Very confusing.

But if I understand you right, that is what I want and that is what is happening if you click on the map in any other browser.

have you tried? I cannot see the confusion, but maybe I di not read you right.

Maybe I should restart the thread and not mention my site, and simply ask if there is a kind soul out there that will tell me how to code the right click of the mouse…

You can assume that anyone using a browser other than Internet Explorer, Chrome or Edge probably is doing so in order to get greater control and change at least some settings - even if it is only to add an extension.

Some of those using Chrome almost certainly will as well.

The current version of Opera is almost identical to Chrome so with the default settings they both behave the same.

Hi all!

For about a year everybody has been telling me to get rid of the popups. nd I even agree with them to the extent that if you copy and paste the popups urls into the address bar you get the full pages that will disply as soon as I delete the script from the main page (a 3second job)

Now, I happen to like the popups abd really don’t care if the few visitors that I have do not. As I stressed many times this is ahobby to keep Alzheimer’s away for a few more months!

Right now, all I am trying to do, if you kindly forget earlier posts in this thread, is ask if anyone can help me with code to simulate the right click of the mouse and “the open link in new window”

This also falls under the category of “browser control”

And again

I understand.

But could you tell me how to code to replicate a right-click of the mouse as I explained above, forgetting about Opeara and all the rest?

A one line addition to any browser can disable window.open and disable all popups on all web pages completely. That’s only a one second job - not three.

I know, you and many other have told me that many times, and despite my age I still remember it, That advice does not go in in one ear and out of the other.

I don’t know how to say it, but all I want now is to see if I can get that code, not for the page, but to be able to sleep more soundly.

Also, I do not agree withe quote above because it will not disable my browser, and that is the one that matters! I buold the pages for myself. If someone likes tham good, if they don’t it does bot affect me at all,

You don’t mind that at least some browser will display a dialog box Warning with something like “A script is attempting to open a new window”

I keep repeating myself. I am looking for code to emulate the right click. As long as I get it I will think of something else.

Right now all it matters is what I see, not what the others see.

I guess from this thread that what I ask is impossible and I rest my case!

No, it is not impossible (a Search for “right-click” will bring up many antiquated “solutions”). Only that it introduces more problems than it is worth and any experienced developer has long given up on such endeavors.

Most browsers block right click by default. I suggest you try Netscape 4 as your browser if you want to be able to detect right clicks as that is probably the most recent one that actually allows it.

Yes, because thankfully most browsers take security very seriously.

I still think that as long as

the best approach is to

1 Like