Pregunta

is there a way to clone content (in this case, a nav). I want to duplicate a nav and then use that duplicated content for my responsive menu.

Bonus: is there a way to only run the "cloning" script at a certain breakpoint?

Thanks

¿Fue útil?

Solución

Refer jQuery Clone

It clones a given element. You can also pass optional parameter "true".

Otros consejos

Use media Queries CSS ,So u give class ABC for regular Desktop view,and give XYZ for responsive. XYZ will only work for small screen hiding Desktop view

Use link http://css-tricks.com/css-media-queries/

Just see this web site in Regular desktop view.And then make Browser screen small,You will see at the right side ,Menu becomes responsive ,using mediaQueries

http://wordpress.org/

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top