문제

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