twitter bootstrap 3 - efficiency of duplicating content and hiding vs cloning via javascript. -


i using twitter bootstrap , have templated menu area shows in different areas depending on screen size.

which provide best browser efficiency? render menu area in 2 different areas , show/hide based on sizes or use javascript clone original menu area , place in page when breakpoints met?

it seem simpler create multiple multiple divs on original render , manipulate hide/show needed, looking other perspectives.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -