IFrames and Chrome - html

I have a menu iframe and a body iframe setup. In IE when I click the "back" button in the menu it goes back just fine. In chrome it works fine for the most part but there is one instance of that link that will open it in a new page even though it is a replica of other working instances of that back button.
Any ideas of what would prevent a link from working in chrome, a link that works just fine in firefox and IE?
I have a body iframe and a menu iframe.
the menu has links...some of them are targeted at the menu...the new page will redirect the body on load.
sometimes the menu link just updates the body as it doesn't need a menu.
in IE it works great. Firefox and Chrome do not like it. It will work fine the first time. But when you go back and click the link that JUST worked...it will open up in a new tab instead.
New Info:
I did a bunch of research on the issue and apparently
it's a chrome and ff update that is trying to disable iframes. I have yet to find a solution...if you have one let me know!

Related

scrolling bug in Chrome and Opera: related to Ajax?

We have just encountered a Chrome (65.0.3325.181) and Opera (52.0.2871.37) scrolling bug. This is on an intranet page so I can't give you a URL. But if the following symptoms are familiar to you, and you know the specific cause and a fix, please advise.
The scrollbar appears, and about 9 of 50 items can be scrolled vertically into view, at which point scrolling stops. It's as if the page believes there are no more items to be displayed.
However, if a new tab is opened and the URL from the broken page is pasted into its address bar, so that the page is retrieved from cache, scrolling works perfectly in the new tab.

Can't open new tabs or windows beyond the first on IE, Edge, Safari

I'm currently having an issue where I have three major links on this landing / splash page (http://dairyberries.com/) where it's supposed to link out to a new browser tab or window when you click on any of the three main links under the logo. I've used target="_blank" and target="_new" and in both cases on Internet Explorer, Microsoft Edge and Safari, they open the first window but any additional clicks only loads the new site in the same browser window instead of opening yet another new window or tab.
What should happen, and seems to in both Chrome and Firefox, is that if I clicked on all three links, I should see three new browser windows. Not one.
Is there a way around this? Or just a FOL because of browser behavior?
target="_new" is not an actual keyword for the target attribute in HTML5. All you are doing is telling the browser to open a new window. If you did target="_qwerty" you would get the same result.
When you click on one of these links the browser opens a window that it names "new". Therefore when you click on the next link with target="new" it opens it on the same "new" tab.
Applying target="_blank" to the link will provide the behavior you are looking for. I just tested it on your site in Microsoft Edge and it seems to be working fine.
Here is a good answer explaining the issue with target="_new" and why it isn't consistent between browsers:
target="_blank" vs. target="_new"

Website not displayed properly in Safari

My website www.dshinestudio.com is not displaying properly in Safari, but it is displayed correctly in Chrome, Firefox, Opera and other browsers.
Why isn't Safari displaying my website properly?
Do I need to add anything in my code?
Some Safari extensions that block ads or other website content can prevent some page elements from displaying. You can temporarily turn off extensions, then re-load the page to see if this is the issue.
Choose Safari > Preferences.
Click Extensions.
Select an extension, then deselect the checkbox "Enableā€¦ extension." Repeat this step for every extension that's currently installed.
Reload the page by choosing Choose View > Reload in Safari. If the webpage loads correctly, one or more extensions was blocking the content from loading. Re-enable an extensi

CSS drop-down menu links require TWO clicks in Chrome

I have a typical CSS site menu/sub-menu system on a site I built. When viewed in Chrome (latest version, on Windows), each link in each sub-menu requires TWO clicks for the link to work. The first click appears to do nothing at all. It's fine in all other browsers.
I have pared the code down to the minimum that demonstrates the behaviour. You can see the result here: https://www.harmonysite.com/chrome-issue.htm Clicking on the "Sub-menu item" link does nothing in Chrome - the FIRST time. Click it a second time and it works as expected. In other browsers it works the first time.
Any advice would be appreciated.

Putting a focus on a iframe specifically in ie

I have an iframe popping up for a payment portal on my website. When they get to this page I want the iframe to be in focus so they can just swipe their card like directed.
I have tried several different ways to focus on the iframe, but nothing seems to be working in ie.
$('iframe').get(0).contentWindow.focus();
$('iframe').focus();
$('iframe').get(0).contentWindow.document.body.focus();
$('iframe').focus(); works fine in chrome and firefox, but not at all in ie.
Any ideas? Something I'm missing?