Domanda

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

È stato utile?

Soluzione

Refer jQuery Clone

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

Altri suggerimenti

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/

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top