Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a webpage in which I need to realize something that looks like the following sketch:
As you can see, there are basically two sections:
a side-block (preferably) on the right that serves as image-thumbnails scroller;
a contents-block on the left (in my draw) in which there are text parts and an image that is selected from the right side-scroller.
Side scrolling may be achieved by a browser sidebar or (very much preferably better) by apposite up/down buttons.
When clicking on a different image on the side-scroller that image get shown in place of the previous one.
Last thing, clicking the image selected shall make it show in full-size (not larger than browser window anyway) with a lightbox-like-effect.
Anyone know of a jQuery plugin that already provide all this?
Thank you very much.
Swiper (http://www.idangero.us/swiper/demos/) should help you with this, it covers most (if not all with a bit of a creative layout on your part) of the things you're looking for. It's got some very thorough documentation, for the light box behaviour you're looking for - I'd use one of the baked-in methods to create your own event handler.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have tried googling this with many combinations of words but the results returned were always about creating a website.
What I want to do is, when a user opens the web page, he will get a little introduction, something like in codility, for example you can click on this button to do something and at the same time highlight the button. How is that done? I am not looking for ready made code, just some instructions to point me in the right direction, or a tutorial on how to do that.
EDIT:
I would have deleted this question if I thought it does not conform to the rules of the website. I don't think it is off topic because it can happen to anyone to not know a specific word, which is tour not tutorial. I am leaving it here so that the next person who searches for this knows that the word is tour not tutorial.
Sorry for the inconvenience.
The keyword you're looking for is tour or features introduction.
A quick Google search came up with:
Angular-tour
Angular-ui-tour
NZTour
You can create a function (JavaScript/JQuery) that targets the elements you want to highlight (buttons, divs or inputs) and displays a small tooltip/infotip containing instructions and navigation buttons, clicking a button pops up an other tooltip in a different location.
If you're using angular, you can use "website tour" directives/modules that does that out of the box.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I need to create something like that
What I understand is that no matter the window size, the background is resized to fit perfectly and once I scroll down the nav bar becomes visible and sticks to the top.
I believe I am going to need javascript (?) and obviously HTML and CSS.
Any tips, even to what to search will be greately appreciated.
Just google something like 'sticky navigation'. Here's the codepen I found (using jquery) and edited:
https://codepen.io/anon/pen/NABAxd.
The idea is very simple: you attach a handler to scroll event to check if user has scrolled down a certain amount. Based on that you apply or remove position:fixed to element. And you can find the amount of pixels scrolled from top via window.pageYOffset.
EDIT:
You can set height: 100vh to first section to cover whole browser window. I have edited the codepen.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there anyone who knows if there is a better alternative for the filmroll js library: http://straydogstudio.github.io/film_roll/ ? I use it because it's almost exactly what I'm looking for: It centers the active image in the middle of the screen and it works great with responsive designs.
The reason I'm looking for an alternative is because it contains a few bugs, which I discovered after one hour usage already:
It removes the cover from the beginning or end of the slider before it rotates. It would be better to first duplicate the image, so It won't display a white gap at the end of the slider while rotating. Anyways, I used a dirty fix by just loading the covers multiple times so it contains more images than what fits on the screen.
Every div contains a hardcoded width, which changes so now and then, because I use a bigger size for the active image. The problem is it doesn't always recover the width correctly of the parent div, so it will show white gaps between the images.
With touchSwipe enabled it is very very buggy.
I can't duplicate the slider multiple times with the same classname.
It truly is a great concept, only those bugs are quite bothering me. So before I start making adaptions, I'm just curious: Does anyone know a library which does exactly the same? Or almost the same.
You can try Iscroll as an alternative
http://cubiq.org/iscroll-5
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I googled, and I can't find any solutions, but i have certainly see implementation of something like this somewhere before.
So basically I have a large spread sheet - like table, generated by the user. It will be very likely that the content will extent past the viewport both horizontally and vertically, so scrolling is needed.
However, I'm trying to find a "prettier" way for the user to scroll (horizontal and vertical scrollbars just don't look nice). So I was thinking of some arrows like the following (see attached). However, I looked around and can't see any example of anyone doing something like this.
So here are my questions:
Can someone tell me if there's any technical reasons I shouldn't replace the browser scrollbar with "scroll buttons"?
Can it be done easily with javascript or are there any (preferably angularjs) plugins that can imitate this behaviour?
I have no idea why you are being downvoted. Also, this is not a UX question.
I think what you are looking for is "scrolling without scrollbar". You can Google this. You will get many results that answer this.
One of the closest answers (and popular ones) I came across is this one right here on stackoverflow.
In this case, it involves scrolling using the keyboard keys or the mouse wheel.
In your case, you will have to carry out something similar. Just that instead of binding to the keyboard keys or the mouse wheel up / down event, you need to create your buttons at the left / right side of the screen and up / down part of the screen. Bind the click event to this button and proceed as shown in the answer linked above.
But note that since you are displaying tables, it will get complicated. You will have to move each row / column of the table depending on where the user clicks. Should be achievable using jQuery or similar javascript library though.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have used quite a few jquery sliders like bxslider, wooslider etc. but they all slide images. is there any particular slider that can slide a div that contains some contents? if so, please give me some examples. and, what will happen if i try a div instead of an image with wooslider/bxslider?
In the past I have really only used Bootstrap libraries to do this. The template can be customized to how you want it, and it includes different ways to present text onto of every slide. If you want header tags, paragraphs or even a list. Controls can be changed, the Bootstrap controls that comes with Bootstrap aren't the best, they are kinda the basics. I recommend using Font Awesome and customizing the controls yourself. However you can not have the same text that is fixed when the slider is moving in the background. You must create a div outside the slider div.
http://getbootstrap.com/javascript/#carousel
Best example is on the mophie battery (mophie.com) website, using Bootstrap