質問

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

役に立ちましたか?

解決

Refer jQuery Clone

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

他のヒント

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/

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top