M
M
mrzgt2015-11-09 23:40:39
PHP
mrzgt, 2015-11-09 23:40:39

Do you think the menu will slow down the system?

There is a menu with the output of categories and subcategories through php, with a resolution of less than 768px, you need a menu of a different kind to appear, I, with the required permissions, made the menu hidden using display: none;
Such a question, will this menu, although hidden, be executed twice and thereby slow down the system?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kuznetsov, 2015-11-09
@dima9595

Do it through CSS (you can with JS) and everything will be fine!

D
Dima Pautov, 2015-11-09
@bootd

And what about php? No, it shouldn't! Unless you have tens of hundreds of elements!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question