I would like to switch out the navigation set that is in colossus to the one from shadows. I am trying to find where the omega menu js is being called. I checked the Resource groups and see it listed in there but it isn't active and I don't see it in the 'combined js' section either. I am trying to switch out the omega js for the transfigure js. Is that the right way to switch out the navigation sets? How do I find the omega js to deactivate it so I can enable the transfigure js?
Announcement
Collapse
No announcement yet.
Switch Navigation Set
Collapse
X
-
In your theme.js file, search for this and change it to call the transfigure navigation:
Code:/** * Load and initialize the Omega Navigation extension */ $.loadScript(theme_path + 'extensions/navigation/omega/omega-navigation.js');
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
-
I made the switch in the theme.js file and add the css file to the combined Resource and everything previews correctly, but on the mobile version, nothing happens when I click on the mobile menu icon. Is there more javascript I am missing? No errors are being thrown in the Chrome Developer Console.
Comment
-
Can you post a link to the site?Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
-
Try changing the call to:
Code:$.loadScript(theme_path + 'extensions/navigation/transfigure-navigation.js', function () { $.hook('has-drop-down').transfigureNavigation(); });
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
-
I successfully have the transfigure navigation running on colossus. But I have noticed that when I rollover a top navigation item that has a dropdown, I have to double click to activate one of the links in the dropdown. I am not seeing any errors in chrome dev console. Is there some javascript that I may need to edit that was for the omega menu that was causing this functionality? I am unable to post the link as it is a password protected dev site so I posted an image.
double-click.jpg
Comment
-
I figured this out - I found this post: https://www.miva.com/forums/forum/de...-nav-bar-links
and implemented the fix from here: https://github.com/mivaecommerce/rea...dows/issues/55
and the issue seems to be resolved.
Comment
Comment