G
G
Gera112020-02-26 11:03:42
JavaScript
Gera11, 2020-02-26 11:03:42

How to redirect from port to main domain with folder?

Now the site works at site.ru:3001/#/erc20/
How to make it so that when you go to site.ru it automatically throws at: 3001/#/erc20/
BUT! at the same time, :3001/#/erc20/ itself was hidden
by type: - Do you see the gopher? No. And he is!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene Chefranov, 2019-07-05
@Chefranov

Make based on ul list

Y
Yuri Kolesnikov, 2019-07-06
@KolesnikovVue

Unfortunately, the standard select and options tags don't lend themselves to such flexible customization.
This can be done fairly easily with divs and Vue.js. I quickly sketched a variant:
https://codepen.io/kolesnikovcode/pen/jjvZyJ
Nothing complicated at all, you can do it without resorting to large frameworks, for example, using jQuery to hide or show a wrapper for the dropdown menu by clicking on the "choose a question" block ...", and the arrow on the side can be given or removed with a class in which transform is written: rotate(180deg);

V
Viktor Taran, 2020-02-26
@shambler81

it's called CNC
blog.ox2.ru/php/hpu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question