Accordion getting sporadically hidden in IE 7-8 - javascript

I am using jQuery accordion on a web page. In IE 8, it gets hidden sporadically sometimes when user clicks on some other window. I am not able to get why is it behaving like this. When I inspect element in HTML developer tool I could see accordion and if I change some value in that, accordion gets visible again. Can somebody please help me to identify what is the problem? If I use debugger mode everything works correctly.

I looked at code carefully and observed that accordion code was added in one extra tag but strange that only IE was not able to run it properly. So I removed that extra wrapper and its running properly now.

Related

Drop-down-menu not working on second page

I have to make a website for school and we have to make a drop-down-menu. I've made one and it works fine, but on my other pages the drop-down-menu won't open when I click on it.
Can somebody help me?
I'd recommend that you use the chrome developer tools to check and see what happens to the other pages when you click the button that's supposed to initiate the dropdown menu.
If nothing happens, right click the button and hit inspect in developer tools to verify that you're targeting the correct element, and to verify that the dropdown menu actually exists on all your pages.
Most likely you haven't linked the javascript file on the other pages. Can't say much without you showing what you've done first.

Multiple tinymce textareas on one page -- correct chrome menu not always appearing

I have a page with multiple tinymce textareas, using the browser's default context menu. The issue I'm having is that sometimes Chrome will show the correct textarea context menu (cut, copy, paste, etc.), but every second time I open the context menu (roughly), it shows the non-textarea content menu (back, forward, reload, etc.)
I've a sample Fiddle here demonstrating the issue: http://fiddle.tinymce.com/Bugaab
If you right click in either text area (in Chrome) a few times, in different locations, the different menus will appear.
I'm fairly sure I'm initializing the controls correctly. The problem doesn't occur with only a single textarea.
Any help appreciated.
Not quite. It's not a tinymce context menu at all. That's Chrome's context menu when it opens inside an input or textarea. It has different menu items depending on the context.
I said earlier that the issue didn't occur when only a single tinymce textarea was on page, but I see now this was incorrect. The issue happens for every tinymce textarea.
I think the problem is to do with the area of the textarea. Tinymce hides the actual native textarea control and draws its own, and it’s probably incorrectly mapping the dimensions somehow, confusing Chrome into thinking the mouse click is outside the control.
From what I’ve seen, the norm with this control is to use its own context menu rather than rely on the browsers, which is probably why I’ve had such difficulty finding mentions of the Chrome problem anywhere.

Ajax Catalog Events only working when Inspect Element Open

I have had https://github.com/czone-tech/magento2-ajaxified-catalog installed within a Magneto 2 store and its worked perfect for ages however suddenly stopped.
Strangely it works if i open inspect element. There are no errors shown in console and am unsure what would be the difference or cause different based on inspect element.
This is occurring if you navigate to a category like http://staging.buzzcateringsupplies.com/bar-supplies/bar-utensils/cocktail-utensils.html and select a filter on the side the page reloads. Try the same with inspect element open and the expected ajax behavior occurs. Is there anything anyone can suggest that would cause this?

Javascript specific to Chrome

I have lots of rails and javascript code in one project. So far it works fine, but on one particular place Javascript is not working in Chrome, works in other browsers.
The form itself has a checkbox. Once it is selected it will enable textboxes on the form. On initial load, it is not enabling the fields. But as soon as I select "inspect elements" in Chrome, and close inspect elements window it starts working, javascript kicks in and works as it should.
There is so much code behind, that it would be really difficult to post it here. I am hoping there is some "magic" only specific to Chrome.
Did anyone ever had this kind of problem before?

Dynamically generated onclick triggering the wrong event in IE

So I have a 4 window frameset that is setup so that when the main content page loads, it changes the menu options on the left frame menu. Everything works correctly in FF and Chrome, but IE is giving me a problem. I think the problem lies in the javascript.
In IE, the menu items correctly change text, but when clicked on seem to trigger the wrong link. I have an example setup here.
Click on Customer Login on the left, then Sign Up in the main content area. From here, if you click on New Order/Browse, you'll arrive at the Create Order screen when using FF or Chrome. In IE, you'll find yourself back at the login screen.
I need help in getting the menu links on the left working correctly in IE7.

Categories