E
E
Evgeny Khlusov2015-03-05 17:32:09
css
Evgeny Khlusov, 2015-03-05 17:32:09

How to implement the radio effect?

There is a layout, implementation is needed, I have already broken my head, I don’t understand how to make it beautiful.
It is necessary to drive along the strip with the radio, and when hovering, so that it becomes active. + the arrows below must also be working, it will be the same, changing the station.
Tell me how to solve or in which direction to look for a solution?
Thank you!
3cd072ddb84b40a5a17003eb2e686be3.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Azim Kurt, 2015-03-05
@Symphony

Put a drag drop carousel, when the slide in the middle is given class="active", color the active element through styles: that's the whole implementation. It is better, of course, to write it yourself in vanilla or jikvere, but you will not do this - give it to freelancing.

D
Dmitry Gavrilenko, 2015-03-05
@Maddox

Make a big player block. It contains a block with frequencies, which will obviously be larger than the "radio" block. In the block with frequencies, you can put a static block responsible for the cutoff, which shows what kind of wave it is at the moment. Next, it remains to make buttons or whatever you want there. Clicking on them will calculate how many pixels to shift the "frequency" block. And then it's JS to calculate the "real frequencies" and reproduce what is caught) Of
course, these are all abstractions. In practice, everything is different. As always....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question