javascript drop down stopped working on Wordpress Woocommerce https page - javascript

This is the site I'm currently working on.
http://www.mackeyshotrods.com/store/
When the browser window is resized to 820px a drop down menu appears in the right hand corner of the site. The drop down menu works great on every page except for the check out page. I cant seem to figure it out why the drop down menu isn't working on an HTTPS page. It has to be a JavaScript error of some sort.
To find the page I'm struggling with add a product to the cart and navigate to the checkout page.
http://www.mackeyshotrods.com/store/?product_cat=clothing
Thank you for your help. i hope someone is smart enough to figure this out.

Try changing your jQuery path from:
http://code.jquery.com/jquery-1.11.0.min.js
To:
//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
Good explanation of why your jQuery might be getting blocked here:
https://stackoverflow.com/a/1056635/2040509

Related

Strange JS redirect & 404

I created a new toolbar for this site and I get this really strange new tab / redirect when on mobile if I rotate the device and try to navigate through the toolbar.
https://www.birthinjurysafety.org/[object%20MouseEvent]&visitorId=a625aeab-d753-41bc-bd93-a9830020e101?__utma=236318866.1681129442.1540344287.1540346383.1540359074.2&__utmb=236318866.1.10.1540359074&__utmc=236318866&__utmx=-&__utmz=236318866.1540346383.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)&__utmv=-&__utmk=142272497
Anyone know why JS would do this? Oddly enough the button that causes this strange new tab to open isn’t even a link itself. It just opens the next menu.
Thanks in advance for any help or suggestions! I’m really at a loss with this one.
The toolbar is built in vanilla JS. Except the button itself has some old jQuery dependent code that animates the button and shows the menu.

Joomla - Pop up only appears automatically when from a specific page

I have a question on which I cannot find an answer online.
I'm making a website where I want a pop up to appear only when the visitor comes from a certain page. So to be more specific:
When someone is directed to maakeencocktail.nl/Apple-Nojito from maakeencocktail.nl/cocktail-engine, they should be shown a pop up.
However, when people arrive on maakeencocktail.nl/Apple-Nojito from maakeencocktail.nl/cocktail-overview they should not see the pop up.
Is it possible to set these kind of conditions for pop ups?? I'm working with Joomla! 3.4.8, VirtueMart 3.0.12.
I have already tried these solutions, but they didn't work for me: How Do I Open a Pop Up Window over Destination URL?
Hope one of you gentle guys can help me out with this. I'm at a loss!
You should just check the referer in the popup module, and add a condition to display the popup only when the referer matches that of your choice.
We did develop a lightbox Joomla module - it's on our blog and can be downloaded for free. You can just modify it slightly to serve your needs.

Code Mirror only displays after a user clicks on it when integrated into a Bootstrap tab

I am having an issue with integrating Code Mirror into a Bootstrap tab.
The problem is that because the Bootstrap tab is not set to active, code mirror will only display the content if the user clicks on it.
I have thoroughly searched a solution for the problem but have not found anything that works (possibly due to my knowledge about JavaScript not being very good). I have tried things like telling codemirror to refresh, but it doesn't solve the problem.
Calling .refresh() on the editor is what is needed here. You just have to make sure you do it after the editor actually becomes visible. I am not sure how to do this with Bootstrap tabs, but I'm sure there is some way to listen to tab change events.

Why does my paypal minicart hide behind my navbar?

I have created a paypal button using the JavaScript code as stated here and have also used the paypal mini cart.
The cart works fine, but there is one problem. The cart hides behind my navbar when you scroll to the top of the page, when you are lower down, it works fine. I am using twitter bootstrap and a template. I'm not sure if its the bootstrap, or something I did with the buttons.
Thanks in advance,
Dan
my first guess would be to check your if your navbar has z-index, its actualy hard to tell without code sample

OpenERP Mobile Client page refresh issue

I have to do some customization work on OpenERP Mobile Client. The Problem is that it works on #tag Url's like
http://localhost:8069/web_mobile/static/src/web_mobile.html#oe_menu or
http://localhost:8069/web_mobile/static/src/web_mobile.html#oe_sec_menu_21
Problem is that one I am on any page and for any reason if i Refresh the contents never Loads again. it just gives me a blank page. If I copy the URL and Paste in a different Browser window then also nothing. I cant Find out whats the Problem In the Code or how it works. The Documentation of Mobile Client is too Poor.
I am banging my head here from last one week I need Help.
Yes, There is no specific mobile console for R&D purpose. So its core issue from mobile client.But other alternative is use Back button click event for navigate the page which is shown on top of page instead of browser back button.
You can used Home button as well as Back button for refreshing purpose.

Categories

Resources