All of the navigation displayed on the first page does not appear on the second page. No0 new browser window or tab opens - it simply overwrites what is currently displaying in the current window - as I expect it to since it is linking to another page on the same site which by definition in my browser overwrites the current page.
Your visitors decide what opens where - not you - so you have no control over whether they have their browser to use the current tab, open a new tab or open a new window. If you don’t allow for their choice then you end up with a situation like this where your page with all the navigation links has gone and the page now displayed has no links in it.
If you want people to be able to navigate your site then the links should be down either side of the details pages that open from the navigation links on the home page so that people can get from one to another without having to constantly hit the back button in their browser to go back to the one page that has the navigation on it.
No - my browser has JavaScript enabled. The browser is set to open all links to pages from the same site in the same tab and links to different sites are allowed to open a new tab. That’s the default. If I want to open a page differently from that then I would right click and select where to open the new page. I have the default set like that because tI don’t like new browser windows and I try to keep the number of tabs to a minimum.
The browser owner always gets to choose where things open and how the web page has coded it will only apply if the visitor has their browser defaults set to allow it to open that way and they don’t decide to override it at the time of clicking the link.
Where web pages open has nothing to do with whether JavaScript is enabled or not - it depends entirely on your browser settings of what you want the default to be and whether you right click to select to override that default.
Ok, I see, but that is not the case either. If you arrive at a pop-up from one of the main pages, you simply close the pop-up and are still on the main page.
if you arrive at the page directly from the web, in the old pages, at the bottom instead of “Close” tyou have “Please visit our whatever page” and the logo is also a link to the site. The last thing I want is to lose the visitor!
As for the JS disabled, I assume that in that case the “pop-up” which is not a pop-up would not appear and therefore you would not have a problem of navigation.
I find that very strange. What is causing that in your system? When you press the link for theBarcelona city transportation the pop-up appears but the main page remains underneath! Why does it disappear in your case? I would like to know to see if there is a reason for that.
I would be interested to know what you get at the bottom of the pop-up IF the main page disappears. Do you get a “Close” or a “Please, visit our barcelona page” ?
In fact, if you open not the Barcelona, but the Punta Cana page which is the newest the brown area at the top is in itself a link.
If I were to close the page then I wouldn’t have the browser open any more and would need to re-open the browser and then navigate back to your site.
Everything is appearing in a single browser window in one tab because my browser is set to NOT open anything in new windows.
Where things open is your visitor’s choice NOT yours. Your page needs to cater for overwriting the prior page even if you expect it to normally open in a new browser window.
I am not seeing your version of the page for direct arrival at the page from elsewhere on the web when I click on the link to go to it from the main page even though my browser does not open it as a popup.
If you want the page to display differently in a popup then you should use media queries to decide what displays in the page based on the viewport width (assuming that if it opens in a popup that the viewport will be a lot smaller). Where your visitors decide NOT to display the page in a popup you need to display all of the navigation so that they can rturn to the previous page without needing to press the back button.
I wonder what percentage of people do that? I can live with 5%, not with 50%!
Could you do me a favour, please? Open http://pintotours.net/Americas/DomRepublic/Punta.php click on the “At the airport” and tell me what you get at the very bottom.“Close” or “Please, visit our Punta Cana page”
If they open as a page they get a different bottom link in the old pages, and two sidebars with plenty of links in the new pages. The old ones are also being updated.
The percentage would be gradually growing as people understand that they can take more control of how their browser works.- I’d expect the percentage of people who change their browser defaults to get the browser working the way they lwant it to will eventually go way above 50% even if it is only a few % now. Anyway there is no way to tell whether it is 0.9% or 90% as nothing gets passed to the server regarding browser settings to allow you to tell how many people have done what with their settings. You just have to cater for what people might have done with the things where the browser gives them the choice.
Your simplest solution to what you are trying to do that will work for everyone regardless of settings is to have one copy of the page with media queries in the CSS that determine what parts of the content are displayed based on the viewport size. When your visitor allows you to open a new window you can control the viewport size and so for that viewport size your CSS can do a display:none for everything except what you want in the popup. If the page is accessed directly or your visitor doesn’t allow a new window to open the viewport is bigger and the CSS doesn’t hide any of the content. Then you have one copy of the page that works both ways and which doesn’t break if your visitors change the settings in THEIR browser.