Mega Menu and tabs with jquery - javascript

I need to create a mega menu similar to something used for this website.
this image may give more idea about what i am trying to achieve.
So far i am not able to find anything similar to the one used on website.
I came across jQuery Tools website with nice tabs. I am trying to integrate this my menu so that i can get an impression of mega menus.
So far i am not sure how i can integrate it will my navigation and make it look somthing similar to what is show in the image above.
I tried to make changes to css so that description div will show up next to sub menu but it is not coming up right.
Help in this regard is appreciated.
MY CODE of jsFiddle
I would appreciate help in this reading.

Related

Bootstrap 3 carousel buttons on top right

I found this article Bootstrap 3 Carousel with buttons which contains the link to https://www.codeply.com/go/bp/113737.
Which is almost, and i would say exactly that im trying to do with my custom carousel.
Im trying to make a carousel which has the button on top right,
something like this
https://imgur.com/a/rBCF9kh
So as you can see there are three buttons Lumpia Longanisa and Tocino
So when the second button is clicked, Longanisa, it will toggle with new image, the same goes for Tocino and so forth, just like a normal carousel.
I'm quite new to bootstrap, and im having a hard time applying the same scenario on the post i found which seems to use an older version of bootstrap.
So if someone could lend a hand please, i would appreciate it and like how to apply the javascript or where to in case.
Or if not bootstrap carousel, maybe a different slider approach can be helpful as well.
Thank you in advance for guiding me.
I tried the one with this post Bootstrap 3 Carousel with buttons using this guide https://www.codeply.com/go/bp/113737 but im not sure if its working with the current version of bootstrap, or if im inputting the correct $('#myCarousel').carousel(); somewhere

Hidden nav bar on mobile

I'd like to have a navigation menu for an education website similar in structure to the one found here.
Take note of the left-hand navigation menu header and list items. In desktop view, all nav items appear, but in mobile view, only the header is visible (and you have to click the + icon to have the nav menu items appear)
Looking at the elements it appears there's some javascript working in the background that switches the CSS class names when the site goes to mobile view.
I've been trying to recreate something similar to no avail...
Could someone please take a stab at it using a simple structure like this using JSFiddle?
Nav Title (on click, Nav Menu Items 1-3 appears/disappears below)
Menu Link 1
Menu Link 2
Menu Link 3
I'd really appreciate it! Thank you!
there are already existing bootstrap templates and plugin that meet your requirement. Also you can leverage android material design guide line & sample templates.
https://getmdl.io/
(Edit: Copied from OP's comments:)
... is the design guideline from google for making web-apps. The idea is to make consistent looking as native possible. the site includes components like icons, widgets, navbar etc. Also contains sample templates that can be clone or download from git.
http://getbootstrap.com/
Bootstrap on the other hand have same features but its more targeted mobile first design approach.
Again if you want both you can check out materializecss.com

mobile swipe navigation examples

Recently I am creating a page with a small menu in the content, just to switch between different content topics. Nearly similar to a small slideshow, just with a simple line navigation above the content with the different topics.
So I am just looking through the web to find some alternative ideas for the typicall hamburger icon for the mobile version, since I am using it already for the main navigation.
I found this:
'http://codepen.io/fbrz/pen/bNdMwZ'
I dont want to use the pull-down function, but I love how the different menuitems appear and come from outside the content area in focus.
So I had the Idea of maybe just using the swipe menu-items, without the pull down function.
So my question is, did anybody of you have found or even created a similar navigation somewhere, and if yes where? I would love to find some more options/ideas?
Thanks as always for your input!
I think this could be something useful for you
Scroll Overflow Menu

How can I scroll multiple DIVs in a slide-bar using jQuery?

I am a beginner at jQuery and I have been trying to place more than one div in one slide bar. Basically, I am working on auction site and I want a DIV which displays more than one item in same div with “Next” and “Previous” button arrows.
For example:
When you visit an auction site, one slide-bar should appear containing more than one item (multiple DIVs). The slide-bar should have a text that appears, saying “newly arrived item or recommended for you etc.”
Here's a screenshot of what I mean:
Is there any way to achieve this using jQuery? I have just recently started working with jQuery and I am stuck. Any help is much appreciated.
Assuming that “building your own” isn't an option for you, you could take a look at jQuery plugins like Smooth DIV Scroll, or any alike plugin that scrolls content horizontally left or right.
Generally, one of the nice places to find a multitude of jQuery plugins would be (for example) the jquery-plugins.net website. There you'll find usable plugins for what you're trying to do. Just one of many available there that also does what you're looking for: Any List Scroller – jQuery Plugin To Scroll Lists.
As said, there's more than a dozen alike plugins scattered all over the internet. All you need to do is to deciding which one fits your individual site best. In case of doubt, fire up your favorite search engine and look for “jquery div scroller”.

Does anyone know of a pulldown menu plugin in javascript?

Does anyone know of a pulldown menu plugin in javascript?
First, before you say: Just use the select tag, that is not what I am looking for. I am looking for a plugin that forces the user to physically drag down a menu (similarly to the top bar of an android/ios5 device). And should the user release the menu before it's half way down, the menu should return to normal state.
Second, I am aware I could write one using jQuery drag, and that is what I will end up doing if I don't find a plugin... just thought I would ask before writing
Thanks,
So... nothing...
Good to know! Here is my code: http://jsfiddle.net/JXeWA/46/

Categories