Slide Navigation menu with limited space - javascript

Hello I would like to seek advice on how to code to achieve this design (image 1) and navigate.
I have 5 navigation items but I have limited space and my goal is to show only 3 items at a time which is why I put arrow on left and right so when you click the respective arrow it will show the other menu while hide the other 2.
I'm using bootstrap and font awesome for arrows
Goal Design
Current

you can use owl Carousel and show 3 elements rest will be hidden and scroll when click. check the demo.
https://owlcarousel2.github.io/OwlCarousel2/demos/basic.html

Related

How to make a slideshow with multiple images in 1 slide

Hi i want to make a slideshow in my feature products section by adding arrows at the sides. I intend to make it so that when the user clicks on the arrow it shows the next 3 featured products.
How do I do that? I want the next slide to be the exact same as the first slide with 3 featured products. My featured products section i want arrows on the left and right
You can use slick carousel plugin : http://kenwheeler.github.io/slick/

Scrollable menu

I am coding with React and I am trying to make a horizontal scrollable menu at the top of my application. When I have scrolled and selected a tab, I want this to be animated such that it floats nicely to the middle of the visible menu. The current selected menu tab can be outside of the view (e.g. if I have scrolled horizontally far away from it).
So when I click Tab no. 4:
I want this to happen (that Tab no. 4 are smooth sliding to the center of the menu:
You can use some great plugins like this in order to achieve desired functionality

Decrease top menu so it does not stick out on carousel

I have made this website here: http://dijon-egg.com/Possum/
If you click on green big dot button, it takes you to page2. My problem is I can't figure and fix the menu being too big on page 2 or change view of carousel on page 2 so full carousel can show to us.
As I looked at your source code, I guess you should somehow add the .cbp-af-header-shrink class back to the header, when you click the green button.

Hide & Show Right Sidebar

So, I'm trying to create a javascript or query to hide a right sidebar div. Proving to be a lot harder than I anticipated but I'm close.
I've created a hide/show right sidebar that slides out when clicked and then slides back to full width when the button is clicked again.
Problem:
When clicked "Hide":
Sidebar slide out to be 'width:10px;' and the content to be margin-right:10px;
When clicked "SHow":
Sidebar slide in to be 'width:200px;' and the content to slide back to 'margin-right:200px;
I've created a JS Fiddle to show:
http://jsfiddle.net/6uVvF/
I am trying to accomplish an animated version of face books right sidebar.
Here's also another example: http://www.sidlee.com/
Thanks.
So I was able to create a sliding and fading effect on the sidebar.
It allows me to hide a sidebar. I am having the Javascript animate each item to 0 though. But it works well.
See the working version here:
http://jsfiddle.net/glepage/6uVvF/

Create a custom collapse panel - Extjs 4.0a2

ok here is an easy one.
I need to create a simple custom panel that will have a collapse functionality.
The thing is I need to control over the collapse button position, and I need to control the collapsed mode UI (that is I want the panel to show somethings in collapsed mode and not just the title.
for example :
I want to create a search panel that will be nested in a viewport above a the pages of the application. each page will have access to the search panel title and its advance search form which is collapsible. in a collapse mode only a simple search and the title are visible.
here is an image before the collapse: (once clicking the circled arrow the panel will expand to show the advance search)
here is an image after the collapse:
how would you go about to implement such functionality?
I would use two panels in a vbox layout, the top one contains the basic search, and the bottom one contains the advanced search.
In the top panel I would just add an image of a down arrow and handle the onclick event to toggle the bottom panel.

Categories

Resources